Press enter to see results or esc to cancel.

Abraham Garcia Abraham Garcia in PHP Scripts   Friday, July 17 2015

Create a TInyURL with PHP

How to create a TinyURL with PHP. This is a script created by David Walsh.

Use the following php script to create a TinyURL. This script was created by David Walsh we love this script we use it all the time. //gets the data from a URL function get_tiny_url($url) { $ch = curl_init(); $timeout = 5;

Continue reading
Generate your Instagram Slideshow
Abraham Garcia Abraham Garcia in Fun Stuff   Monday, July 6 2015

Generate your Instagram Slideshow

Generate your instagram slideshows for your events. Great for wedding, live music, and any type of events.

A nice Instagram Live Event Slideshow. Use this for your special events like: Weddings, Live Events, Concerts, and Any Kind of Event.  GENERATE YOUR SLIDESHOW FOR FREE

Continue reading
How to Get YouTube Video Image Thumbnails
Abraham Garcia Abraham Garcia in PHP Scripts   Thursday, April 23 2015

How to Get YouTube Video Image Thumbnails

How to get your youtube video image thumbs. Use this in your project when you need the image thumb generated by Youtube in your projects.

In order to get the video thumbnails that YouTube generates we can use the following links.  http://img.youtube.com/vi/<insert-youtube-video-id-here>/0.jpg http://img.youtube.com/vi/<insert-youtube-video-id-here>/1.jpg

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Tuesday, April 21 2015

Limit String Characters Without Cutting Them in PHP

This function is an alternative to substr. The function substr can cut your words in half so this function works great in order to prevent cutting words in half.

I have always user substr, but it become annoying when it cuts strings or words in the middle. I used to use substr for small blog description before getting to the full blog post. This function has saved me. This does not cut your string in

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Sunday, April 19 2015

Joins for you MySQL Queries in your Projects

Mysql Joins for your projects. I always forget the syntax of mysql joins so i go to this bookmark page to remind me. Hopefully this helps other people.

This is a collection of joins that you can use in your database projects. Bookmark this page and you can save some time in join syntax or just memorize it. Also i have left a link for a MySQL cheat sheet that i use all the time. I have this in my

Continue reading
Abraham Garcia Abraham Garcia in Javascript/jQuery   Sunday, April 19 2015

jQuery detect click amount

How to detect the amounts of clicks you do on an element. This is helpful on changing an element on amounts of clicks.

This function i used it in one of my projects to add a class when i clicked it and then removed the class when i clicked it twice. So this can be used in your projects lets say you want to turn the element red when you click it one and then turn it

Continue reading
The Best Carousel Out There for Developers
Abraham Garcia Abraham Garcia in Javascript/jQuery   Saturday, April 18 2015

The Best Carousel Out There for Developers

This is one of the best carousel for developers because of its flexibility. Start using Owl Carousel in your projects.

I have always had problems finding a nice carousel. Do not get me wrong there is alot of carousels out there, but i always run into the problem with responsive websites. Some carousels are just not flexible, but Owl Carousel is one of the best

Continue reading
Abraham Garcia Abraham Garcia in Javascript/jQuery   Tuesday, December 16 2014

Twitter Integration in Your Website

Learn how to integrate twitter feed within your website via the twitter API. This is done via jQuery.

In order to use the twitter API you must create a developer profile and an Application. 1. Create you Develoloper account and an App - https://apps.twitter.com/  2. You will need to retrieve Consumer API, Consumer Secret, Access Token,

Continue reading
Javascript Mobile Check
Eduardo Hernandez Eduardo Hernandez in Javascript/jQuery   Sunday, December 14 2014

Javascript Mobile Check

Check if the browser being used is mobile device.

This is a javascript snippet that checks if the browser being used is on a mobile phone. This does not include tablets. var phone = { getUserAgent: function() { return navigator.userAgent; }, isAndroid: function() {

Continue reading
Abraham Garcia Abraham Garcia in HTML/CSS Scripts   Sunday, November 30 2014

How to Share on Facebook and Twitter

Sharing on Facebook and Twitter with sharer.php is a tool all developers should know. Since most of our clients are going social this is something you should learn.

As the world becomes more social developers are required to know how to share links on Facebook, twitter, and other social networks. I have written this to show developers how to share links on their website with the Facebook and twitter sharer.

Continue reading