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
$ next-update --latest | |
next-update - Tests if module's dependencies can be updated to latest version | |
version: 0.4.5 | |
author: {"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"} | |
checking if the current state works | |
npm test | |
current state works | |
module's current dependencies: | |
package available | |
-------- --------- |
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
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAQHRrUGdUa1BORyAgQ29weVJpZ2h0IFRha2kgQWxsIFJpZ2h0IFJlc2VydmVkAI0AAA0AAABSREhJmDlXAOa9SQCQkWg2mDWMHgAAAB5JREFUKM9j+H9jL3aEAzCMaqCNBlwAh0GjGmiiAQBn/cifTDaT1wAAAABJRU5ErkJggg== |
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": "picks.hail2u.net", | |
"private": true, | |
"scripts": { | |
"build": "node index.js", | |
"postbuild": "git commit --all --message=\"Rebuild\"", | |
"preupdate": "git checkout gh-pages", | |
"update": "git checkout master -- \"*\" && git reset && git add index.html */index.html && git clean -f", | |
"postupdate": "git commit --all --message=\"Rebuild\"", | |
"deploy": "npm run build && npm run update && git push origin gh-pages", |
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 node | |
'use strict'; | |
var fs = require('fs'); | |
var htmlhint = require('htmlhint').HTMLHint; | |
var path = require('path'); | |
var ruleset = { | |
'tagname-lowercase': true, |
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
<!-- start --> | |
<section> | |
<header> | |
<h1 class="jser-sitelink">strict mode - motivation and semantics - Constellation Scorpius</h1> | |
<p><a title="strict mode - motivation and semantics - Constellation Scorpius" href="http://utatane-constellation.tumblr.com/post/3711268645" target="_blank">http://utatane-constellation.tumblr.com/post/3711268645</a></p> | |
</header> | |
<p>strict modeの概念とは何か<br/> static解析につながる話</p> | |
</section> | |
<!-- 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
<pre><samp>$ <kbd>git --version</kbd> | |
<samp> | |
Usage: npm <command> | |
... | |
npm@1.4.10 c:\nodejs\node_modules\npm</samp></pre> |
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
diff --git tasks/sass.js tasks/sass.js | |
index 96ac499..85db65c 100644 | |
--- tasks/sass.js | |
+++ tasks/sass.js | |
@@ -29,6 +29,7 @@ module.exports = function (grunt) { | |
var passedArgs; | |
var bundleExec; | |
var banner; | |
+ var sourcemap; | |
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 node | |
var fs = require('fs'); | |
var mime = require('mime'); | |
var file = process.argv.slice(2)[0]; | |
fs.readFile(file, function (error, data) { | |
if (error) { | |
throw error; |
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
.foo, .bar, .baz { display: auto; } | |
.qux .foo:before, .qux .bar:before, .qux .baz:before { content: "test"; } |
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 expandPath(p) { | |
return p.replace(/(?:\$(\w+?)|%(.*?)%)/g, function (match, name) { | |
return process.env[name]; | |
}); | |
} | |
console.log(expandPath('$HOME/foo/bar')); // C:/Users/John/foo/bar | |
console.log(expandPath('%USERPROFILE%\\foo\\bar')); // C:\\Users\\John\\foo\\bar |