Skip to content

Instantly share code, notes, and snippets.

View juandazapata's full-sized avatar

Juanda juandazapata

View GitHub Profile
@juandazapata
juandazapata / .gitignore
Created May 8, 2012 23:30
Basic Gemfile for new projects
/.bundle
/db/*.sqlite3
/log/*.log
/tmp
/public/uploads
/.sass-cache
coverage/
.rvmrc
/public/assets/*.png
/public/assets/*.jpg
@juandazapata
juandazapata / hack.sh
Created March 31, 2012 23:51 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@juandazapata
juandazapata / gist:1277133
Created October 11, 2011 02:34 — forked from javan/gist:1168475
Fix iPhone home button
Found this tip in comment here: http://www.tipb.com/2011/01/04/tipb-bug-home-button-working-iphone/
1.) Open any application
2.) Press and hold the power button until the slide to shutdown swipe bar appears.
3.) Release Power button
4.) Press and hold Home button Lightly
until screen returns to icon screen
@juandazapata
juandazapata / send2.php
Created July 29, 2011 01:51
AS2 upload
<?php
// array with filenames to be sent as attachment
$files = array("attachments_emails/foto1.jpg","attachments_emails/foto2.jpg","attachments_emails/foto3.jpg");
if(isset($_POST["nombre"]) && isset($_POST["telefono"]) && isset($_POST["email"]) && isset($_POST["url_fotos"]) && isset($_POST["direccion"]) && isset($_POST["barrio"]) && isset($_POST["ciudad"]) && isset($_POST["rut"]) && isset($_POST["eps"]) && isset($_POST["arp"])):
$fecha = date("d-M-y H:i");
$to = "[email protected]";
$subject = "Alguien desea trabajar en Once Group";
$nombre= $_POST["nombre"];
@juandazapata
juandazapata / toolbar.md
Created June 7, 2011 23:27
[Toolbar] - Servicio de monitoreo de Visitas