https://github.com/BShakhovsky/PolyphonicPianoTranscription
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# amazon.rb - amazon affiliate links for jekyll | |
# assumes that you have a configuration variable called 'amazon_associate_id' with your associate id | |
# usage: {{ asin | amazon_product_href }} | |
# returns url of a product | |
# usage: {{ asin | amazon_image_href: 'M' }} | |
# returns image of the product, size argument can be S, M, or L, default M | |
# usage: {{ asin | amazon_product: 'A Product' }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# | |
# SHOW ME | |
# Takes X pictures of you via your iSight, animates them, uploads them to CloudApp, and puts | |
# the url in your clipboard | |
# | |
# This uses a bunch of projects to make the magic happen, mostly thanks | |
# to Zach Holman: http://github.com/holman | |
# | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# | |
# Works best with blinking text; the last heart will blink | |
# when you have less than 25% of your battery life remaining. | |
BATTERY="$(pmset -g ps | awk 'NR==2' | perl -pe 's/.*?(\d+)%.*/\1/')" | |
if [[ $BATTERY -lt 25 ]]; then | |
echo "\e[5;31m♥\e[0;31m♡♡\e[0m" | |
elif [[ $BATTERY -lt 50 ]]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* so here the thing ... you go in your github page | |
* as example I go here: https://github.com/WebReflection | |
* you open your console | |
* you copy and paste this shit | |
* then you write and execute in the console | |
* write("Hi There!"); | |
* NOTE: Pixel Font from a 2006 project of mine :-) http://devpro.it/pixelfont/ | |
*/ | |
function write(text, color, start) { |
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
address,counts | |
0x6977e753e022f65ebeb170d8267b2ea54a431523,7 | |
0x549c0421c69be943a2a60e76b19b4a801682cbd3,7 | |
0xee2826453a4fd5afeb7ceffeef3ffa2320081268,6 | |
0x93f5af632ce523286e033f0510e9b3c9710f4489,6 | |
0xc7bfd896cc6a8bf1d09486dd08f590691b20c2ff,6 | |
0x83aba53382af0754e2599312f02dfc6774489f82,6 | |
0x047b3e73043bbf7421b78893110fc30b7db6b126,6 | |
0x87616fa850c87a78f307878f32d808dad8f4d401,6 | |
0x316f99537b4bade5eea51073f1b7c38dfbf69a70,6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Notify of Homebrew updates via Notification Center on Mac OS X | |
# | |
# Author: Chris Streeter http://www.chrisstreeter.com | |
# Requires: terminal-notifier. Install with: | |
# gem install terminal-notifier | |
TERM_APP='/Applications/Terminal.app' | |
BREW_EXEC='/usr/local/bin/brew' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// swap the keybindings for paste and paste_and_indent | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// download cycolid.wav with: | |
// $ wget -O cycloid.mp4 "https://vimeo.com/73860675/download?t=1446320826&v=187839750&s=46dcfa8c1c9ed3539dcc260443df6da08032ee60796f781df237bb6957cb8138" | |
// $ ffmpeg -i cycloid.mp4 cycloid.wav | |
#include "ofMain.h" | |
#include "ofxAudioDecoder.h" | |
class ofApp : public ofBaseApp { | |
public: | |
ofxAudioDecoder audio; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copied from: https://ethfiddle.com/09YbyJRfiI | |
// CryptoKitties Source code | |
// Copied from: https://etherscan.io/address/0x06012c8cf97bead5deae237070f9587f8e7a266d#code | |
pragma solidity ^0.4.11; | |
/** | |
* @title Ownable | |
* @dev The Ownable contract has an owner address, and provides basic authorization control |
OlderNewer