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
import React, { PropTypes } from 'react'; | |
import { Router } from 'react-router'; | |
class App extends React.Component { | |
static contextTypes = { | |
router: PropTypes.object | |
} | |
static propTypes = { | |
history: PropTypes.object.isRequired, |
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
list{ | |
.asset.asset_size_small { | |
width: 80px; | |
} | |
.asset.asset_size_medium { | |
width: 80px; | |
} | |
.asset.asset_size_large { | |
width: 300px; | |
} |
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
$ ./waf build | |
Waf: Entering directory `/Users/clean/Documents/aubio/build' | |
[ 49/215] cshlib: build/src/cvec.c.1.o build/src/fmat.c.1.o build/src/fvec.c.1.o build/src/io/audio_unit.c.1.o build/src/io/sink.c.1.o build/src/io/sink_apple_audio.c.1.o build/src/io/sink_sndfile.c.1.o build/src/io/sink_wavwrite.c.1.o build/src/io/source.c.1.o build/src/io/source_apple_audio.c.1.o build/src/io/source_avcodec.c.1.o build/src/io/source_sndfile.c.1.o build/src/io/source_wavread.c.1.o build/src/io/utils_apple_audio.c.1.o build/src/lvec.c.1.o build/src/mathutils.c.1.o build/src/onset/onset.c.1.o build/src/onset/peakpicker.c.1.o build/src/pitch/pitch.c.1.o build/src/pitch/pitchfcomb.c.1.o build/src/pitch/pitchmcomb.c.1.o build/src/pitch/pitchschmitt.c.1.o build/src/pitch/pitchspecacf.c.1.o build/src/pitch/pitchyin.c.1.o build/src/pitch/pitchyinfft.c.1.o build/src/spectral/fft.c.1.o build/src/spectral/filterbank.c.1.o build/src/spectral/filterbank_mel.c.1.o build/src/spectral/mfcc.c.1.o build/src/spectral/ooura_fft8g.c.1.o b |
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
console.log('OKOK1'); | |
define('timeline', ['jquery/nyt', 'underscore/nyt'], function($, _) { | |
console.log('OKOK2'); | |
var ok = _.random(0, 100); | |
console.log('OKOK', ok); | |
$('.shell').html(ok); | |
}); |
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
calculateUrl: function(){ | |
var original_location = window.location.href; | |
var has_slide_param = original_location.match(/slide=/); | |
var has_name_param = original_location.match(/name=/); | |
var has_query_param = original_location.match(/\?/); | |
var guid = this.collection.get(this.current_page)[0].guid, | |
new_url; | |
if(has_slide_param){ | |
new_url = original_location.replace(/slide=[^&$]+/,"slide="+guid); |
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 | |
irbtab | |
DESCRIPTION | |
irbtab allows you to copy and paste from irb arrays to a spreadsheet (tab delimited) | |
it works on osx, linux and possibly windows. | |
SYNOPSIS | |
0) install the gem |
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
get '/*' do | |
@settings = JSON.parse(File.read(settings_path)) | |
file_path = File.join(File.dirname(@settings['promo_src']),params[:splat] ) | |
puts "OKOK:#{file_path}" | |
if File.exists?(file_path) | |
data = File.open(file_path, 'rb') { |f| f.read } | |
return [200,{"Content-type" => "text/css"},data] | |
end | |
end |
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
speakers:{ | |
president_obama:{ | |
image_url: 'http://graphics8.nytimes.com/images/2012/10/04/us/thumbs-candidates/thumbs-candidates-custom1.jpg' | |
} | |
} |
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": ["ctrl+shift+."], "command": "erb" }, | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["ctrl+shift+w"], "command": "toggle_setting", "args": {"setting": "word_wrap"} }, | |
{ "keys": ["ctrl+r"], "command": "reveal_in_side_bar" }, | |
{ "keys": ["super+alt+i"], "command": "reindent" } | |
] |
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
<ul class ="refer"> | |
<li> | |
<a href=""></a> | |
</li> | |
</ul> |
NewerOlder