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 sh | |
| if ! which boot2docker; then | |
| brew install boot2docker | |
| mkdir $HOME/.boot2docker | |
| echo DOCKER_PORT=32000 > $HOME/.boot2docker/profile | |
| fi | |
| if [[ -z $DOCKER_HOST ]]; then | |
| export DOCKER_HOST="tcp://127.0.0.1:32000" | |
| add_to_shell=1 |
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
| [Array]$arguments = "-verb:sync", "-source:contentPath=`"$web_staging_directory`"", "-dest:contentPath=`"\\$Server\$share\$appname\$web_project_name`"" | |
| $proc = Start-Process $msdeploy -ArgumentList $arguments -NoNewWindow -Wait -PassThru | |
| if($proc.ExitCode -ne 0) { | |
| throw "Failed to deploy" | |
| } |
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
| #ignore thumbnails created by windows | |
| Thumbs.db | |
| #Ignore files build by Visual Studio | |
| *.obj | |
| *.exe | |
| *.pdb | |
| *.user | |
| *.aps | |
| *.pch | |
| *.vspscc |
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/ruby | |
| repos = Dir['*'] | |
| repos.each do |repo| | |
| if File.directory? repo | |
| Dir.chdir repo | |
| begin | |
| `git pull` | |
| rescue |
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
| 41133 - 41224 | |
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
| FT: Portal website |
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
| .\appcmd.exe set config /section:system.applicationHost/sites /`[name=`'Static`'].[path=`'/`'].[path=`'/test`'].userName:user /`[name=`'Static`'].[path=`'/`'].[path=`'/test`'].password:pass |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Websockets!</title> | |
| <script> | |
| function onMessage(evt) { | |
| con = document.getElementById("console"); | |
| con.innerHTML += evt.data; | |
| con.innerHTML += '<br />'; |
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
| git tag $(date +%Y-%m-%d_release) | |
| git push origin $(date +%Y-%m-%d_release) |
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
| self.days_with_weekends.map do |day| | |
| # time = {:day => day.to_datetime.utc.to_time.to_i} | |
| time = {:day => day.to_datetime.utc} | |
| if Date.today > day | |
| if !hours_log[day].nil? | |
| hours_in_sprint += hours_log[day] | |
| end | |
| burndown_data << time.merge({:hours => hours_in_sprint}) | |
| elsif day == Date.today | |
| burndown_data << time.merge({:hours => self.total_task_hours}) |
OlderNewer