Skip to content

Instantly share code, notes, and snippets.


Fernando Ortiz nandub

View GitHub Profile
View GNAT_LLVM_make_error.log
/Library/Developer/CommandLineTools/usr/bin/make -C llvm-interface build gnatlib-automated
mkdir -p obj obj-tools bin gnat_src/vast
for f in `cd /opt/gnat-llvm/llvm-interface/gnat_src; ls xtreeprs.adb xnmake.adb *-tmpl xsnamest.adb treeprs.adt nmake.adt xoscons.adb xutil.adb`; \
do \
cp -p /opt/gnat-llvm/llvm-interface/gnat_src/$f obj-tools; \
cd obj-tools && gnatmake -q -j0 xtreeprs xnmake xsnamest xoscons && \
./xtreeprs && ./xnmake && ./xsnamest && \
mv -f nmake.adb ../obj && \
nandub / gist:978c5cdc6721293e59653fa3ae5ed313
Created Jul 30, 2018
Nook Tablet BNRV250 Root and Resources
View gist:978c5cdc6721293e59653fa3ae5ed313
#Rooting Nook Tablet BNRV250
#Resources for CM and AOSP / Lineage OS
#How to Build Lineage OS
nandub / nodenv-setup
Created Jun 16, 2018
Setup Nodenv Environment
View nodenv-setup
if [ "$arg" = "all" ]; then
nodenv install 4.8.4
nodenv install 5.12.0
nodenv install 6.14.2
nodenv install 7.10.1
nandub / form_input_filler.js
Last active May 7, 2018
greasemonkey script - form input filler
View form_input_filler.js
// ==UserScript==
// @name Form input filler
// @require
// ==/UserScript==
//var $ = unsafeWindow.jQuery;
// From
// Added: decodeURI
function getUrlVars() {
nandub / OBS_Mitmproxy_Log
Created Dec 11, 2017
Build failure of home:nandub:MyAppImages/Mitmproxy in AppImage/x86_64
View OBS_Mitmproxy_Log
Package home:nandub:MyAppImages/Mitmproxy failed to build in AppImage/x86_64
Check out the package for editing:
osc checkout home:nandub:MyAppImages Mitmproxy
Last lines of build log:
[ 520s] ++ sed -e s,:,:/,g -e s,//,/,g
[ 520s] + ZSYNC_URL=
View brew-bundle-check.log
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ack.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/acme.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/adns.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ant.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/app-engine-python.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-dupes/apple-gcc42.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/
nandub / prepare-commit-msg
Last active Jul 19, 2016 — forked from patrickkettner/prepare-commit-msg
This git hook appends "[ci skip]" to your commit message if the readme file is the only thing being touched. Read more about it here -
View prepare-commit-msg
#!/usr/bin/env bash
# a list of all files that are changing with this commit
FILES_CHANGING=$(git diff --cached --name-only --diff-filter=ACM)
# if there is only one file changing
if [ $(echo "$FILES_CHANGING" | wc -l) -eq 1 ]; then
# and that file is a readme
README_CHANGING=$(echo $FILES_CHANGING | grep -Ei "readme(.md|.txt)?$")
nandub /
Last active Aug 27, 2015
[ARCHLINUX] md5 and sha1 sum PKGBUILD updater
#!/usr/bin/env bash
#taken from by falconindy
awk -v newsums="$(makepkg -g)" '
if (!newsums) exit 1
/^[[:blank:]]*(md|sha)[[:digit:]]+sums=/,/\)[[:blank:]]*$/ {
if (!i) print newsums; i++

Keybase proof

I hereby claim:

  • I am nandub on github.
  • I am nandub ( on keybase.
  • I have a public key whose fingerprint is 7866 B614 1FBD 85A8 1681 34CD 040D 127C 758F E9CA

To claim this, I am signing this object:

View cryptography.hazmat.bindings.openssl.binding_package_missing_error
Traceback (most recent call last):
File "/usr/local/Cellar/mitmproxy/0.10.1/libexec/bin/mitmproxy", line 3, in <module>
from libmproxy import proxy, console, cmdline
File "/usr/local/Cellar/mitmproxy/0.10.1/libexec/lib/python2.7/site-packages/libmproxy/", line 3, in <module>
from OpenSSL import SSL
File "/usr/local/Cellar/mitmproxy/0.10.1/libexec/vendor/lib/python2.7/site-packages/OpenSSL/", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/local/Cellar/mitmproxy/0.10.1/libexec/vendor/lib/python2.7/site-packages/OpenSSL/", line 11, in <module>
from OpenSSL._util import (
File "/usr/local/Cellar/mitmproxy/0.10.1/libexec/vendor/lib/python2.7/site-packages/OpenSSL/", line 3, in <module>