- The network 192.168.1.0/24 is your LAN
- Your Ubuntu server is on your LAN at 192.168.1.10,
through the network interface
eth0
- The network 192.168.5.0/24 is non existent
- Your LAN DNS is at 192.168.1.1
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
{ | |
"anytime" : [ | |
"Why did Adele cross the road? To say hello from the other side.", | |
"What kind of concert only costs 45 cents? A 50 Cent concert featuring Nickelback.", | |
"What did the grape say when it got crushed? Nothing, it just let out a little wine.", | |
"I want to be cremated as it is my last hope for a smoking hot body.", | |
"Time flies like an arrow. Fruit flies like a banana.", | |
"To the guy who invented zero, thanks for nothing.", | |
"I had a crazy dream last night! I was swimming in an ocean of orange soda. Turns out it was just a Fanta sea.", | |
"A crazy wife says to her husband that moose are falling from the sky. The husband says, it's reindeer.", |
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
global | |
maxconn 4096 # Total Max Connections. This is dependent on ulimit | |
nbproc 2 | |
log 127.0.0.1 local1 notice | |
defaults | |
mode http | |
log global | |
frontend all 0.0.0.0:80 |
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
#! /bin/bash | |
# from https://www.tensorflow.org/install/gpu | |
# Add NVIDIA package repositories | |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.0.130-1_amd64.deb | |
sudo dpkg -i cuda-repo-ubuntu1804_10.0.130-1_amd64.deb | |
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub | |
sudo apt-get update | |
wget http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb | |
sudo apt install ./nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb |
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
hashcat64.exe -a 0 -w 0 -m 1000 -r rules/lmNTLM.rule hashes/ntlm.txt lists/lab.txt | |
hashcat64.exe -a 0 -w 1 -m 1800 hashes/unixmd5.txt lists/rockyou.txt | |
hashcat64.exe -a 3 -w 1 -m 1800 --increment ?a?a?a?a?a hashes/unixmd5.txt | |
C:\hashcat-3.10>hashcat64.exe -h | |
hashcat, advanced password recovery | |
Usage: hashcat [options]... hash|hashfile|hccapfile [dictionary|mask|directory]... |
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
hashcat64.exe -a 0 -w 0 -m 1000 -r rules/lmNTLM.rule hashes/ntlm.txt lists/lab.txt | |
hashcat64.exe -a 0 -w 1 -m 1800 hashes/unixmd5.txt lists/rockyou.txt | |
hashcat64.exe -a 3 -w 1 -m 1800 --increment ?a?a?a?a?a hashes/unixmd5.txt | |
C:\hashcat-3.10>hashcat64.exe -h | |
hashcat, advanced password recovery | |
Usage: hashcat [options]... hash|hashfile|hccapfile [dictionary|mask|directory]... |
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
cd /var/www | |
mv redmine redmine-old | |
hg clone --updaterev 3.4-stable https://bitbucket.org/redmine/redmine-all redmine | |
cp redmine-old/config/configuration.yml redmine/config/configuration.yml | |
cp redmine-old/config/database.yml redmine/config/database.yml | |
cp -r redmine-old/files/ redmine/files/ | |
chown -R root:www-data /var/www/redmine | |
cd redmine | |
gem install bundler | |
gem install test-unit |
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
#!/bin/bash -e | |
fatal() { echo "FATAL: $@" 1>&2; exit 1; } | |
warn() { echo "WARN: $@"; } | |
info() { echo "INFO: $@"; } | |
usage() { | |
cat <<EOF | |
Usage: sudo $0 client_or_profile_name | |
This will create two ovpn files in this directory (proxy and noproxy). |
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
`emacs --daemon` to run in the background. | |
`emacsclient.emacs24 <filename/dirname>` to open in terminal | |
NOTE: "M-m and SPC can be used interchangeably". | |
* Undo - `C-/` | |
* Redo - `C-?` | |
* Change case: 1. Camel Case : `M-c` | |
2. Upper Case : `M-u` | |
3. Lower Case : `M-l` |
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
`emacs --daemon` to run in the background. | |
`emacsclient.emacs24 <filename/dirname>` to open in terminal | |
NOTE: "M-m and SPC can be used interchangeably". | |
* Undo - `C-/` | |
* Redo - `C-?` | |
* Change case: 1. Camel Case : `M-c` | |
2. Upper Case : `M-u` | |
3. Lower Case : `M-l` |
NewerOlder