Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ksonbol
ksonbol / gist:7e982915df032092512a
Created October 1, 2014 16:50
Generate random Mobile number (EGYPT)
'01' + [0, 1, 2].sample.to_s + 8.times.map { rand(10) }.join
@ksonbol
ksonbol / Ubuntu 18.04 Customization
Last active May 7, 2019 10:18
Customizations I do after each Ubuntu installation
Ubuntu 18.04
- Brightness Indicator (not needed anymore in Ubuntu 18.04
# sudo add-apt-repository ppa:indicator-brightness/ppa
# sudo apt install indicator-brightness
- Add Show Desktop to Menu
sudo apt-get install xdotool
gedit ~/.local/share/applications/show-desktop.desktop
Fill file with this:

Instructions for installing SoftiWARP and common issues encountered, tested with Ubuntu 16.04.1 with Kernel 4.15.0-45-generic.

- Setting up the Linux kernel dev environment:

 sudo apt-get install fakeroot build-essential crash kexec-tools makedumpfile kernel-wedge
 sudo apt-get build-dep linux
 sudo apt-get install git-core libncurses5 libncurses5-dev libelf-dev binutils-dev

- Setting up the Infiniband / libibverbs environment