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
# use string replacement to rename parts of all matching filenames | |
# based on http://stackoverflow.com/questions/7450818/rename-all-files-in-directory-from-filename-h-to-filename-half | |
for file in *.wav; do mv "$file" "${file/selection/substitution}"; done |
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
#!/bin/bash | |
WORK_DIR=${PWD} | |
if [ $2 ]; then | |
SITE_DIR=$2 | |
else | |
SITE_DIR=$WORK_DIR | |
fi | |
if [ $1 ]; then | |
FRAMEWORKS_DIR=$1 |
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
// G L O B A L V A R I A B L E S | |
// set ID for module | |
var modulename = 'my-module'; | |
// or if the [js] object is given a first argument, use that | |
if (jsarguments.length > 1) { | |
modulename = jsarguments[1]; | |
} | |
// set unique ID for each module instance with random number generator |
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
#page #torso .member .composerav .audio li { | |
width: 48%; | |
margin-right: 4%; | |
margin-bottom: 1.5em; | |
float: left; | |
border-top: 1px solid rgba(0,0,0,0.1); | |
box-shadow: 0 .1em .75em -0.16em #999; | |
background: url("../img/absurdidad.png") center; | |
background-color: rgba(0,0,0,.01); | |
overflow: hidden; |
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
function parseResponse(data) { | |
var bookshelf = document.getElementById("books"); | |
for (var i=0; i<4; i++) { | |
var cover = data.objects[i].book_edition.cover; | |
var title = data.objects[i].book_edition.book.title; | |
var author = data.objects[i].book_edition.book.authors[0].full_name; | |
var permalink = data.objects[i].book_edition.short_url; | |
var link = document.createElement("a"); |
NewerOlder