Press enter to see results or esc to cancel.

Abraham Garcia Abraham Garcia in Javascript/jQuery   Tuesday, December 19 2017

Conversion Tracking from Analytics.js to Gtag.js - Migration Help

A short tutorial on how to track goals and events with Gtag.js. How to switch from analytics.js to gtag.js

This is a short tutorial on structure of the new gtag to integrate with goal tracking with Google Analytics.  Before OnClick Events could be tracked like this with Analytics.js <a onclick="ga('send', 'event', 'btn', 'press', 'call')"

Continue reading
Abraham Garcia Abraham Garcia in Fun Stuff   Thursday, December 14 2017

How to Setup an iPhone or Android with Twilio SIM Wireless

This is a tutorial on how to setup you iPhone/Android with the Twilio Programmable Wireless Beta.

This is a tutorial on how to setup you iPhone/Android with the Twilio Programmable Wireless Beta. This is cool for having an extra line or for you SIM tablet.  How to send a text message from a phone that has a Programmable Wireless SIM

Continue reading
Getting Started with Android Cordova Development
Abraham Garcia Abraham Garcia in Application Development   Wednesday, November 29 2017

Getting Started with Android Cordova Development

A short list of functions needed to get started with Cordova Android Development. Simple Deployment Functions.

1. First we need to install Cordova either on OS X, Linus, or Windows OS X or Linus $ sudo npm install -g cordova Windows C:\>npm install -g cordova   2. How to create your First App. Go to the directory where you maintain your

Continue reading
Project Management for GitHub
Abraham Garcia Abraham Garcia in Fun Stuff   Saturday, November 11 2017

Project Management for GitHub

issue.sh is the only project management tool that integrates natively within GitHub's user interface with fine grained permissions.

Issue.sh is a project management tool within GitHub that has no access to your code.  Organize Your Projects Know Your Projects Fine Grain Permissions Go beyond syncing your issues issue.sh is the only project management tool that

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Friday, November 10 2017

How to Send Push Notification Via CURL PHP PushWoosh

Send Push Notification via PHP cURL API. A simple API call to create message pushwoosh.

This is a code snippet to send a message via PHP cURL through the PushWoosh API.  define('PW_AUTH', 'TOKEN'); define('PW_APPLICATION', 'APP_ID'); define('PW_DEBUG', false); function pwCall($method, $data) { $url =

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Wednesday, November 8 2017

How to Download Multiple S3 File and Zip them together

This is a simple tutorial on how to get AWS S3 object and zip them together.

This snippet will allow you to download multiple S3 files and Zip them together for an easy one download file.  $files_to_zip = array(); $files = array('aws_file_key1.pdf', 'aws_file_key2.pdf', 'aws_file_key3.pdf'); foreach ($files as $f) {

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Monday, November 6 2017

Delete Files Older than 7 Days Via Cron PHP Job

A tutorial on how to delete files from a specific folder that are older than 7 days via a CRON Job. This is in PHP Language.

This will show you how to delete files from a certain folder that are older than 7 days.  $files = glob("folder/*"); if($files){ $now = time(); foreach ($files as $file) { if (is_file($file)) { if ($now -

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Monday, October 16 2017

Presigned URL for AWS S3 Object with PHP

This is a tutorial on how to generate a presigned url for Amazon AWS S3 Object with PHP.

This is a short tutorial on how to create a presigned url for an amazon S3 object. require('./aws/aws-autoloader.php'); use Aws\S3\S3Client; $bucket = 'mybucketname'; $s3 = S3Client::factory(array( 'region' => 'us-west-2',

Continue reading
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