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
package entypoint; | |
/** | |
* | |
* @author ryahiaoui | |
*/ | |
public class TGenericTest { | |
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 | grep "Failed" | |
grep -rnw '/etc/apt/sources.list.d' -e 'http://ppa...' | |
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
!=============================== | |
! Commands : | |
! - apt-get install rofi | |
! - xrdb -load ~/.Xresources | |
!=============================== | |
! =================== | |
! urxvt | |
! =================== |
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
# LOCATION : ~/.config/i3/config | |
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# |
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 vim /etc/apt/sources.list.d/java-8-debian.list | |
ADD : | |
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main | |
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 | |
sudo apt-get update |
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
# Default locations of userdir and cachedir: | |
# (http://wiki.netbeans.org/FaqWhatIsUserdir) | |
# | |
# On Windows ${DEFAULT_USERDIR_ROOT} will be replaced by the launcher | |
# with "<AppData>\NetBeans" where <AppData> is user's | |
# value of "AppData" key in Windows Registry under | |
# "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" | |
# and ${DEFAULT_CACHEDIR_ROOT} will be replaced by the launcher | |
# with "<Local AppData>\NetBeans\Cache" where <Local AppData> is user's | |
# value of "Local AppData" key in Windows Registry under |
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
su - | |
df -Th | |
unmount /media/... | |
dosfsck -a /dev/sd... | |
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 | |
# crontab -e : | |
# @reboot nohup /home/ryahiaoui/.config/i3/i3_Battery_Notif.sh & | |
_alarm() { | |
( \speaker-test --frequency $1 --test sine )& | |
pid=$! | |
\sleep 0.${2}s | |
\kill -9 $pid |
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
# /etc/X11/xorg.conf.d/30-touchpad.conf | |
Section "InputClass" | |
Identifier "touchpad" | |
Driver "libinput" | |
MatchIsTouchpad "on" | |
Option "tapping" "on" | |
Option "AccelProfile" "adaptive" | |
# Option "TappingButtonMap" "lrm" | |
# Option "VertScrollDelta" "-111" | |
# Option "HorizScrollDelta" "-111" |
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 clone https://github.com/franela/play-with-docker | |
cd play-with-docker/ | |
docker pull franela/dind | |
sudo apt install golang-go | |
export GOPATH=$HOME/.go | |
go get -v -d -t ./... | |
docker-compose up |