Skip to content

Instantly share code, notes, and snippets.

View raulperula's full-sized avatar

Raúl Pérula-Martínez, PhD raulperula

View GitHub Profile
@raulperula
raulperula / markdown.md
Last active February 1, 2016 23:46 — forked from jonschlinkert/markdown-cheatsheet.md
A better markdown cheatsheet. I used Bootstrap's Base CSS documentation as a reference.

Typography

Headings

Headings from h1 through h6 are constructed with a # for each level:

# h1 Heading
## h2 Heading
### h3 Heading
cmake -G"Eclipse CDT4 - Unix Makefiles"
/WINEPREFIX=~/.wine32 WINEARCH=win32 wine setup.exe/
catkin_make -DCATKIN_WHITELIST_PACKAGES=""
#!/bin/bash
DATE=$(date + "%Y-%m-%d_%H%M")
raspistill -vf -hf -o /home/pi/camera/$DATE.jpg
gs -dSAFER -dBATCH \
-dNOPAUSE -dNOCACHE -sDEVICE=pdfwrite \
-sColorConversionStrategy=CMYK \
-dProcessColorModel=/DeviceCMYK \
-sOutputFile=document_cmyk.pdf \
document_rgb.pdf
# this is valid for images and PDF
identify -format '%[colorspace]' document_or_image.jpg
# create the ignore.txt file
echo "bin
build
lib
msg_gen
srv_gen
CMakeLists.txt.user
test_results
catkin
catkin_generated
catkin_make -DCATKIN_BLACKLIST_PACKAGES="ir_trans_drivers"
cat file.txt | grep -v "string_to_avoid"