- Put server.coffee and fake-api.coffee next to config.coffee
- Register server.coffee in config.coffee server: path: 'server.coffee'
- Add required modules to package.json npm install --save express http-proxy
This file contains hidden or 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
param( [switch] $passOnly ) | |
function TypeConvert-DateTime { | |
param( $dtString ) | |
[ScriptBlock]::Create(@" | |
[System.ComponentModel.TypeDescriptor]::GetConverter( [datetime] ).ConvertFrom( "$dtString" ) | |
"@ ) | |
} | |
function ParseAdjustUtc-DateTime { | |
param( $dtString ) |
This file contains hidden or 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 bash | |
# Use this to hijack the karma-osx-reporter web service listening to localhost:1337 to send | |
# xUnit result to the OSX notification center. | |
# See https://github.com/petrbela/karma-osx-reporter for output. | |
# | |
# Usage: ./report-osx-notifier.sh <path to xunit report.xml> | |
# | |
message=`grep "assembly" $1 | sed -e 's/[=\"]/ /g' | tr -s ' ' | grep -o "total[^>]*"` | |
method="pass" | |
if [ -z "$(echo $message | grep 'failed 0')" ]; then |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>CFBundleDevelopmentRegion</key> | |
<string>English</string> | |
<key>CFBundleExecutable</key> | |
<string>libccid.dylib</string> | |
<key>CFBundleIdentifier</key> | |
<string>org.debian.alioth.pcsclite.smartcardccid</string> |
I hereby claim:
- I am anderssonjohan on github.
- I am anderssonjohan (https://keybase.io/anderssonjohan) on keybase.
- I have a public key whose fingerprint is F668 8115 9A5A 8E65 A325 88CB 4530 2BE0 9334 A9FE
To claim this, I am signing this object:
This file contains hidden or 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
# Add this line to your profile.ps1 | |
. $PSScriptRoot\vsvars.ps1 |
This file contains hidden or 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 setup-volume { | |
param( | |
[parameter(mandatory=$true,helpmessage="drive letter")] | |
[string] $driveletter, | |
[parameter(mandatory=$false,helpmessage="file system label")] | |
[string] $label = "" | |
) | |
$driveletter = $driveletter.ToLower() |
This file contains hidden or 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
.project-columns-container { | |
padding: 0px !important; | |
} | |
.project-column { | |
border-radius: 0px !important; | |
border-right-width: 0px !important; | |
margin-right: 0px !important; | |
min-width: 300px; | |
} | |
.card-octicon { |
This file contains hidden or 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
server { | |
listen 80; | |
server_name localhost; | |
location /oauth2/ { | |
proxy_pass http://oauth-proxy:4180; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Scheme $scheme; | |
proxy_set_header X-Auth-Request-Redirect $request_uri; |