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
~: Alt+n then space | |
\: Alt+Shift+/ |
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
git reset --hard | |
git clean --force -d | |
git fetch origin --prune | |
git checkout master | |
git reset --hard origin/master |
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
ssh -D 9050 <the_server_mwaahahah> -C -N -f | |
proxychains4 -q <command to run> |
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
# Thanks to https://www.vps.net/community/knowledgebase/display/vpsfeatures/How+to+increase+tmp+partition+size | |
Take a backup of /tmp | |
# cp -rp /tmp /tmp.bak | |
Create a partition of 2GB using the below command | |
# dd if=/dev/zero of=/usr/temp-disk bs=2M count=1024 | |
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
du -sh * | sort -r -h | head |
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
There are so many features in IntelliJ IDEA, but we’re going to concentrate on just 42, and we’re going to try and show them in 45 minutes. That’s around 1 tip per minute because we need to leave 3 minutes for Hello, Welcome and Thank you. | |
If a single one goes bad, we have less than a minute per tip. But here’s hoping it won’t. | |
Tout d’abord, afin de vous y retrouver dans l’article, sachez que : | |
⌘ : command (a.k.a pomme) | |
⌥ : option (a.k.a alt) |
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 update | |
sudo apt-get upgrade | |
sudo apt-get dist-upgrade | |
sudo apt-get install unattended-upgrades | |
sudo unattended-upgrade | |
sudo apt-get autoremove |
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
mvn assembly:assembly -DdescriptorId=jar-with-dependencies -Dmaven.test.skip=true |
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 python-software-properties | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
#sudo apt-get install oracle-java7-installer | |
sudo apt-get install oracle-java8-installer |
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
From Hichame : this not my post, i copy/paste it in gist in case of issue on original post server => http://www.brucalipto.org/java/how-to-create-a-portable-jdk-1-dot-7-on-windows/ | |
thanks to him for this job | |
How to Create a Portable JDK 1.7 on Windows | |
Published Dec 27th, 2013 | Comments | |
[Java logo] As a Java developer sometimes I need a version of Java Development Kit (JDK) that is not the one installed on my PC. Oracle Java installer on Windows does too many things that I cannot control (like changing the JVM used by browsers to run applets). As of this writing Java 7 is at version u45 and you can download it from here. Open the downloaded file with 7-zip (in my case was jdk-7u45-windows-i586.exe) and then open the tools.zip you find inside. Extract everything to a convenient path like C:\jdk-1.7u45. Now it is shell time so open a DOS console (Start->Run…->cmd) and type: | |
Create a portable JDK 1.7 |
NewerOlder