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
$ git filter-branch --env-filter ' | |
oldname="old username" | |
oldemail="old email address" | |
newname="new username" | |
newemail="old username address" | |
[ "$GIT_AUTHOR_EMAIL"="$oldemail" ] && GIT_AUTHOR_EMAIL="$newemail" | |
[ "$GIT_COMMITTER_EMAIL"="$oldemail" ] && GIT_COMMITTER_EMAIL="$newemail" | |
[ "$GIT_AUTHOR_NAME"="$oldname" ] && GIT_AUTHOR_NAME="$newname" | |
[ "$GIT_COMMITTER_NAME"="$oldname" ] && GIT_COMMITTER_NAME="$newname" | |
' HEAD |
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
[hekad] | |
maxprocs=10 | |
[LogstreamerInput] | |
log_directory = "/var/log" | |
file_match = 'local7\.log' | |
# decoder = "OABCloudDecoder" | |
[OABCloudDecoder] | |
type = "PayloadRegexDecoder" |
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
(defun scame--gnus () | |
"Start gnus or gnus development version." | |
(when (eql 'gnus-dev scame-gnus-version) | |
(push (concat scame-gnus-dev-directory "/lisp") load-path) | |
(message "Load Gnus development version") | |
(require 'gnus-load)) | |
(gnus)) | |
*Messages* buffer : |
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
# Master IP | |
IP=$1 | |
# Output directory | |
DIR=$2 | |
echo "--> Generate CA.key" | |
openssl genrsa -out ${DIR}/ca.key 2048 | |
echo "--> Generate CA crt" | |
openssl req -x509 -new -nodes -key ${DIR}/ca.key -subj "/CN=${IP}" -days 10000 -out ${DIR}/ca.crt |
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
$ cd Perso | |
$ for i in `ls`; do if [ -d $i ]; then echo "\"~/Perso/$i\"" ; fi ; done |
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
$ rm -fr ~/Apps/golang/src/github.com/docker/machine/libmachine | |
$ ls -l vendor/ | |
total 0 | |
$ GO15VENDOREXPERIMENT=1 go get github.com/docker/machine/libmachine | |
$ ls -l vendor/ | |
total 0 | |
$ ls ~/Apps/golang/src/github.com/docker/machine/libmachine | |
auth cert drivers engine examples host hosttest libmachine.go log mcnerror mcnflag mcnutils persist persisttest provider provision ssh state swarm version |
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
Verifying that +nicolaslamirault is my blockchain ID. https://onename.com/nicolaslamirault |
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
;; init.el --- Emacs initialization file | |
;; Added by Package.el. This must come before configurations of | |
;; installed packages. Don't delete this line. If you don't want it, | |
;; just comment it out by adding a semicolon to the start of the line. | |
;; You may delete these explanatory comments. | |
(package-initialize) | |
(when (eq window-system 'x) |
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
A mettre dans .config/scame/scame-user.el : | |
(require 'powerline) | |
(require 'all-the-icons) | |
(require 'doom-themes) | |
(load-theme 'doom-one t) ;; or doom-dark, etc. | |
;; brighter source buffers | |
(add-hook 'find-file-hook 'doom-buffer-mode) |
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
docker logs a2e3864dab62 | |
2016-10-27 11:35:28.325156 I | etcdmain: etcd Version: 2.2.5 | |
2016-10-27 11:35:28.325443 I | etcdmain: Git SHA: bc9ddf2 | |
2016-10-27 11:35:28.325510 I | etcdmain: Go Version: go1.6 | |
2016-10-27 11:35:28.325582 I | etcdmain: Go OS/Arch: linux/arm | |
2016-10-27 11:35:28.325889 I | etcdmain: setting maximum number of CPUs to 4, total number of available CPUs is 4 | |
2016-10-27 11:35:28.326343 N | etcdmain: the server is already initialized as member before, starting as etcd member... | |
2016-10-27 11:35:28.328280 I | etcdmain: listening for peers on http://localhost:2380 | |
2016-10-27 11:35:28.329236 I | etcdmain: listening for peers on http://localhost:7001 | |
2016-10-27 11:35:28.329486 I | etcdmain: listening for client requests on http://127.0.0.1:2379 |