Skip to content

Instantly share code, notes, and snippets.

View gesteves's full-sized avatar

Guillermo Esteves gesteves

View GitHub Profile
@gesteves
gesteves / SassMeister-input.scss
Created February 21, 2014 15:21
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.4)
// Compass (v1.0.0.alpha.18)
// ----
$color-apple : #55ABC9;
$color-android : #8EC241;
$color-apps : #EC843F;
$color-blackberry : #8543B0;
$color-book-club : #214616;
@gesteves
gesteves / SassMeister-input.scss
Created January 27, 2014 21:23
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.2)
// Compass (v1.0.0.alpha.17)
// ----
@import 'compass';
// Magic parallax mixins
$parallax-perspective : 1 !default;
@gesteves
gesteves / SassMeister-input.scss
Created October 31, 2013 21:55
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.10)
// ----
$color: blue;
body {
color: lighten($color, 20%);
}
[2013-01-17 16:27:11] ./installer -a /Users/gesteves/.rvm/rubies/ree-1.8.7-2012.02 --no-tcmalloc --dont-install-useful-gems --no-dev-docs
current path: /Users/gesteves/.rvm/src/ree-1.8.7-2012.02
command(6): ./installer -a /Users/gesteves/.rvm/rubies/ree-1.8.7-2012.02 --no-tcmalloc --dont-install-useful-gems --no-dev-docs
Welcome to the Ruby Enterprise Edition installer
This installer will help you install Ruby Enterprise Edition 1.8.7-2012.02.
Don't worry, none of your system files will be touched if you don't want them
to, so there is no risk that things will screw up.
You can expect this from the installation process:
$('p').each(function () {
var _this = $(this);
if (_this.css('font-family') == "Comic Sans") {
_this.css('font-family', 'Helvetica');
}
});
.mobile-layout .mann {
margin-bottom:20px;
-webkit-box-shadow:none;
-moz-box-shadow:none;
box-shadow:none;
}
.mobile-layout .mann h2 {
background:none;
padding:20px;
}
@gesteves
gesteves / gist:1051628
Created June 28, 2011 17:13
Google Apps script to export Google Talk chat logs to a Google Docs spreadsheet
/*
Quick instructions:
1. Go to Google Docs and open a new spreadsheet.
2. Go to Tools > Script editor...
3. Delete everything, paste this code in the script editor, and save it.
4. Go back to the spreadsheet, Tools > Script manager...
5. Select getChats, and press the "run" button.
6. It'll ask for a bunch of authorizations. Grant them.
7. When it says "now you can run the script", repeat step 5.
@gesteves
gesteves / Tweleccion views.py
Created October 17, 2010 23:43
View code for tweleccion.com
from django.shortcuts import render_to_response
from django import http
from django.http import HttpResponse
from django.template.loader import get_template
from django.template import Context
from django.template import Template
from google.appengine.api import memcache
from google.appengine.api import urlfetch
from xml.dom import minidom
from models import *
{block:Text}
<div class="regular">
{block:Title}<h2><a href="{Permalink}" class="entry-title" rel="bookmark">{Title}</a></h2>{/block:Title}
<script type="text/javascript">
var tweet_text = {JSPlaintextBody};
{block:Title}
var tweet_text = {JSPlaintextTitle};
{/block:Title}
</script>
<div class="content">
javascript:if((location.href.search(/twitter.com/)!=-1)&&(location.href.search(/status/)!=-1)){
u=location.href.split('/');location.href='http://favrd.textism.com/tweet/'+u[5];}else{alert(%22This%20isn't%20a%20tweet!%22);}