Press enter to see results or esc to cancel.

Abraham Garcia Abraham Garcia in Application Development   Friday, October 13 2017

Cordova Allow Audio to Play in Background and in Silent Switch

This plugin is useful when your phone switch is on silent and you want app music to play on silent. This also lets music play in the background. This is a Cordova Plugin.

This plugin is very usefull when you want to play HTML5 Audio Tracks in Background and super easy to use. It also bypass the silent mode on iOS.  Plugin Source: https://github.com/katzer/cordova-plugin-background-mode   

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Thursday, October 5 2017

How to get POST Variables from Multiple Checkbox Values

A short example on how to get the values of multiple checkbox in a form.

In order to get multiple post variables from checkboxes in your form. You can use the following login in your forms.  <form action="test.php" method="post"> <input type="checkbox" name="check_list[]" value="value 1"> <input

Continue reading
Abraham Garcia Abraham Garcia in Javascript/jQuery   Wednesday, September 27 2017

How to Pass Variables on Framework7

A short tutorial on how to pass variables for Framework7 with JavaScript.

ParseURLQuery is a very useful function for Framework7. Useful for loading dynamic pages in Framework7. var query = $$.parseUrlQuery(window.location.href); if(query.type == 'test'){ console.log(query.type); }

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Tuesday, September 12 2017

Upload a File to AWS S3 Bucket with PHP SDK

This is a sample PHP script on how to upload a file to AWS S3 using PHP SDK

This is a sample script on how to upload a file via the PHP AWS SDK.  require('./aws/aws-autoloader.php'); use Aws\S3\S3Client; $bucket = 'mybucketname'; $s3 = S3Client::factory(array( 'region' => 'us-west-2', 'version'

Continue reading
Abraham Garcia Abraham Garcia in Application Development   Tuesday, September 12 2017

How to do a Full Screen Video Like Spotify with Cordova iOS

This is a short tutorial on how to do a Splash Full Screen HTML5 video like Spotify on Cordova iOS.

First me must change a feature in config.xml in the Cordova Project. <preference name="AllowInlineMediaPlayback" value="true" /> This is the HTML Mark Up for the Full Screen Video <video id="splash-video" preload="auto" autoplay

Continue reading
Abraham Garcia Abraham Garcia in Javascript/jQuery   Monday, September 11 2017

jQuery Validation Without Form Submit

Short tutorial on how to submit a form without the submit button. This is using the valid function within the jquery validate plugin

This is an example on how to submit a form without actually clicking on the submit form. Useful in many applications. This is using the jQuery Validation Plugin. $(document).ready(function() { $("#test").validate({ // initialize plugin on the

Continue reading
Abraham Garcia Abraham Garcia in Javascript/jQuery   Wednesday, August 23 2017

jQuery Validate Plugin Border Validation Color

A short tutorial on how to validate a form with border color instead of messages. Simple and Easy.

This is a short example on how to create border colors for validation with the jQuery Validation Plugin.  jQuery $(document).ready(function () { $('#myform').validate({ // initialize the plugin // your rules and options,

Continue reading
Build Desktop Apps with HTML, CSS, and JavaScript
Abraham Garcia Abraham Garcia in Application Development   Wednesday, August 16 2017

Build Desktop Apps with HTML, CSS, and JavaScript

A Tool Similar to Cordova to Build Desktop Apps across platforms. Used by top companies such as GitHub and Slack.

Electron is a tool used to built cross platform apps with web technologies like: HTML, CSS, and JavaScript. So if you can have built a website you can basically built a desktop app.  Some of the Top Apps are Developed with Electron: Atom

Continue reading
GoDaddy SmartLine - Add a Second Line to Your Phone
Abraham Garcia Abraham Garcia in Fun Stuff   Tuesday, August 15 2017

GoDaddy SmartLine - Add a Second Line to Your Phone

SmartLine is a Second Line for Your Phone. Great tool for Small Business that do not want to use their personal line. This is a GoDaddy Product.

Today GoDaddy announced their SmartLine a second phone line for your Small Business. This is a interesting product since GoDaddy manages a lot of small business due to their domain, hosting, and other digital services they offer. There is an Android

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Wednesday, August 2 2017

PHP Function to Get Client IP Address

A small function to retrieve the ip address of the user. This uses the PHP Server Method.

This is a function on how to retrieve users ip address. Use this for you projects. function get_client_ip() { $ipaddress = ''; if (isset($_SERVER['HTTP_CLIENT_IP'])) $ipaddress = $_SERVER['HTTP_CLIENT_IP']; else

Continue reading