Skip to content

Instantly share code, notes, and snippets.

View consideRatio's full-sized avatar
😍
Open Source

Erik Sundell consideRatio

😍
Open Source
View GitHub Profile
grunt.registerTask('server', function (target) {
if (target === 'dist') {
return grunt.task.run(['build', 'open', 'connect:dist:keepalive']);
}
grunt.task.run([
'clean:server',
'replace:app',
'concurrent:server',
'neuter:app',
SpeedMind.Router.map(function () {
this.resource('source', { path: '/:source_id' }, function() {
this.resource('doc', { path: '/:doc_id' }, function() {
this.resource('collection', { path: '/:collection_id' }, function() {
this.resource('list', { path: '/:list_id' });
});
});
});
@consideRatio
consideRatio / gist:5314328
Created April 4, 2013 21:03
XPT --- runside kommentarer
Grundläggande sidor att ha tillgång till:
AD 1 - AD marks+quints + Armor seals + Flat MR glyphs
AD 2 - AD marks+quints + Armor seals + Dyn MR glyphs
Kommentar:
* Använda av: ADC / JUNGLARE / TOPLANEARE
* Alla din ADC bör använda dessa, och ta Dyn MR om du möter ovanligt lite magisk skada in lanen
* Vissa junglare skulle kunna använda AD2 sidan, men oftast bäst med AS marks
* Många fysiska toplanare använder båda dessa sidor, Garen/Riven t.ex
@consideRatio
consideRatio / gist:5308953
Created April 4, 2013 09:12
section of gruntfile.coffee modified
# Regarde is frensh and means Watch
regarde:
js:
files: 'public/js/**/*.js'
tasks: ['minispade', 'livereload', 'regarde']
# coffee:
# files: 'public/coffee/**/*.coffee'
# tasks: ['clean', 'coffee', 'minispade', 'livereload', 'regarde']
C:\dev\util\proj\foo>gem install therubyracer
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing therubyracer:
ERROR: Failed to build gem native extension.
C:/Ruby200/bin/ruby.exe extconf.rb
creating Makefile
File "<string>", line 1
'import