Skip to content

Instantly share code, notes, and snippets.

View gzapico's full-sized avatar
I may be slow to respond.

Gustavo Zapico gzapico

I may be slow to respond.
View GitHub Profile
gzapico /
Last active December 20, 2022 22:58 — forked from paulness/
Ubuntu post installation script for installing software of your choice
curl_check ()
echo "Checking for curl..."
if command -v curl > /dev/null; then
echo "Detected curl..."
echo "Installing curl..."
apt-get install -q -y curl
gzapico / twitter_cleaner.rb
Last active October 31, 2019 09:30
#!/usr/bin/env ruby
require 'rubygems'
require 'twitter'
require 'json'
require 'faraday'
# things you must configure
PATH_TO_DROPBOX = "/Users/your_name/Dropbox/backup/tweets/" # you need to create this folder
TWITTER_USER = "your_twitter_username"
gzapico /
Last active March 3, 2018 12:23
gzapico /
Created June 21, 2017 16:18
MySQL bash script for backups
FILE=${DATABASE}-`date +"%Y%m%d"`
unalias rm 2> /dev/null
rm ${FILE} 2> /dev/null
rm ${FILE}.gz 2> /dev/null
gzapico /
Created June 1, 2017 09:46

Keybase proof

I hereby claim:

  • I am gzapico on github.
  • I am gzapico ( on keybase.
  • I have a public key whose fingerprint is B823 F95A 297B AC35 5F09 3704 D842 E750 1678 71D9

To claim this, I am signing this object: