Skip to content

Instantly share code, notes, and snippets.

@Shaltz
Last active August 29, 2015 14:18
Show Gist options
  • Save Shaltz/63142c3fc4c1c09e66ad to your computer and use it in GitHub Desktop.
Save Shaltz/63142c3fc4c1c09e66ad to your computer and use it in GitHub Desktop.
Installation d'un poste de dev sous linux
====== Installation poste Linux ======
===== Quick version =====
<code>
sudo apt-add-repository ppa:git-core/ppa ; sudo apt-get update ; sudo apt-get install vim build-essential curl httpie meld ruby chromium-browser pepperflashplugin-nonfree avahi-discover gimp inkscape imagemagick libav-tools vlc handbrake git-core gitg tig qreator shutter php5 php5-cgi; git config --global color.ui auto ; git clone https://github.com/creationix/nvm.git ~/.nvm ; cd ~/.nvm ; git checkout `git describe --abbrev=0 --tags` ; echo -e "source ~/.nvm/nvm.sh\nnvm use stable" >> ~/.bashrc ; . ~/.nvm/nvm.sh ; nvm install stable ; nvm use stable ; sudo npm install -g bower grunt-cli coffee-script httpster coffeelint
</code>
===== POSTINSTALL =====
(http://itsfoss.com/things-to-do-after-installing-ubuntu-1504)
LAPTOPS : Improve Battery Life and sort Overheating problems
sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw
sudo tlp start
UBUNTU After Install
sudo add-apt-repository ppa:thefanclub/ubuntu-after-install
sudo apt-get update
sudo apt-get install ubuntu-after-install
===== Long version =====
* outils de base <code>sudo apt-get install vim build-essential curl httpie meld</code>
* google chrome <code>sudo apt-get install chronium-browser pepperflashplugin-nonfree</code>
* extensions :
* html5 filesystem explorer => https://chrome.google.com/webstore/detail/html5-filesystem-explorer/nhnjmpbdkieehidddbaeajffijockaea
* markdown preview => https://chrome.google.com/webstore/detail/markdown-preview/jmchmkecamhbiokiopfpnfgbidieafmd
* window resizer => https://chrome.google.com/webstore/detail/window-resizer/kkelicaakdanhinjdeammmilcgefonfh
* gimp <code>sudo apt-get install gimp</code>
* inkscape <code>sudo apt-get install inkscape</code>
* image Magick <code>sudo apt-get install imagemagick</code>
* ffmpeg -> avconf <code>sudo apt-get install libav-tools</code>
* vlc <code>sudo apt-get install vlc</code>
* handbrake <code>sudo apt-get install handbrake</code>
* nodejs <code>
git clone https://github.com/creationix/nvm.git ~/.nvm ; cd ~/.nvm ; git checkout `git describe --abbrev=0 --tags` ; echo "source ~/.nvm/nvm.sh\nnvm use stable" >> ~/.bashrc ; . ~/.nvm/nvm.sh ; nvm install stable ; nvm use stable
</code>
* Custom bashrc
* prompt => (https://gist.github.com/nleclerc/7023834)
Custom Git Display in shell :
export GIT_PS1_SHOWDIRTYSTATE=1
export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w\[\033[01;33m\]$(__git_ps1)\[\033[01;34m\] \[\033[00m\]\$ '
* Copy /etc/inputrc nito ~/.inputrc and then add this to the top :
"\e[5~": history-search-backward
"\e[6~": history-search-forward
set completion-ignore-case On
set horizontal-scroll-mode Off
set bell-style visible
* SublimeText
* http://www.sublimetext.com/3
* Package control
* [[https://sublime.wbond.net/installation]]
* Packages
* better coffeescript
* Handlebars
* EditorConfig
* Modific
* Duplicate Lines
* Monokai extended
* SublimeLinter
* SublimeLinter-coffeelint
* User configuration
* https://gist.github.com/nleclerc/7564495
* Linter configuration
* https://gist.github.com/nleclerc/eb01d8ddd73a5a41260c
* compass <code>sudo apt-get install ruby
sudo gem install compass -v 0.12.4</code>
* git <code>
sudo apt-add-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git-core gitg tig
git config --global color.ui auto
</code>
* bashrc gitg <code>
alias gitg='gitg > /dev/null 2>&1 &'
</code>
* PHP5 & PHP-CGI <code>sudo apt-get install php5 php5-cgi</code>
* installation de PHPBrew (changement, à la volée, de la version php utilisée) : <code>https://github.com/phpbrew/phpbrew</code>
* Avahi-discover <code>sudo apt-get install avahi-discover</code>
* QR Encoder <code>sudo apt-get install qreator</code>
* Shutter <code>sudo apt-get install shutter</code>
* Dukto
* http://software.opensuse.org/download.html?project=home:colomboem&package=dukto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment