=pod | |
Get the game.png from http://i.imgur.com/FxgMM.png | |
Get link.png from http://imgur.com/P7JhS | |
=head1 INSTALL | |
For windows get strawberry perl | |
Then do: |
// Compress and add javascript: prefix, then save as a bookmarklet | |
function process(image){ | |
h = image.height; w = image.width; | |
var buffer = document.createElement("canvas"); // Anonymous canvas | |
buffer.width = w;buffer.height=h; | |
var ct = buffer.getContext('2d'); | |
ct.drawImage(image,0,0); | |
var data = ct.getImageData(0,0,w,h).data; // This may raise an exception for external images. | |
var pxs=2; // Height-Width of the pixel block |
# wget --header='Accept-Encoding: gzip' -O root.bin.gz http://bellard.org/jslinux/root.bin | |
# gunzip root.bin.gz | |
# mkdir mnt | |
# mkdir files | |
# sudo mount -t ext2 -o loop root.bin mnt | |
# dd if=/dev/zero of=files/root.bin bs=1k count=4096 | |
# sudo mke2fs -m 0 -i 2000 files/root.bin | |
# mkdir mnt2 | |
# sudo mount -t ext2 -o loop files/root.bin mnt2 | |
# sudo cp -dpR mnt/* mnt2/ |
" copy all this into a vim buffer, save it, then... | |
" source the file by typing :so % | |
" Now the vim buffer acts like a specialized application for mastering vim | |
" There are two queues, Study and Known. Depending how confident you feel | |
" about the item you are currently learning, you can move it down several | |
" positions, all the way to the end of the Study queue, or to the Known | |
" queue. | |
" type ,, (that's comma comma) |
# Install dependencies | |
# | |
# * checkinstall: package the .deb | |
# * libpcre3, libpcre3-dev: required for HTTP rewrite module | |
# * zlib1g zlib1g-dbg zlib1g-dev: required for HTTP gzip module | |
apt-get install checkinstall libpcre3 libpcre3-dev zlib1g zlib1g-dbg zlib1g-dev && \ | |
mkdir -p ~/sources/ && \ | |
# Compile against OpenSSL to enable NPN |
Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important
or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?
#!/usr/bin/env python | |
# | |
# Adds the ability to add / modify tasks using a "blocks:" attribute, | |
# the opposite of "depends:". | |
# | |
# This script acts as an on-modify, on-add and on-launch hook at the same time. | |
# | |
### SETUP | |
# Save this file as | |
# ~/.task/hooks/on-modify.blocks_attr.py |
#!/usr/bin/env perl | |
# Copyright 2015 by David Golden | |
# Licensed under CC0 https://creativecommons.org/publicdomain/zero/1.0/ | |
# Updated 2016-03-01: | |
# - more variation in organzations selected; you will want to customize this yourself | |
# - splits out wishlists differently/correctly | |
# - reports only PRs unless --all is specified | |
use v5.10; | |
use strict; | |
use warnings; |