Skip to content

Instantly share code, notes, and snippets.

View rwieruch's full-sized avatar
👋
Hi there!

Robin Wieruch rwieruch

👋
Hi there!
View GitHub Profile
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 297 297" style="enable-background:new 0 0 297 297;" xml:space="preserve">
<g>
<path d="M113.636,272.638c-2.689,0-5.267-1.067-7.168-2.97L2.967,166.123c-3.956-3.957-3.956-10.371-0.001-14.329l54.673-54.703
c1.9-1.9,4.479-2.97,7.167-2.97c2.689,0,5.268,1.068,7.169,2.969l41.661,41.676L225.023,27.332c1.9-1.901,4.48-2.97,7.168-2.97l0,0
c2.688,0,5.268,1.068,7.167,2.97l54.675,54.701c3.956,3.957,3.956,10.372,0,14.328L120.803,269.668
C118.903,271.57,116.325,272.638,113.636,272.638z M24.463,158.958l89.173,89.209l158.9-158.97l-40.346-40.364L120.803,160.264
@rwieruch
rwieruch / example.com
Created May 25, 2019 11:57
HTTP Static Website
server {
listen 80;
listen [::]:80;
root /var/www/example.com/html/production;
index index.html index.htm index.nginx-debian.html;
server_name example.com www.example.com;
location / {
@rwieruch
rwieruch / example.com
Created May 25, 2019 11:57
HTTPS Static Website
# Expires map
map $sent_http_content_type $expires {
default off;
text/html epoch;
text/css max;
application/javascript max;
~image/ max;
}
server {
@rwieruch
rwieruch / gist:a8c42602fc4e21c7081f83d492f14714
Created June 5, 2018 08:22
Upgrade Hugo on Ubuntu Digital Ocean
hugo version
sudo apt-get remove hugo
wget https://github.com/gohugoio/hugo/releases/download/v0.41/hugo_0.41_Linux-64bit.deb
sudo dpkg -i hugo*.deb
hugo version
@rwieruch
rwieruch / index.html
Created April 3, 2015 14:54
D3 on Angular: Reusable Components (click and drag to brush, click to remove brush)
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font: 12px sans-serif;
}
.background {
fill: url(#background-gradient);
@rwieruch
rwieruch / index.html
Last active August 29, 2015 14:12
D3 on Angular: Small Multiples with Brushing (click to undo brush)
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font: 12px sans-serif;
}
.background {
fill: url(#background-gradient);
@rwieruch
rwieruch / data.tsv
Created December 31, 2014 13:14
Apple Health Bar Chart
date rate
1-Jan-15 210.73
1-Dec-14 196.97
1-Nov-14 189.31
1-Oct-14 180.86
1-Sep-14 165.30
1-Aug-14 166.43
1-Jul-14 142.83
1-Jun-14 139.35
1-May-14 127.24
@rwieruch
rwieruch / data.tsv
Last active October 16, 2022 16:32
Apple Health Line Chart
date rate
1-Jan-15 210.73
1-Dec-14 196.97
1-Nov-14 189.31
1-Oct-14 180.86
1-Sep-14 165.30
1-Aug-14 166.43
1-Jul-14 142.83
1-Jun-14 139.35
1-May-14 127.24