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 Solaar

$ [sudo] add-apt-repository ppa:daniel.pavel/solaar && \
> [sudo] apt-get update && \
> [sudo] apt-get install solaar

[Centos 5] Install python 3

Install requirements

$ [sudo] yum install \
> openssl-devel \
> bzip2-devel \
> expat-devel \

[LINUX MINT 17.2] Install NodeJS 5

$ curl -sL https://deb.nodesource.com/setup_5.x | \
> [sudo] -E bash - && \
> [sudo] apt-get install nodejs

[LINUX MINT 17.2] Install latest Vagrant

$ wget https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.deb \
> -O /tmp/vagrant_1.8.1_x86_64.deb && \
> [sudo] dpkg -i $_

[UBUNTU 15.04] Install kodi

$ [sudo] apt-get update && \
> [sudo] apt-get install software-properties-common && \
> [sudo] add-apt-repository ppa:team-xbmc/ppa && \
> [sudo] apt-get update && \
> [sudo] apt-get install kodi

[LINUX MINT 17.2] Add Google Drive as device

Download and install google-drive-ocamlfuse

$ [sudo] add-apt-repository ppa:allessandro-strada/ppa && \
> [sudo] apt-get update && \
> [sudo] apt-get install google-drive-ocamlfuse

[LINUX MINT 17.2] Install git

$ sudo add-apt-repository ppa:git-core/ppa \
> && sudo apt-get update \
> && sudo apt-get install git

[LINUX MINT 17.2] Install clamav

$ sudo apt-get update && \
> sudo apt-get install zlib1g-dev build-essential && \
> sudo apt-get install clamav clamav-daemon clamav-freshclam

[Zimbra] Get Default Domain attributes

$ su -l zimbra -c 'zmprov gd $(zmprov gacf zimbraDefaultDomainName | cut -d ' ' -f2)'

[MySQL] Execute shell command

mysql> \! <cmd>

Warning : the shell is sh not bash nor the USER configured shell