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
@agarzola
agarzola / directory-and-git-state.sh
Last active October 7, 2018 20:20 — forked from mcjim/.bashrc
Git branch, dirty and stash state in Bash prompt.
# Tweak presentation and add commits ahead/behind.
# Quick fork by @mcjim to add stash status and tweak to suit his style.
# http://henrik.nyh.se/2008/12/git-dirty-prompt
# http://www.simplisticcomplexity.com/2008/03/13/show-your-git-branch-name-in-your-prompt/
# host dir master $ # clean working directory
# host dir master* $ # dirty working directory
# host dir master*^ $ # dirty working directory with stash
# host dir master^ $ # clean working directory with stash
function parse_git_dirty {
# 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.
#
@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

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.

##96-well plate
%table#ninetysixwell.plate
%tr
%th
- (1..12).each do |num|
%th= num
- ('A'..'H').each do |letter|
%tr
%th