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 /Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/MacOS/ | |
VBoxManage modifyhd --resize [new size in MB] [/path/to/vdi] | |
$ VBoxManage modifyhd --resize 25000 /Users/emre/VirtualBox\ VMs/zimbra/zimbra.vdi |
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
Public / Private Key Authentication | |
** public key stored on server | |
** private key stored locally | |
Server: | |
- cd | |
- mkdir .ssh | |
- exit |
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
sudo apt install openjdk-8-jdk | |
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 | |
echo $JAVA_HOME | |
export PATH=$PATH:$JAVA_HOME/bin | |
echo $PATH | |
java -version |
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
# | |
# Post Saver for Coder Ghost Theme | |
# written by Emre Berber | |
# | |
# emreberber.systems | |
# github.com/emreberber | |
# | |
import urllib2 | |
import re |
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
$ sudo apt install netdiscover | |
$ ifcongig | |
$ sudo netdiscover -i wlp6s0 -r 192.168.0.0/24 |
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
Method 1: Using systemd-resolve to flush DNS-Cache | |
$ sudo systemd-resolve --flush-caches | |
$ sudo systemd-resolve --statistics | |
--------------------------------------------------- | |
Method 2: Using dns-clean to flush DNS-Cache | |
$ sudo /etc/init.d/dns-clean start |