Skip to content

Instantly share code, notes, and snippets.

View yoamomonstruos's full-sized avatar

Tom Bates yoamomonstruos

View GitHub Profile
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAAHdbkFIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjhCREIxRERCN0QyMjExRTNCOTU1QTk2QjFGRDY2MDlEIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjhCREIxRERDN0QyMjExRTNCOTU1QTk2QjFGRDY2MDlEIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6OEJEQjFERDk3RDIyMTFFM0I5NTVBOTZCMU
{
"color_scheme": "Packages/Color Scheme - Default/base16-ocean.dark.tmTheme",
"draw_white_space": "all",
"file_exclude_patterns":
[
"*.lock",
".DS_Store"
],
"folder_exclude_patterns":
[
int retweet_number = 20;
int base_size = 20;
void setup() {
size(800, 800);
background(0, 0, 0);
smooth();
};
void draw() {
@yoamomonstruos
yoamomonstruos / flex-align.css
Last active January 3, 2016 05:49
Vertical Alignment
.Aligner {
display: flex;
align-items: center;
justify-content: center;
}
.Aligner-item {
max-width: 50%;
}
// ============================================= //
// SPACING VARIABLES //
// ============================================= //
$spacing: (
'Xxl' 50,
'Xl' 40,
'L' 30,
'M' 20,
'S' 10,
var studios = {
nyc: {
coords: {
latitude: 40.748224,
longitude: -73.995730
}
},
london: {
coords: {
latitude: 51.523910,
@yoamomonstruos
yoamomonstruos / btn.scss
Created December 3, 2013 15:30
Colour generation
.btn {
display: inline-block;
padding: 0 50px;
height: 40px;
color: #FFF;
font-size: 16px;
line-height: 38px;
text-transform: uppercase;
text-decoration: none;
border: 2px solid #FFF;
# Customize to your needs...
export PATH=$PATH:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
PATH=node_modules/.bin:$PATH
PATH=/usr/local/share/npm/bin
PATH=.bundle/binstubs:.bundle/binstubs:/Users/yoamomonstruos/.rbenv/shims:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
Widgets = GoCardless.module("widgets")
Base = GoCardless.module("base")
class Widgets.Views.Swipe extends Base.View
initialize: ->
swipe = new Swipe(@el, @options)
// Build an ArrayList to hold all of the words that
// we get from the imported tweets
ArrayList<String> words = new ArrayList();
Twitter twitter;
import processing.serial.*;
Serial myPort; // Create object from Serial class
int val; // Data received from the serial port