Skip to content

Instantly share code, notes, and snippets.

View vladikoff's full-sized avatar
🚀
🧇

Vlad Filippov vladikoff

🚀
🧇
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',
'coffee:dist',
'compass:server',
'livereload-start',
data.result.forEach(function(entry, i) {
game.setBlock([-19, i, -6], 1)
});
watch: {
scripts: {
files: ['**/*.js'],
tasks: ['compile-all-things'],
}
}
grunt.registerTask('mywatch', ['compile-all-things', 'watch']);
var csv = require('csv');
var csvFile = 'some.csv';
var records = [];
csv()
.from(csvFile)
.on('record', function (row, index) {
records.push(row);
})
npm http 200 http://127.0.0.1:30126/validator/-/validator-0.4.9.tgz
npm http 200 http://127.0.0.1:30126/connect-fonts/-/connect-fonts-0.0.9-alpha8.tgz
npm ERR! browserid@1.0.0-b2 preinstall: `node ./scripts/lockdown`
npm ERR! `sh "-c" "node ./scripts/lockdown"` failed with 1
npm ERR!
npm ERR! Failed at the browserid@1.0.0-b2 preinstall script.
npm ERR! This is most likely a problem with the browserid package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./scripts/lockdown
grunt.registerTask('taskname', 'My awesome task', function () {
var done = this.async();
// Epic hacks
var grunt = require('grunt');
grunt.task.init = function() {};
grunt.initConfig({
compress: {
target: {
options: {
archive: '../app.zip'
@vladikoff
vladikoff / default_sublime_themes.md
Created July 11, 2013 21:33
List of Default Sublime Themes

List of Default Sublime Themes

All Hallow's Eve.tmTheme initial commit 2 years ago

Amy.tmTheme initial commit 2 years ago

Blackboard.tmTheme initial commit 2 years ago

Cobalt.tmTheme initial commit 2 years ago