Skip to content

Instantly share code, notes, and snippets.

View thiemo's full-sized avatar

Thiemo Gamma thiemo

View GitHub Profile
@tskrynnyk
tskrynnyk / Makefile
Created June 26, 2011 11:34
Pandoc makefile
PANDOC = pandoc
%.html: %.md style.css Makefile
$(PANDOC) -c style.css -s -f markdown -t html --standalone -o $@ $<
%.odt: %.md Makefile
$(PANDOC) --standalone -f markdown -t odt -o $@ $<
%.epub: %.md Makefile
$(PANDOC) -o $@ $<
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active July 23, 2024 04:22
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@mdang
mdang / RAILS_CHEATSHEET.md
Last active July 23, 2024 12:01
Ruby on Rails Cheatsheet

Ruby on Rails Cheatsheet

Architecture

Create a new application

Install the Rails gem if you haven't done so before

[
{
"id" : "73F3F654-9EC5-4876-8BF6-474E22029A49",
"assets" : [
{
"url" : "http://a1.phobos.apple.com/us/r1000/000/Features/atv/AutumnResources/videos/comp_GL_G004_C010_v03_6Mbps.mov",
"accessibilityLabel" : "Greenland",
"type" : "video",
"id" : "D388F00A-5A32-4431-A95C-38BF7FF7268D",
"timeOfDay" : "day"
@hteumeuleu
hteumeuleu / gmail.html
Created August 24, 2018 12:11
Gmail Confidential Mode Email
<html>
<head></head>
<body>
<div style="width: 100%; padding: 24px 0 16px 0; background-color: #f5f5f5; text-align: center;">
<div style="display: inline-block; width: 90%; max-width: 680px; min-width: 280px; text-align: left; font-family: Roboto,Arial,Helvetica,sans-serif; font-size: 13px;" dir="ltr">
<div style="display: block; padding: 0 2px;">
<div style="display: block; background: #fff; height: 2px;"></div>
</div>
<div style="border-left: 1px solid f0f0f0; border-right: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0;">
<div style="padding: 24px 32px 24px 32px; background: #fff; border-right: 1px solid #eaeaea; border-left: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea;">
@gaieges
gaieges / docker-compose.yml
Created March 8, 2020 16:14
Homeassistant with traefik 2.2 for TLS in docker-compose in network_mode: host
version: '2.1'
services:
homeassistant:
restart: always
image: homeassistant/raspberrypi3-homeassistant
expose:
- 8123
ports:
- "8123:8123"
@thijsvos
thijsvos / rootless_docker.md
Last active March 11, 2022 15:41
Install rootless Docker and fix UFW+Docker

First run the following command.

cat <<EOF | sudo sh -x
apt-get install -y uidmap
EOF

Get rootless Docker and install.

curl -sSL https://get.docker.com/rootless | sh