Add a 4px red border to the left side of list items... This border should be applied in the following repetitive pattern
no border border border
function prompt | |
{ | |
# $user = (get-item env:USERNAME).Value | |
# $host = (get-item env:COMPUTERNAME).Value | |
$directoryName = (get-location).Path.Substring((get-location).Path.LastIndexOf("\") + 1) | |
"$directoryName>" | |
} |
Demonstrates how to handle the window's focus
and blur
events.
This code does not depend on any third-party libraries like jQuery.
Demonstrates how to handle the window's focus
and blur
events with jQuery.
#!/usr/bin/env bash | |
echo $1 | grep -E -q "^[0-9]+$" || (echo "Please specify a port number to listen to." ; exit 1) | |
PORT=$1 | |
TCPDUMPARG="tcp port $PORT and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)" | |
sudo tcpdump -s 0 -A -i lo0 $TCPDUMPARG |
A simple utility for using Git locally while using an external SVN repository.
#Prerequisites#
#Steps#
sails new <appName>
.cd <appName>
.create-ember.sh
../bootstrap
.#Prerequisites#
npm install passport
npm install passport-local
package.json
)#Steps#