https://mermaid.js.org/syntax/block.html
block-beta
columns 4
rect1["Rectangle ❤"]
rounded1("Rounded edges")
sub1[["Subroutine"]]
db1[("Database")]
circle1(("Circle"))
https://mermaid.js.org/syntax/block.html
block-beta
columns 4
rect1["Rectangle ❤"]
rounded1("Rounded edges")
sub1[["Subroutine"]]
db1[("Database")]
circle1(("Circle"))
#!/usr/bin/env python | |
# Very small script to list my pagerduty incidents, | |
# useful to give a quick report about my oncall shift. | |
# | |
# https://github.com/PagerDuty/pdpyras | |
import os | |
import pdpyras | |
import dateutil.parser | |
import pytz |
### Keybase proof | |
I hereby claim: | |
* I am dnozay on github. | |
* I am dnozay (https://keybase.io/dnozay) on keybase. | |
* I have a public key ASDwG1XeASnSt-x2dXIhT_fly2zyhqMcgVbytdebmg0TGgo | |
To claim this, I am signing this object: |
# https://stackoverflow.com/a/34620310/1733117 | |
import sys | |
import dis | |
import random | |
watchme = 123 | |
def foo(): | |
global watchme |
#!/bin/bash | |
# https://apple.stackexchange.com/questions/33600/ | |
# Fix bug where osx dock still shows when going fullscreen | |
defaults write com.apple.dock autohide-delay -float 0 | |
defaults write com.apple.dock autohide-time-modifier -float 0.14 | |
killall Dock |
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
pdf-diff lorem-ipsum1.pdf lorem-ipsum2.pdf > diff.png
digraph cloud_platform { | |
rankdir=LR | |
splines=ortho | |
subgraph cluster_1 { | |
11 -> 12 -> 13 -> 14 | |
} | |
subgraph cluster_2 { | |
21 -> 22 -> 23 -> 24 |
The MIT License | |
Copyright (c) 2020, Damien Nozay | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
// exercise issue. | |
// https://github.com/semaphoreci/agent/pull/77 | |
package main | |
import ( | |
"fmt" | |
petname "github.com/dustinkirkland/golang-petname" | |
) |