Skip to content

Instantly share code, notes, and snippets.

View lee-pai-long's full-sized avatar
💭
Work In Progress

Saïdina MOHAMED ALI lee-pai-long

💭
Work In Progress
  • Marseille (France)
View GitHub Profile

[LINUX MINT 17.2] Install hstr

HSTR is a shell history suggest box that aim to replace and/or improve the builtin linux reverse-i-search shell feature.

Intallation

$ [sudo] add-apt-repository ppa:ultradvorka/ppa && \
> [sudo] apt-get update && \

[Linux Mint 17.2] Install KVM

Install cpu-checker

$ [sudo] apt-get install cpu-checker

determine if this system is capable of running hardware accelerated KVM virtual machines (ie, possesses Virtualization Technology)

[Linux Mint 17.2] Install latest Atom

If you have previously installed Atom from another source, backup your atom directory, then remove atom package

$ cp -R ~/.atom ~/.atom_bak
$ [sudo] apt-get remove atom

[Linux Mint 17.2] Install MyCLI and grc

Install both grc and mycli

$ [sudo] apt-get install grc && \
> curl https://packagecloud.io/gpg.key | [sudo] apt-key add - && \
> [sudo] apt-get install -y apt-transport-https && \
> [sudo] sh -c \

[Asterisk 13.6] Install opensource g729 codec

Try to find what kind of CPU you have using those commands

$ cat /proc/cpuinfo | grep 'sse' -m1
$ [sudo] dmidecode -t 4
$ lscpu

[Debian] Install Python 3.4 on Debian 7 (Wheezy)

Install dependencies

$ [sudo] apt-get install \
> build-essential \
> libncurses5-dev \
> libncursesw5-dev \

[Linux Mint 17.2] Install Sublime Text 3

$ sudo add-apt-repository ppa:webupd8team/sublime-text-3
$ sudo apt-get update
$ sudo apt-get install sublime-text-installer

[LINUX MINT 17.2] Install UNetbootin

$ sudo add-apt-repository ppa:gezakovacs/ppa && \
> sudo apt-get update && \
> sudo apt-get install unetbootin extlinux

[LINUX MINT 17.2] Mouse middleclick paste keybinding

Install xdotool

$ [sudo] apt-get update -qq && \
> [sudo] apt-get install -yqq xdotool

[SED] Remove comments and empty lines from file

$ sed \
> -e '/^<comment_character>/d' \
> -e '/^$/d' \
> -i <file>