View .profile
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
# ~/.profile: executed by the command interpreter for login shells. | |
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
# exists. | |
# see /usr/share/doc/bash/examples/startup-files for examples. | |
# the files are located in the bash-doc package. | |
# the default umask is set in /etc/profile; for setting the umask | |
# for ssh logins, install and configure the libpam-umask package. | |
#umask 022 |
View git-shortcuts
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
alias gtfp='git tf pull --rebase' | |
alias gtfc='git tf checkin' | |
alias gtfpc='git tf pull --rebase | git tf checkin' |
View git-tfs-push
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/expect | |
set username "your.name" | |
set password "yoursupercoolpassword" | |
spawn git tf pull --rebase | |
expect "Username:"; | |
send "$username\n"; | |
expect "Password:"; | |
send "$password\n"; | |
interact |
View copyBase.bat
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
echo off | |
xcopy /Y f:\base.css C:\webroot\AIS-PS\Dev\vNext\Application\CNBTablet\CNBTabletApp\Content\base.css | |
echo "done." | |
ping 123.45.67.89 -n 1 -w 3000 > nul |
View git-tfs-pull-rebase
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/expect | |
set username "your.name" | |
set password "yoursupercoolpassword" | |
spawn git tf pull --rebase | |
expect "Username:"; | |
send "$username\n"; | |
expect "Password:"; | |
send "$password\n"; | |
interact |
View git-tfs-pull
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/expect | |
set username "your.name" | |
set password "yoursupercoolpassword" | |
spawn git tf pull | |
expect "Username:"; | |
send "$username\n"; | |
expect "Password:"; | |
send "$password\n"; | |
interact |
View git-tfs-checkin.sh
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/expect | |
set username "your.name" | |
set password "yoursupercoolpassword" | |
spawn git tf pull --rebase | |
expect "Username:"; | |
send "$username\n"; | |
expect "Password:"; | |
send "$password\n"; | |
interact |
View Gruntfile.js
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(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON("package.json"), | |
watch: { | |
grunt: { | |
files: ["Gruntfile.js", "package.json"], | |
tasks: "default" | |
}, | |
javascript: { | |
files: ["src/client/**/*.js", "src/server/*.js", "specs/**/*Spec.js"], |
View package.json
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": "MochaJasmine", | |
"description": "Mocha and Jasmine Testing", | |
"version": "0.0.1", | |
"devDependencies": { | |
"grunt": "0.4.x", | |
"grunt-contrib-watch": "~0.2.0", | |
"grunt-contrib-jshint": "~0.4.3", | |
"grunt-contrib-jasmine": "~0.4.2", | |
"grunt-mocha-cli": "~1.0.2", |
View client.js
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 AppClient = function() { | |
this.name = "Panda"; | |
}; | |
AppClient.prototype.setName = function(name) { | |
this.name = name; | |
}; | |
AppClient.prototype.getName = function() { | |
return this.name; |
OlderNewer