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
full_width = 80 | |
columns = 12 | |
gutter = 1 | |
.container | |
width unit(full_width, '%') | |
margin auto | |
overflow hidden | |
div[class^="grid_"] |
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
.DS_Store | |
tmp/ |
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
if default['postgresql']['version'] == "9.1" | |
default['postgresql']['main_dir'] = "foo" | |
else | |
default['postgresql']['main_dir'] = "bar" |
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
#overrides-mixin { | |
float: right; | |
} | |
#uses-default-property { | |
float: left; | |
} |
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
### Keybase proof | |
I hereby claim: | |
* I am jnwng on github. | |
* I am jnwng (https://keybase.io/jnwng) on keybase. | |
* I have a public key whose fingerprint is 0164 461A 15EA FFD8 EB95 42FC C7A1 BF5F 66AE 08DB | |
To claim this, I am signing this object: |
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
var fs = require('fs'); | |
var esprima = require('esprima'); | |
var input = process.argv[2]; | |
var content = fs.readFileSync(input, 'utf-8'); | |
var tokens = esprima.parse(content, { | |
tokens: true, | |
range: true | |
}).tokens; | |
function convert(literal) { |
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
module.exports = function(file, api) { | |
const j = api.jscodeshift; | |
const makeModuleExports = (objExpr) => { | |
return j.assignmentExpression( | |
'=', | |
j.memberExpression( | |
j.identifier('module'), | |
j.identifier('exports') | |
), |
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
module.exports = function(file, api) { | |
const j = api.jscodeshift; | |
const b = j.types.builders; | |
const {astNodesAreEquivalent} = j.types; | |
var root = j(file.source); | |
const keys = ['to', 'initialize']; | |
const getRequireCall = (path, moduleName) => { |