A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch packages/phoenix-data" HEAD | |
rm -rf .git/refs/original/ | |
git reflog expire --all && git gc --aggressive --prune |
A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
^(.*)(\r?\n\1)+$
$1
ORGANIZATION=<organization name> | |
curl -s https://api.github.com/orgs/$ORGANIZATION/repos\?per_page\=200&access_token=<access_token> | grep clone_url | awk -F '"' '{print $4}' | xargs -n 1 -P 4 git clone |
zip -9 -rq $(echo Archive-Name-$(date +%y%m%d%H%M).zip) . -x \*.git\* -x \*.zip\* -x \*.DS_Store\* |
// Promise while that return promise | |
var P = require('bluebird'); | |
var promiseWhile = P.method(function(condition, action) { | |
if (!condition()) {return;} | |
return action().then(promiseWhile.bind(null, condition, action)); | |
}); | |
/* |
import sys | |
import codecs | |
if (len(sys.argv) < 2): | |
print('Usage: python3 ./delete_duplicate_lines.py /path/to/target/file') | |
sys.exit(1) | |
def uniquelines(lineslist): | |
unique = {} | |
result = [] |
{"lastUpload":"2021-01-25T12:41:54.588Z","extensionVersion":"v3.4.3"} |
// Atom settings |