Omdat het altijd van pas komt...
RGB decimaal en hex
Bron: huisstijlhandboek
# Files to ignore in a LaTeX project | |
syntax: glob | |
# General files to ignore | |
*~ | |
*.bak | |
# Gedit LaTeX ini file | |
.*.ini |
# This goes into /etc/gemrc | |
install: --no-rdoc --no-ri | |
update: --no-rdoc --no-ri |
# List files in a package | |
rpm -ql PACKAGE | |
# What package does a file belong to? | |
rpm -qf FILE # in currently installed packages | |
yum provides FILE # in all packages | |
# Print a list of manually installed packages | |
# credits: http://forums.fedoraforum.org/showpost.php?p=1606568&postcount=12 | |
yumdb search command_line "*install*" | grep command_line | sed 's/.*install//' | tr ' ' '\n' | sort -u |
# Return a file name consisting of the specified prefix, number, and suffix | |
# 3 arguments: | |
# $1 - prefix | |
# $2 - an integer, which will be padded with zeroes to length 3 | |
# $3 - suffix | |
# e.g. "mkfile test- 2 .txt" will return "test-002.txt" | |
mkfile () | |
{ | |
echo "${1}$(printf '%03d' ${2})${3}" | |
} |
# General files to ignore | |
*~ | |
*.bak | |
.*.un~ | |
# Gedit LaTeX ini file | |
.*.ini | |
# LaTeX compilation artifacts | |
*.aux |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse eget | |
auctor massa, vitae placerat nisl. Nunc mi ligula, ultricies sed euismod | |
nec, porttitor ac tortor. Donec congue lorem vel risus ullamcorper | |
euismod. Nam interdum eu arcu a bibendum. Nunc vel risus dolor. Quisque | |
magna libero, ornare eu luctus sed, auctor et erat. Donec vitae tincidunt | |
tortor. Integer a rhoncus mi. Ut rutrum sapien quis odio euismod luctus. | |
Cras lobortis nisi non neque faucibus malesuada. | |
Aenean commodo nec mi non consectetur. Aenean imperdiet neque eget lacus | |
pharetra, gravida accumsan nisl ultrices. Sed volutpat sed lacus eu |
root:x:0:0:root:/root:/bin/bash | |
bin:x:1:1:bin:/bin:/sbin/nologin | |
daemon:x:2:2:daemon:/sbin:/sbin/nologin | |
adm:x:3:4:adm:/var/adm:/sbin/nologin | |
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin | |
sync:x:5:0:sync:/sbin:/bin/sync | |
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown | |
halt:x:7:0:halt:/sbin:/sbin/halt | |
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin | |
operator:x:11:0:operator:/root:/sbin/nologin |
#!/bin/bash | |
# | |
# Script name -- purpose | |
# | |
# Author: | |
set -o errexit # abort on nonzero exitstatus | |
set -o nounset # abort on unbound variable | |
set -o pipefail # don't hide some errors in pipes |
# Generate PDFs from the Markdown source files | |
# | |
# In order to use this makefile, you need some tools: | |
# - GNU make | |
# - Pandoc | |
# - LuaLaTeX | |
# - DejaVu Sans fonts | |
# Directory containing source (Markdown) files | |
source := src |