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
#connect b2d ssh | |
start cmd -ArgumentList @('/C','boot2docker','ssh') |
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 | |
SET LOCAL_DATA_DIR=%CD% | |
SET REMOTE_SUB_DIR=golfconnect-docker | |
IF EXIST G:\%REMOTE_SUB_DIR% ( | |
echo %REMOTE_SUB_DIR% exists - should prompt for clear | |
) ELSE ( | |
mkdir G:\%REMOTE_SUB_DIR% | |
) |
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
Param( | |
[Parameter(Mandatory=$true)] | |
[string]$hostName, | |
[Parameter(Mandatory=$true)] | |
[string]$hostIp | |
) | |
function IsAdministrator | |
{ | |
$Identity = [System.Security.Principal.WindowsIdentity]::GetCurrent() |
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
Param( | |
[Parameter(Mandatory=$true)] | |
[string]$hostName, | |
[Parameter(Mandatory=$true)] | |
[string]$hostIp | |
) | |
function IsAdministrator | |
{ | |
$Identity = [System.Security.Principal.WindowsIdentity]::GetCurrent() |
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 | |
Set-localdocker.bat | |
IF EXIST G: ( | |
ECHO Removing existing G: mapping... | |
net use G: /d | |
) | |
ECHO Mapping G: to "\\localdocker\data" ... | |
NET USE G: \\localdocker\data |
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
#create data directory to contain any data we want persisted | |
sudo mkdir /var/lib/boot2docker/data && sudo chown docker:staff /var/lib/boot2docker/data | |
#pull busybox and set it up as a data volume container | |
docker run -v /var/lib/boot2docker/data:/data --name data-share busybox true | |
#pull svendowideit/samba and run it with the data-share container | |
#docker run --rm -v $(which docker):/docker -v /var/run/docker.sock:/docker.sock svendowideit/samba data-share | |
#make sure the samba share runs next time boot2docker starts |
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
#pragma semicolon 1 | |
#include <sourcemod> | |
#include <sdktools> | |
#include <sdkhooks> | |
#include <cstrike> | |
#include <adminmenu> | |
#define _DEBUG 0 // Set to 1 for debug spew |
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
/* B-Rush | |
* | |
* DESCRIPTION | |
* A great plugin where there are 5 Terrorists vs 3 CTs. The Ts must only plant at the "B" bomb site. | |
* Server admins can configure if players are allowed to buy/use FlashBangs, Smoke Grenades, HE Grenades, | |
* or AWPS. The number of AWPS allowed is configurable as well. | |
* | |
* If the CTs kill all of the Ts, the game continues to the next round, no modifications. | |
* | |
* If the Ts kill all of the CTs (or they somehow successfully bomb the B site), then the CTs become Ts |
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
//---------------------------------------------------------------------------- | |
// BotProfile.db | |
// Author: Michael S. Booth, Turtle Rock Studios (www.turtlerockstudios.com) | |
// Elite bot edits by WaLLy3K 9/09/13 - additional customization by iGame.vn | |
// | |
// This database defines bot "personalities". | |
// Feel free to edit it and define your own bots. | |
// | |
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
"Phrases" | |
{ | |
"Menu1" | |
{ | |
"en" "Select A Teammate" | |
} | |
"Menu2" | |
{ | |
"en" "Select Another Teammate!!" | |
} |