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
=keyframes($name) | |
@-webkit-keyframes #{$name} | |
@content | |
@-moz-keyframes #{$name} | |
@content | |
@-ms-keyframes #{$name} | |
@content | |
@-o-keyframes #{$name} | |
@content | |
@keyframes #{$name} |
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
// jQuery Deparam - v0.1.0 - 6/14/2011 | |
// http://benalman.com/ | |
// Copyright (c) 2011 Ben Alman; Licensed MIT, GPL | |
(function($) { | |
// Creating an internal undef value is safer than using undefined, in case it | |
// was ever overwritten. | |
var undef; | |
// A handy reference. | |
var decode = decodeURIComponent; |
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
language: java | |
env: | |
- ACTIVATOR_VERSION=1.1.3 \ | |
ACTIVATOR_ZIP_FILE=typesafe-activator-${ACTIVATOR_VERSION}-minimal.zip \ | |
ACTIVATOR_ZIP_URL=http://downloads.typesafe.com/typesafe-activator/${ACTIVATOR_VERSION}/${ACTIVATOR_ZIP_FILE} \ | |
ACTIVATOR_BIN=${TRAVIS_BUILD_DIR}/activator-${ACTIVATOR_VERSION}-minimal/activator | |
install: | |
- wget ${ACTIVATOR_ZIP_URL} | |
- unzip -q ${ACTIVATOR_ZIP_FILE} | |
script: |
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
{ | |
"name": "jasmine-moar-matchers", | |
"authors": [ | |
"Hannes Diercks" | |
], | |
"description": "Some additional Jasmine 2.0 Matchers.", | |
"main": ["toBeInstanceOf.js", "toBeTypeOf.js", "promises.js"], | |
"keywords": [ | |
"jasmine", | |
"matcher" |
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/sh | |
set -o errexit | |
bcm2385_version=1.38 | |
rm bcm2835-$bcm2385_version.tar.gz | |
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-$bcm2385_version.tar.gz | |
tar zxvf bcm2835-$bcm2385_version.tar.gz | |
cd bcm2835-$bcm2385_version | |
./configure | |
make |
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
function prettifySpreadsheetJSON(data) { | |
var prefix = 'gsx$'; | |
for (var i = 0; i < data.feed.entry.length; i++) { | |
for (var key in data.feed.entry[i]) { | |
if (data.feed.entry[i].hasOwnProperty(key) && key.substr(0,prefix.length) === prefix) { | |
data.feed.entry[i][key.substr(prefix.length)] = data.feed.entry[i][key].$t; | |
delete data.feed.entry[i][key]; | |
} | |
} | |
} |
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
// file X depending on EventEmitter | |
var EventEmitter = __webpack_require__(16); | |
// EventEmitter module | |
/***/ }, | |
/* 16 */ | |
/***/ function(module, exports, __webpack_require__) { ... | |
module.exports = EventEmitter; |
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
-- TODO: save as a bundle and include the RaopX application: not sure if I can do that since it also contains libsamplerate | |
-- For German OSX | |
set SoundPrefName to "Ton" | |
set InputPanelName to "Eingabe" | |
set OutputPanelName to "Ausgabe" | |
-- For English OSX uncomment this | |
-- set SoundPrefName to "Sound" | |
-- set InputPanelName to "Input" |
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 python | |
''' Script for automatically shutting down LaCie d2 Network version 1 | |
Tested with system version 2.2.5, but might also work on others ''' | |
import crypt, sys, hmac, urllib, urllib2, cookielib | |
from xml.dom.minidom import parseString | |
''' Your user name ''' | |
USER = u"admin" |
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 | |
target=/Volumes/tmp.mytarget | |
source=/Users/bla/Dropbox/encrypted | |
volname=EncodedDropbox | |
keychainPassword=encodedDropbox | |
mount | grep $target >/dev/null | |
[[ "$?" -eq "0" ]] && diskutil umount force $target | |
if [ ! -d $target ] |
OlderNewer