This file contains 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
xgettext.pl --verbose --directory=mon/directory --directory=mon/autre/directory --output=la/bas/out.pot |
This file contains 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 | |
HOST=$(hostname) | |
function install_postfix() { | |
echo | sudo debconf-set-selections <<__EOF | |
postfix postfix/root_address string | |
postfix postfix/rfc1035_violation boolean false | |
postfix postfix/mydomain_warning boolean | |
postfix postfix/mynetworks string 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 |
This file contains 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/perl | |
use strict; | |
use warnings; | |
use feature(qw/say/); | |
use Data::UUID; | |
my $ug = new Data::UUID; | |
my $idx = 0; | |
my $uuid; | |
my $unik; |
This file contains 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
<span class="separator"> </span> |
This file contains 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
;; Makes possible to sudo-edit files | |
;; From Damien Cassou | |
;; https://github.com/renard/dired-toggle-sudo/issues/1 | |
(defun sudo () | |
(interactive) | |
(let ((fname (or buffer-file-name | |
dired-directory))) | |
(when fname | |
(if (string-match "^/sudo:root@localhost:" fname) | |
(setq fname (replace-regexp-in-strin |
NewerOlder