Skip to content

Instantly share code, notes, and snippets.

View rac021's full-sized avatar
💭
https://github.com/rac021/jaxy

Yahiaoui Rachid rac021

💭
https://github.com/rac021/jaxy
View GitHub Profile
package entypoint;
/**
*
* @author ryahiaoui
*/
public class TGenericTest {
sudo apt-get update | grep "Failed"
grep -rnw '/etc/apt/sources.list.d' -e 'http://ppa...'
!===============================
! Commands :
! - apt-get install rofi
! - xrdb -load ~/.Xresources
!===============================
! ===================
! urxvt
! ===================
# 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)
#
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
# 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
su -
df -Th
unmount /media/...
dosfsck -a /dev/sd...
#!/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
@rac021
rac021 / I3_touchpad_single_tap_and_double_tap.conf
Last active October 21, 2018 14:19
I3_touchpad_single_tap_and_double_tap
# /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"
@rac021
rac021 / Install_Play_With_Docker
Created January 28, 2019 17:55
Install_Play_With_Docker
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