- Installation: https://flight-manual.atom.io/getting-started/sections/installing-atom/#platform-linux
- Plus d'options ? https://atom.io/packages
- C'est pas beau ? https://atom.io/themes
- Encore perdu ? https://discuss.atom.io/t/see-the-faq-category-and-atom-flight-manual-for-faqs/21037
- Installation automatique via PPA ? https://launchpad.net/~webupd8team/+archive/ubuntu/atom/
- Ou une installation via un script ? install.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [xdebug] | |
| xdebug.remote_enable=1 | |
| xdebug.remote_host=127.0.0.1 | |
| # Not safe for production servers | |
| xdebug.remote_connect_back=1 | |
| xdebug.remote_port=9000 | |
| xdebug.remote_handler=dbgp | |
| xdebug.remote_mode=req | |
| xdebug.remote_autostart=false | |
| xdebug.idekey=xdebug-atom |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -e | |
| SOLR_VERSION="5.5.4" | |
| SOLR_DIR="/opt/solr-"$SOLR_VERSION | |
| mkdir -p $SOLR_DIR | |
| cd $SOLR_DIR | |
| wget http://archive.apache.org/dist/lucene/solr/$SOLR_VERSION/solr-$SOLR_VERSION.tgz | |
| tar xzf solr-$SOLR_VERSION.tgz --strip-components=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/python | |
| import getopt, json, requests, sys, time, urllib2 | |
| # Nombre par defaut d'iteration pour recuperer les stashes. | |
| loop = 5 | |
| try: | |
| # Le premier argument est toujours le nom du script, on le retire. | |
| opts, args = getopt.getopt(sys.argv[1:], "hl:", ["loop="]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| drush ev '$entity = entity_load_single(ECK_ENTITY_TYPE, ID); $entity->id = $entity->created = NULL; $entity->title = "[TEST] " . $entity->title; entity_save(ECK_ENTITY_TYPE, $entity);' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [user] | |
| email = whatever@whoever.fr | |
| name = whatever | |
| [alias] | |
| oops = commit --amend | |
| log-me = log --author=whatever --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' | |
| log-me-week = !/bin/bash -c 'git log-me --since="1.week"' | |
| me-pull-full = pull -v --recurse-submodules | |
| me-submodule = submodule update --init --recursive | |
| pl-all = !/bin/bash -c 'cd $(git rev-parse --show-toplevel) && git me-pull-full && git fetch -v --tags && git me-submodule && cd -' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Configuration globale | |
| export LANG=fr_FR.UTF-8 | |
| # Preferred editor for local and remote sessions | |
| export EDITOR='vim' | |
| # Look in ~/.oh-my-zsh/themes/ | |
| ZSH_THEME="kolo" | |
| # Add wisely, as too many plugins slow down shell startup. |