Skip to content

Instantly share code, notes, and snippets.

Santiago Pastorino spastorino

Block or report user

Report or block spastorino

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View belgium-beers.md
View keybase.md

Keybase proof

I hereby claim:

  • I am spastorino on github.
  • I am spastorino (https://keybase.io/spastorino) on keybase.
  • I have a public key whose fingerprint is 98D1 DCEA 3997 CE45 32C5 DE31 88C9 41CD A1D4 6432

To claim this, I am signing this object:

View application.scss
$mobile-breakpoint: 768px;
$footer-bg: #f5f5f5;
// Bootstrap variables overrides
$gray-dark: rgb(68, 68, 68);
$gray: rgb(119, 119, 119);
$gray-light: rgb(128, 128, 128);
$gray-lighter: rgb(221, 221, 221);
$brand-primary: rgb(217, 35, 15);
View bounds.rs
use std::ops::{Add, Sub, Mul};
#[derive(Show, Copy)]
struct Vec2<T> {
x: T,
y: T,
}
// Apply bound to `T` at first instance of `T`. `T`
// must implement the `Add` trait.
View bounds.rs
use std::ops::{Add, Sub, Mul};
#[derive(Show, Copy)]
struct Vec2<T> {
x: T,
y: T,
}
// Apply bound to `T` at first instance of `T`. `T`
// must implement the `Add` trait.
View chruby.txt
~ cat .zshenv
source /usr/local/opt/chruby/share/chruby/chruby.sh
source /usr/local/opt/chruby/share/chruby/auto.sh
chruby 2.2
~ ruby -v
ruby 2.2.0dev (2014-06-05 trunk 46357) [x86_64-darwin13]
~ cd /tmp/2_1_project
/tmp/2_1_project ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
/tmp/2_1_project cd
View keybase.md

Keybase proof

I hereby claim:

  • I am spastorino on github.
  • I am spastorino (https://keybase.io/spastorino) on keybase.
  • I have a public key whose fingerprint is 2CAD 3D67 ABB3 3654 1EF2 065C EDDB 084C A40D E1F5

To claim this, I am signing this object:

@spastorino
spastorino / discourse_ams_rewrite.patch
Last active Apr 9, 2017
This is the discourse patch to work with ActiveModel::Serializers rewrite branch
View discourse_ams_rewrite.patch
From 81489f460de836707689f235e27364e05a191f9f Mon Sep 17 00:00:00 2001
From: Santiago Pastorino <santiago@wyeworks.com>
Date: Thu, 9 Jan 2014 12:24:58 -0200
Subject: [PATCH] Use ActiveModel::Serializers 0.9.0.alpha1
---
Gemfile | 2 +-
Gemfile_rails4.lock | 6 +++---
app/models/discourse_version_check.rb | 4 +++-
app/serializers/application_serializer.rb | 9 ++++++++-
View gist:6581647
~ curl -s https://gist.github.com/lmarburger/6537333/raw/time.sh | bash
== Fastly ==
DNS: 0.520 CONNECT: 0.695 REQSENT: 2.299 STARTTX: 4.560 TOTAL: 7.163
X-Served-By: cache-v44-ASH
X-Cache: MISS
DNS: 0.001 CONNECT: 0.184 REQSENT: 0.571 STARTTX: 2.878 TOTAL: 5.633
X-Served-By: cache-v36-ASH, cache-ny57-NYC
X-Cache: MISS, MISS
View kindlegen.rb
require 'formula'
class Kindlegen < Formula
url 'http://kindlegen.s3.amazonaws.com/KindleGen_Mac_i386_v2_9.zip'
homepage 'http://www.amazon.com/gp/feature.html?docId=1000234621'
sha1 '851064ef18687edaf93abd781f9711a2cb293f7d'
version '2.9'
skip_clean 'bin'
You can’t perform that action at this time.