Skip to content

Instantly share code, notes, and snippets.

View raphink's full-sized avatar
🐝
eBPF everything!

Raphaël Pinson raphink

🐝
eBPF everything!
View GitHub Profile
\documentclass[preview]{standalone}
\usepackage[french]{babel}
\usepackage{fontspec}
\usepackage{xunicode}
\setmainfont{Linux Libertine O}
\newfontfamily{\ezr}[Script=Hebrew]{EzraSIL}
\usepackage{amsmath}
\documentclass{minimal}
\usepackage[french]{babel}
\usepackage{fontspec}
\usepackage{xunicode}
\newfontfamily{\ezr}[Script=Hebrew]{EzraSIL}
\begin{document}
Et Dieu dit:
\documentclass[fancytabs,8pt,pagesize=pdftex,paper=a5]{diary}
\usepackage[french]{babel}
%\usepackage{moredatetime}
%\let\diaryformatdate\formatdateny
\usepackage{lipsum}
\begin{document}
\begin{diary}
\Configure{HtmlPar}
{\EndP\HCode{<!--l. \the\inputlineno-->%
<p \csname a:!P\endcsname
class="no\ifHCond par\else indent\fi" \a:LRdir>}}
{\EndP\HCode{<!--l. \the\inputlineno-->%
<p \csname a:!P\endcsname
class="\ifdim \parindent=\z@ no\fi indent" \a:LRdir>}}
{\:xhtml{\Tg</p>}\printfn}
{\:xhtml{\Tg</p>}\printfn}%
\long\def\thefootnote{\fnsymbol{footnote}}
\Configure{footnotetext}{\global\setbox\footnotebox=\vtop\bgroup\NoFonts%
\ifvoid\footnotebox\else\unvbox\footnotebox\fi
\IgnorePar
\HCode{<div class="footnote"><p>}}{}{\HCode{</p></div>\Hnewline}\egroup}
\def\printfn{%
\ifvoid\footnotebox\else%
\HCode{<div class="footnotes">\Hnewline}\box\footnotebox\HCode{</div>\Hnewline}%
\documentclass{article}
\usepackage[symbol]{footmisc}
\footnotetext[1]{Développeur}
\footnotetext[2]{Contributeur}
\newcommand\footdevelop{\footnotemark[1]}
\newcommand\footcontrib{\footnotemark[2]}
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed Could not retrieve file metadata for puppet://pm.camptocamp.net/plugins: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
@raphink
raphink / aug_facts.ini
Created August 22, 2012 08:41
Generic Augeas based facter plugin
# This is the configuration file
# for the augeas_generic.rb facter plugin
#
# Each section defines a new fact
# and has the following attributes:
# - type: Optional, the type of value to retrieve.
# Possible values: "single" and "multiple".
# Defaults to "single".
# - path: Mandatory, the path to the value.
# - method: Optional, how to retrieve the value.
*** glibc detected *** /home/rpinson/dev/augeas/src/.libs/lt-augtool: munmap_chunk(): invalid pointer: 0x00007f51071fba40 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7e626)[0x7f5107102626]
/home/rpinson/dev/augeas/src/.libs/lt-augtool[0x40198b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f51070a576d]
/home/rpinson/dev/augeas/src/.libs/lt-augtool[0x402171]
======= Memory map: ========
00400000-00405000 r-xp 00000000 00:15 6300840 /home/rpinson/dev/augeas/src/.libs/lt-augtool
00604000-00605000 r--p 00004000 00:15 6300840 /home/rpinson/dev/augeas/src/.libs/lt-augtool
00605000-00606000 rw-p 00005000 00:15 6300840 /home/rpinson/dev/augeas/src/.libs/lt-augtool
define automaster::option ($mountpoint, $value, $file='/etc/auto.master', $ensure='present') {
case $ensure {
present: {
augeas {"Set auto.master option ${name} on mountpoint ${mountpoint}":
context => "/files${file}",
changes => "set *[. = '${mountpoint}']/opt[. = '${name}'] '$value'",
}
}
absent: {
augeas {"Remove auto.master option ${name} on mountpoint ${mountpoint}":