Skip to content

Instantly share code, notes, and snippets.

View agarzola's full-sized avatar
:shipit:
Ship the shipping shippers.

Alfonso Gómez-Arzola agarzola

:shipit:
Ship the shipping shippers.
View GitHub Profile
##96-well plate
%table#ninetysixwell.plate
%tr
%th
- (1..12).each do |num|
%th= num
- ('A'..'H').each do |letter|
%tr
%th
@agarzola
agarzola / keybase.md
Created November 7, 2015 01:41
keybase.md

Keybase proof

I hereby claim:

  • I am agarzola on github.
  • I am alfonso (https://keybase.io/alfonso) on keybase.
  • I have a public key whose fingerprint is F7FD 7F5D 4381 CB39 0F26 54FE E052 A76E 977B 9D04

To claim this, I am signing this object:

@agarzola
agarzola / less2stylus.js
Last active November 30, 2015 17:07 — forked from cvan/less2stylus.js
// Usage : less2stylusDir('../src/css/');
var fs = require('fs');
// this less 2 stylus conversion script make a stylus easy to read syntax
// - let the braces
// - replace the @ for var as $
// - let semicolons
function less2stylus(less)

Contract Killer 3

Revised date: 07/11/2012

Between us [company name] and you [customer name]

Summary:

We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

Mi nene paseó conmigo sin correa por 11 años. Yo sabía que era un riesgo que me tomaba, y la idea de que algún día me saliera el tiro por la culata de vez en cuando me atormentaba…

Pero, ¡cómo negarnos el placer de esa colaboración/negociación diaria! ¡Dos veces al dia!… Una colaboración bendecida por las diosas, sin duda alguna.

Qué honor poder caminar esos 11 años contigo, Monti. Qué bien caminábamos. ¡Qué mucho gozamos, bebesito!!!

Gracias por tanto amoL…

@agarzola
agarzola / rempx.sass
Last active January 2, 2016 05:49
This mixin takes a CSS property and a value (which can be shorthand) and return that property set first in pixels and then in rems. Shorthand may include `auto`. Default unit is set to `px` but can be set to `rem` is that’s what you want. It also presumes your base `font-size` to be `10px` (62.5%).
@mixin rempx($property,$value,$unit:"px")
$pxcon: null !default
$remcon: null !default
$px: null !default
$rem: null !default
@if $unit == "px"
$pxcon: 1
$remcon: .1
@else
# Use the app.rb file to load Ruby code, modify or extend the models, or
# do whatever else you fancy when the theme is loaded.
module Nesta
class App
# Uncomment the Rack::Static line below if your theme has assets
# (i.e images or JavaScript).
#
# Put your assets in themes/v2/public/v2.
#

“Of all tyrannies, a tyranny sincerely exercised for the good of its victims may be the most oppressive. It would be better to live under robber barons than under omnipotent moral busybodies. The robber baron’s cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end for they do so with the approval of their own conscience. They may be more likely to go to Heaven yet at the same time likelier to make a Hell of earth. This very kindness stings with intolerable insult. To be ‘cured’ against one's will and cured of states which we may not regard as disease is to be put on a level of those who have not yet reached the age of reason or those who never will; to be classed with infants, imbeciles, and domestic animals.”

@agarzola
agarzola / .zshrc
Last active May 5, 2016 02:27
Files relevant to my zsh config
# Path to your oh-my-zsh installation.
export ZSH=/Users/agarzola/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="agnoster"
# Uncomment the following line to use case-sensitive completion.
@agarzola
agarzola / stockquote.sh
Created May 12, 2016 02:11
Some functions to get stock info from the command line because who needs friends?
#!/bin/zsh
function stock {
if [[ $* == *--clean* ]]
then
clean=true
else
clean=false
fi
html=$(curl -s https://finviz.com/quote.ashx?t=$1);