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
Disclaimer: We are not affiliated with GitHub in any way! | |
Random Hacks of Kindness Berlin, Dec 2011 #RHoKbln | |
Project: Broken Lifts | |
Next steps: | |
Backend team | |
create database with static data |
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
{ | |
"caret_style": "phase", | |
"color_scheme": "Packages/User/Nonokai.tmTheme", | |
"default_new_file_syntax": "Packages/Javascript/Javascript.tmLanguage", | |
"dictionary": "Packages/Language - English/en_GB.dic", | |
"draw_white_space": "selection", | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
"*.pyc", |
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
<html> | |
<head> | |
<title>Soundmanager test</title> | |
<!-- you'll have to correct the paths to SoundManager to get it working for yourself --> | |
<script src="vendor/soundmanager/soundmanager2-nodebug.js"></script> | |
</head> | |
<body> | |
<button>Start test</button> |
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
var methods = { | |
'every': Array.prototype.every, | |
'filter': Array.prototype.filter, | |
'forEach': Array.prototype.forEach, | |
'indexOf': Array.prototype.indexOf, | |
'isArray': Array.isArray, | |
'lastIndexOf': Array.prototype.lastIndexOf, | |
'map': Array.prototype.map, | |
'reduce': Array.prototype.reduce, | |
'reduceRight': Array.prototype.reduceRight, |
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
Show hidden characters
"file_exclude_patterns": | |
[ | |
"*.pyc", | |
"*.pyo", | |
"*.exe", | |
"*.dll", | |
"*.obj", | |
"*.o", | |
"*.a", | |
"*.lib", |
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
<snippet> | |
<content><![CDATA[ | |
${1:return }${2:ParentClass}.prototype.${3:method}.apply(this, arguments); | |
$0 | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>super</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.js</scope> | |
</snippet> |
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
$ pacmd | |
Welcome to PulseAudio! Use "help" for usage information. | |
>>> list-sinks | |
1 sink(s) available. | |
* index: 0 | |
name: <alsa_output.pci-0000_00_1b.0.analog-stereo> | |
driver: <module-alsa-card.c> | |
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY | |
state: SUSPENDED | |
suspend cause: IDLE |
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
{ | |
"keys": ["alt+shift+6"], | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 0.5, 1.0], | |
"rows": [0.0, 0.5, 1.0], | |
"cells": | |
[ | |
[0, 0, 1, 2], [1, 0, 2, 1], |
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
{ | |
"csslint_options": { | |
"adjoining-classes": false | |
}, | |
"jshint_options": { | |
"asi": false, | |
"bitwise": true, | |
"boss": false, | |
"browser": true, | |
"curly": true, |
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
$.getJSON('e1/me/track_likes.json?limit=200').done(function (likes) { | |
var list = likes.map(function (like, i) { | |
i++; | |
var sound = like.track; | |
return [ | |
'File' + i + '=' + sound.stream_url + "?client_id=" + require('config').get('client_id'), | |
'Title' + i + '=' + sound.title, | |
'Length' + i + '=' + Math.round(sound.duration / 1000) | |
].join('\n'); |
OlderNewer