This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
V=$(git describe --tags --abbrev=0) | |
Y=$(date +"%Y") | |
m=$(date +"%m") | |
d=$(date +"%d") | |
today="$(date +"%Y")$(date +"%m")$(date +"%d")" | |
verregex="([0-9]+)" | |
preregex="([0-9]{8})\.([0-9]+)" | |
bldregex="(\+[a-zA-Z]+)?" | |
regex="^v$verregex\.$verregex\.$verregex-$preregex$bldregex$" | |
if [[ $V =~ $regex ]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function () { document.getElementsByClassName("waffle-objwrap-gvizchart")[0].style.overflow = "scroll"; } ()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.alias "config --get-regexp ^alias\." | |
git config --global alias.hist "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short" | |
git config --global alias.inked "log --color=always --pretty=format:'A:%Cgreen%ad%Creset %h %Cred%cd %C(brightblue white)%D%Creset %s' --date=format:'%Y/%m/%d@%H%M' --decorate=short --decorate-refs=tags --author-date-order" | |
git config --global alias.keyed "log --color=always --pretty=format:'C:%Cred%cd%Creset %h %Cgreen%ad %C(brightblue white)%D%Creset %s' --date=format:'%Y/%m/%d@%H%M' --decorate=short --decorate-refs=tags --date-order" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# diff a specific file for now (check it exists, etc.) | |
# extract hunk texts | |
bold=$(tput bold) | |
head=$(tput smul) | |
oldd=$(tput setaf 1) | |
newd=$(tput setaf 2) | |
askq=$(tput setaf 5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nodes": [ | |
{ | |
"id": "https://content.preprod.sse.co.uk/help/phone-and-broadband/fibre-broadband-availability-and-installation-in-my-area", | |
"group": "Other environment", | |
"radius": 2 | |
}, | |
{ | |
"id": "https://www.ofcom.org.uk/__data/assets/pdf_file/0020/130736/Connected-Nations-2018-main-report.pdf", | |
"group": "Off-site", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
members = JSON.parse(document.getElementsByTagName("pre")[0].innerHTML).members | |
.reduce((p, c) => { p[c.id] = c.fullName; return p }, {}) | |
lists = JSON.parse(document.getElementsByTagName("pre")[0].innerHTML).lists | |
//.filter(x => !x.closed) | |
.reduce((p, c) => { p[c.id] = c.name; return p }, {}) | |
labels = JSON.parse(document.getElementsByTagName("pre")[0].innerHTML).labels | |
.reduce((p, c) => { p[c.id] = c.name; return p }, {}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit | |
scrolling: yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
NewerOlder