master
branch is always production-ready, deployable, 100% green test suite- New development is done on feature branches, with frequent rebasing onto master
- Clean commit history by preferring to rebase instead of merge (
git pull
is configured to automatically rebase)
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
# Download the file to a specific location | |
# get-unzip.ps1 "ftp://path/filename" "C:\path" "filename" | |
$clnt = new-object System.Net.WebClient | |
$url = $args[0] | |
$folder = $args[1] | |
$file = $args[2] | |
$path = $($args[1]+"\"+$args[2]) | |
$clnt.DownloadFile($url,$path) | |
# Unzip the file to specified location |
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
/solve | |
*.exe | |
*.ilk | |
*.pdb | |
*.s | |
*.obj |
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
using System; | |
using System.Net.Http; | |
using System.Net.Http.Formatting; | |
using System.Threading.Tasks; | |
namespace MyProject.Extensions | |
{ | |
public static class HttpClientEx | |
{ | |
public const string MimeJson = "application/json"; |
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
# +--------------------------------------------------------------------------- | |
# | File : BackuptoS3_Snapshots.ps1 | |
# | Version : 1.0 | |
# | Purpose : Backs up to S3 & creates EBS snapshots | |
# | Synopsis: | |
# | Usage : .\BackuptoS3_Snapshots.ps1 | |
# +---------------------------------------------------------------------------- | |
# | | |
# | File Requirements: | |
# | Must have AWS S3 CLI installed & Powershell tools |
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
jsWarrior.turn = function(warrior) { | |
// init status | |
if (!warrior._initialized) { | |
warrior._side_done = false; | |
warrior._last_health = 20; | |
warrior._initialized = true; | |
} | |
// check conditions | |
var health = warrior.getHealth(), |
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
ul.tabs.primary li { | |
height: 30px; | |
line-height: 30px; | |
} | |
ul.tabs.primary li.active a:after { | |
content: ""; | |
position: relative; | |
bottom: -4px; | |
border-style: solid; | |
border-width: 8px 8px 0; |
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
netsh wlan stop hostednetwork | |
pause |
Wes Winham [email protected]
There are many tutorials floating around the web that almost get you a dynamic VPN in EC2. The goal of this tutorial is to be a one-stop-shop for this specific setup.