This file contains hidden or 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
# [...] | |
addons: | |
chrome: stable |
This file contains hidden or 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
# ZSH Theme - Preview: http://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png | |
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
local user='%{$fg[blue]%}%n%{$reset_color%}' | |
local host='@$fg[magenta]%}%m%{$reset_color%}:%{$reset_color%}' | |
local current_dir='%{$fg[yellow]%}%~%{$reset_color%}' | |
local git_branch='$(git_prompt_info)%{$reset_color%}' | |
PROMPT="╭─${user}${host}${current_dir} ${git_branch} |
This file contains hidden or 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
(ns quil-games.core | |
(:require [quil.core :refer :all] | |
[quil.middleware :as m]) | |
(:gen-class)) | |
(defn setup [] | |
{:score 0 | |
:ball | |
{:x 0 | |
:y 60 |
This file contains hidden or 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
offlineCtx = new OfflineAudioContext(1, 44100 * 60, 44100); | |
offlineAnalyser = offlineCtx.createAnalyser(); | |
offlineAnalyser.fftSize = 4096; | |
offlineProcessor = offlineCtx.createScriptProcessor(16384, 1, 1); | |
offlineProcessor.connect(offlineCtx.destination); | |
offlineSource = offlineCtx.createBufferSource(); |
This file contains hidden or 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
/* | |
* This is kind of a hack but it gets the job done. | |
* Paste this in your theme's functions.php | |
* The function returns an array of all blogs in the multisite network. | |
* For the image I make use of Wordpress' custom header functionality | |
*/ | |
function get_all_blogs() { | |
$blogs = array(); | |
$count = 0; |
NewerOlder