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
#!/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
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
input { | |
height: 50px; | |
width: 90%; | |
} | |
#message { | |
color: red; | |
} |
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
smartphone poetry | |
not for books, made by me | |
available for you | |
as an open work | |
you should add your own |
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
this is not a haiku | |
this is not code | |
you won't need to have feelings | |
it's much more conceptual | |
it' not about love |
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
# The /x modifier allows you to embed additional whitespace and comments within patterns. | |
# With this modifier in effect, the regex engine ignores whitespace and comments. | |
# The results are often much more readable. | |
# This regex isn't simple, but comments and whitespace improve its readability. | |
# Even if you compose regexes together from compiled fragments, the /x modifier | |
# can still improve your code. | |
my $attr_re = qr{ | |
\A # start of line |
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
; | |
; mmm-mode config for Mojolicious::Lite perl file. | |
; Forked from https://gist.github.com/am0c/3803249 | |
; mmm-mode lib is from here: https://github.com/purcell/mmm-mode | |
; font locks of [c]perl-mode and mmm-mode conflict each other. | |
; | |
(require 'mmm-auto) | |
(require 'mmm-compat) | |
(require 'mmm-vars) |
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 |
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> |
OlderNewer