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
deb http://deb.debian.org/debian stretch main contrib non-free | |
deb-src http://deb.debian.org/debian stretch main contrib non-free | |
deb http://deb.debian.org/debian stretch-updates main contrib non-free | |
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free | |
deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free | |
deb-src http://security.debian.org/debian-security/ stretch/updates main contrib non-free |
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
fcMoKcUpYaFbZXUh7PYnbwwKuKr1dBaWaLF |
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
# https://github.com/Disassembler0/Win10-Initial-Setup-Script/blob/master/Win10.ps1 | |
# run: | |
# powershell.exe -NoProfile -ExecutionPolicy Bypass -File Win10.ps1 -preset win10-setup.txt | |
### Privacy Settings ### | |
DisableTelemetry | |
DisableWiFiSense | |
DisableSmartScreen | |
DisableWebSearch | |
DisableAppSuggestions | |
DisableBackgroundApps |
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
# required: ffmpeg (e.g. from homebrew), terminal-notifier from https://github.com/alloy/terminal-notifier | |
# you can schedule this with launchd to run e.g. weekly | |
# Specify in seconds how long the script should record (default here is 1 hour). | |
seconds=3600 | |
# Date format for the recording file name | |
DATE=`date "+%d-%m-%y_%H-%M"` | |
# start ffmpeg recording |
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
<?php | |
$g = stream_context_create (array("ssl" => array("capture_peer_cert" => true))); | |
$r = stream_socket_client("tls://www.google.com:8080", $errno, $errstr, 30, | |
STREAM_CLIENT_CONNECT, $g); | |
$cont = stream_context_get_params($r); | |
var_dump($cont["options"]["ssl"]["peer_certificate"]); |
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
#!/bin/bash | |
ORIGINAL_MAC="00:11:22:33:44:55" | |
RANDOM_MAC=`openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'` | |
INTERFACE=en0 | |
MAC=$RANDOM_MAC | |
if [ "$1" = "original" ]; then | |
MAC=$ORIGINAL_MAC | |
fi |
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
#!/bin/bash | |
password="******" | |
target="127.0.0.1" | |
if [ -z "$1" ]; then | |
echo "Please give me the account to backup. "; | |
exit 0 | |
fi |
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
yum remove samba-client samba-common samba-libs libsmbclient libwbclient httpd | |
yum install nano mc postfix yum-cron |
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
brew install mc wget httpie mcrypt icu4c | |
# install homebrew cURL with OpenSSL | |
brew install curl --with-libssh2 --with-openssl --with-nghttp2 | |
# Install php with OpenSSL instead of SecureTransport | |
brew install php56 --with-fpm --with-homebrew-curl --with-homebrew-libxslt --with-homebrew-openssl --without-snmp | |
brew install php56-mcrypt | |
brew install php56-intl |
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
sudo apt-get install libsdl-dev yasm | |
git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg | |
cd ffmpeg | |
./configure | |
make |