Skip to content

Instantly share code, notes, and snippets.

View funkytaco's full-sized avatar

Luis Gonzalez funkytaco

View GitHub Profile
@erikroyall
erikroyall / backup.sh
Created April 15, 2015 13:40
Ubuntu Back Up Script
dpkg --get-selections > ~/Package.list
sudo cp -R /etc/apt/sources.list* ~/
sudo apt-key exportall > ~/Repo.keys
rsync --progress /home/`whoami` /path/to/user/profile/backup/here
@dbernar1
dbernar1 / gist:1569735
Created January 6, 2012 08:38
My Best Gist Yet (a php-rspec proof of concept)
it should blah blah
$someshit = new Shit();
$someshit.shit.should be_new
end
@sadaco
sadaco / gist:1601914
Created January 12, 2012 17:31
Google Code LESS.js
<script src="http://lesscss.googlecode.com/files/less-1.2.0.min.js"></script>
@sadaco
sadaco / gist:1620813
Created January 16, 2012 13:16
Include less.js with your styles:
<link rel="stylesheet/less" type="text/css" href="style.less">
<script src="less-1.2.0.min.js" type="text/javascript"></script>
@dholbrook
dholbrook / vagrant_postinstall.sh
Created March 24, 2012 05:27
vagrant centos 5.8 post install
####################
# centos 5.8
# post installation
# adapted from
# https://github.com/jedi4ever/veewee/tree/master/templates/CentOS-5.7-i386-netboot
####################
yum -y install sudo
/usr/sbin/groupadd vagrant
@gbsallery
gbsallery / gist:3772907
Created September 23, 2012 20:13
Accelerometer
// Color Blink code example for Hannah
// IO Expander Class for SX1509
class IoExpander
{
i2cPort = null;
i2cAddress = null;
constructor(port, address)
{
<html>
<head>
<title>photobooth</title>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<body>
<div class="container">
<div class="row-fluid">
<span>Step 1</span>
<img src='http://placehold.it/125x125&text=lomo' onClick='setFilter("lomo")'>
@everzet
everzet / rspec_in.php
Created May 19, 2011 21:13
Why RSpec is not possible in PHP
<?php
/*
Why i think, that "RSpec is not possible in PHP"?
Cuz Ruby's syntax abilities can represent
natural language constructions:
object should equals 2
@aaronjudd
aaronjudd / Dockerfile
Created September 18, 2014 16:21
Meteor Dockerfile with imagemagick and phantomjs
############################################################
# Builds a Meteor 0.9.x+ application Docker image
#
# See: http://docs.docker.io/
#
# Important: Best to run from a clean directory that hasn't had meteor run in it.
# Important: packages/<pkg>/.npm and .build* should not exist
#
# Example usage:
# cd appdir #in app dir
@CS1000
CS1000 / JamExchange.js
Last active July 17, 2017 12:50
JamExchange Room @so Live Radio like Player with "User Requests" (YouTube only, UserScript)
// ==UserScript==
// @name JamExchange Player
// @namespace jamexchange
// @description JamExchange Room @SO Live Radio like Player with "User Requests" (YoutTube only)
// @include http://chat.stackoverflow.com/rooms/39426/*
// @version 1.1.0
// @grant none
// ==/UserScript==
/*