Web-apps and Tips to Transform a .SVG to Shields; and some Examples of Shields with Custom Icons
- Download the SVG image logo
#!/usr/bin/env python3 | |
''' | |
Filter to wrap Pandoc's CodeBlocks into minted blocks when using latex. | |
Pandoc's `fence_code_attributes` can be used to provide: | |
- the language (first class) | |
- minted's argumentless options (following classes) | |
- minted's options with arguments (attributes) | |
''' |
Web-apps and Tips to Transform a .SVG to Shields; and some Examples of Shields with Custom Icons
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
usage() { | |
cat <<EOF | |
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
<body onload=z=c.getContext`2d`,setInterval(`c.width=W=150,Y<W&&P<Y&Y<P+E|9<p?z.fillText(S++${Y=`,9,9|z.fillRect(p`}*0,Y-=--M${Y+Y},P+E,9,W),P))):p=M=Y=S=6,p=p-6||(P=S%E,W)`,E=49) onclick=M=9><canvas id=c> |
I hereby claim:
To claim this, I am signing this object:
def distance(s, t, cache=None): | |
"""Return minimum edit distance between s and t, where an edit | |
is a character substitution, deletion, or addition. | |
""" | |
if not s: | |
return len(t) | |
if not t: | |
return len(s) | |
if cache is None: |
@import url('//fonts.googleapis.com/css?family=Tangerine'); | |
/* The ribbons */ | |
.corner-ribbon { | |
font-family: "Tangerine",sans-serif; | |
width: 400px; | |
background: #e43; | |
position: absolute; | |
top: 50px; | |
left: -100px; |
#!/usr/bin/env bash | |
# Semi-automatically update dx.doi.org links on GitHub to https://doi.org. | |
# | |
# Usage: | |
# 1. Copy this gist into a local folder of yours (e.g. ~/forks/). | |
# 2. Make it executable with `chmod +x ~/path/to/clone-rm-dx.sh` | |
# 3. Install the gfork Node.js package and its dependencies. | |
# 4. Find target repos on https://github.com/search?o=desc&q=dx.doi&s=indexed&type=Code&utf8=%E2%9C%93 | |
# 5. Insepct the code: can `dx.doi.org` be savely updated? Inspect tests, |
#!/usr/bin/env sh | |
# Works with merlin version 2.5.4. Using protocol described at | |
# https://github.com/ocaml/merlin/blob/master/doc/dev/OLD-PROTOCOL.md#type-checking | |
usage () | |
{ | |
echo Usage: either of the following will work: | |
echo | |
echo ' sig module.ml' |