Given a project with the files below and a directory structure as follows:
$ tree --charset ascii
.
|-- index.html
|-- js
| |-- components
| | `-- vendor
| | |-- jquery-1.7.2.js
| | |-- jquery.js
Given a project with the files below and a directory structure as follows:
$ tree --charset ascii
.
|-- index.html
|-- js
| |-- components
| | `-- vendor
| | |-- jquery-1.7.2.js
| | |-- jquery.js
[me@laptop:code/] $ cd A | |
[me@laptop:code/A] $ npm link # this works as i expect (and want) | |
[me@laptop:code/A] $ ll /usr/local/lib/node_modules | |
... | |
lrwxr-xr-x 1 me admin 22 May 18 16:59 /usr/local/lib/node_modules/A -> /Users/me/code/A | |
... | |
[me@laptop:code/A] $ cd ../B | |
[me@laptop:code/B] $ cat package.json | |
... | |
"dependencies": { |
#!/bin/bash | |
# handy script to check your laptop's ip | |
if ! which ip &>/dev/null; then | |
function ip { | |
local addr='\d{1,3}(\.\d{1,3}){3}' | |
# if the argumetn was '-' echo the external ip | |
if [ "$1" = '-' ]; then |
echo 'console.log(process.argv);' > test.js | |
node test.js /static | |
# prints out ['C\\:Program Files\\nodejs\\node.exe', 'C:\\Users\\astacy\\code\\daft\\test.js', 'C:/Program Files/Git/static'] |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>CodePen · Pen</title> | |
<!-- | |
Copyright (c) 2012 Mahroof Ali, http://codepen.io/anon | |
Permission is hereby granted, free of charge, to any person obtaining |
#!/usr/bin/env node | |
var repl = require('repl'), | |
fs = require('fs'), | |
path = require('path'), | |
vm = require('vm'); | |
var myrepl = repl.start('> '); | |
var stup = path.join(process.env.HOME, '.noderc'); |
" this just sets the current window to the specified number | |
" | |
" i think this is what really slows things down | |
function SetCurWinNr(tot, nr) | |
exe a:tot . ' winc k' | |
if a:nr > 1 | |
exe (a:nr-1) . ' winc j' | |
endif | |
endfunction |
something.then(function() { | |
if (config.somethingElse) { | |
return somethingElse(); | |
} | |
}); |
Column.prototype.columnClass
correctly handle names containing '.'Grid.prototype._isFiltered
method that is used to determine whether
the grid adds a filtered
class. default behavior should be something like:_isFiltered: function() {