Skip to content

Instantly share code, notes, and snippets.

💭
Busy pounding the keyboard

Egbert egberts

💭
Busy pounding the keyboard
  • US
View GitHub Profile
View common-domain-prefix-suffix-list.tsv
Rank Type Prefix/Suffix
1. Prefix my+
2. Suffix +online
3. Prefix the+
4. Suffix +web
5. Suffix +media
6. Prefix web+
7. Suffix +world
8. Suffix +net
9. Prefix go+
View gist:d08dc28e4c5db84728056de2ffa381ff
#!/bin/bash
BASENAME=`basename $0`
TMPFILE="/tmp/$BASENAME-lib.tmp"
echo "$BASENAME: Validate target binary and its libraries checksum"
TARGET_BINARY=$1
PACKAGES_FOUND="`apt-file search --fixed-string ${TARGET_BINARY}`"
if [ -z "${PACKAGES_FOUND}" ]; then
echo "No package found for ${TARGET_BINARY}."
exit 1
fi
@egberts
egberts / rest.py
Created May 11, 2018 — forked from tliron/rest.py
Simple and functional REST server for Python (2.7) using no dependencies beyond the Python standard library.
View rest.py
#!/usr/bin/env python
'''
Simple and functional REST server for Python (2.7) using no dependencies beyond the Python standard library.
Features:
* Map URI patterns using regular expressions
* Map any/all the HTTP VERBS (GET, PUT, DELETE, POST)
* All responses and payloads are converted to/from JSON for you
View keybase.md

Keybase proof

I hereby claim:

  • I am egberts on github.
  • I am egberts (https://keybase.io/egberts) on keybase.
  • I have a public key ASAzaBAPetjVeor5r1ILVJ4hIOvn_YWYWWj_GaiCbZgAmwo

To claim this, I am signing this object:

@egberts
egberts / console-output
Created Jul 7, 2016
js-beautify NPM error
View console-output
[root js-beautify-master]# ./build
Building python module...
Obtaining file:///tmp/js-beautify-master/python
Requirement already satisfied (use --upgrade to upgrade): six>=1.6.1 in /usr/lib/python2.7/site-packages (from jsbeautifier==1.6.3)
Installing collected packages: jsbeautifier
Running setup.py develop for jsbeautifier
Successfully installed jsbeautifier-1.6.3
Building javascript...
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/nopt
You can’t perform that action at this time.