Skip to content

Instantly share code, notes, and snippets.

View todrobbins's full-sized avatar
⌨️
beep boop

Tod Robbins todrobbins

⌨️
beep boop
View GitHub Profile
@todrobbins
todrobbins / mediawiki.md
Created September 15, 2020 22:55
mediwiki upgrade error
Upgrading: Error: A database query has failed. Is the entered database information correct? Does the account have available disk space? type = mysql host = localhost database = dmbwiki_mw3 username = dmbwiki_mw3 password = **HIDDEN** Technical information: method = query arguments = array ( 0 => 'UPDATE `mw_actor` SET `actor_name`=? WHERE `actor_name`=?', 1 => array ( 0 => 'Admin', 1 => 'Adminadmin123', ), 2 => NULL,) errstr = Technical Error: 1146 Table 'dmbwiki_mw3.mw_actor' doesn't existUPDATE `mw_actor` SET `actor_name`='Admin' WHERE `actor_name`='Adminadmin123' 
(venv) ➜ fedireads git:(master) pip3 install -r requirements.txt
Requirement already satisfied: celery==4.4.2 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 1)) (4.4.2)
Requirement already satisfied: Django==3.0.3 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 2)) (3.0.3)
Requirement already satisfied: django-model-utils==4.0.0 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 3)) (4.0.0)
Requirement already satisfied: environs==7.2.0 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 4)) (7.2.0)
Requirement already satisfied: flower==0.9.4 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 5)) (0.9.4)
Requirement already satisfied: Pillow==7.0.0 in ./venv/lib/python3.7/site-packages (from -r requirements.txt (line 6)) (7.0.0)
Collecting psycopg2==2.8.4
Using cached psycopg2-2.8.4.tar.gz (377 kB)
Collecting pycryptodome==3.9.4
@todrobbins
todrobbins / bundle exec jekyll build --trace
Created February 21, 2020 04:33
Liquid Exception: undefined method `[]' for nil:NilClass in office/us-president/index.md
Liquid Exception: undefined method `[]' for nil:NilClass in office/us-president/index.md
bundler: failed to load command: jekyll (/Users/trobbins/.gem/ruby/2.6.0/bin/jekyll)
NoMethodError: undefined method `[]' for nil:NilClass
/Library/Ruby/Gems/2.6.0/gems/jekyll-3.8.5/lib/jekyll/filters.rb:323:in `block in item_property'
/Library/Ruby/Gems/2.6.0/gems/jekyll-3.8.5/lib/jekyll/filters.rb:322:in `each'
/Library/Ruby/Gems/2.6.0/gems/jekyll-3.8.5/lib/jekyll/filters.rb:322:in `reduce'
/Library/Ruby/Gems/2.6.0/gems/jekyll-3.8.5/lib/jekyll/filters.rb:322:in `item_property'
/Library/Ruby/Gems/2.6.0/gems/jekyll-3.8.5/lib/jekyll/filters.rb:184:in `block in where'
/Library/Ruby/Gems/2.6.0/gems/jekyll-3.8.5/lib/jekyll/filters.rb:183:in `select'
/Library/Ruby/Gems/2.6.0/gems/jekyll-3.8.5/lib/jekyll/filters.rb:183:in `where'
@todrobbins
todrobbins / log.md
Last active November 18, 2019 05:22
yahoo-groups-backup install failure
➜  yahoo-groups-backup git:(master) pip3 install -r requirements.txt
Requirement already satisfied: docopt==0.6.2 in /usr/local/lib/python3.7/site-packages (from -r requirements.txt (line 1)) (0.6.2)
Requirement already satisfied: pymongo==3.2.2 in /usr/local/lib/python3.7/site-packages (from -r requirements.txt (line 2)) (3.2.2)
Requirement already satisfied: python-dateutil==2.5.3 in /usr/local/lib/python3.7/site-packages (from -r requirements.txt (line 3)) (2.5.3)
Collecting pyyaml==3.11
  Using cached https://files.pythonhosted.org/packages/75/5e/b84feba55e20f8da46ead76f14a3943c8cb722d40360702b2365b91dec00/PyYAML-3.11.tar.gz
Collecting requests==2.10.0
  Using cached https://files.pythonhosted.org/packages/99/b4/63d99ba8e189c47d906b43bae18af4396e336f2b1bfec86af31efe2d2cb8/requests-2.10.0-py2.py3-none-any.whl
Processing /Users/trobbins/Library/Caches/pip/wheels/da/6f/e5/dc3f5a59d16fd7af433de8819e83ebfb0a3b04773f1c8f0fb8/schema-0.5.0-cp37-none-any.whl
@todrobbins
todrobbins / index.md
Last active August 14, 2019 17:58
blue aliases
alias bp='(cd /Users/todrobbins/dev/beakerbrowser/blue/beaker && git pull) && (cd /Users/todrobbins/dev/beakerbrowser/blue/beaker-app-stdlib && git pull) && (cd /Users/todrobbins/dev/beakerbrowser/blue/beaker-core && git pull) && (cd /Users/todrobbins/dev/beakerbrowser/blue/beaker-library-app && git pull) && (cd /Users/todrobbins/dev/beakerbrowser/blue/beaker-sidebar-app && git pull) && (cd /Users/todrobbins/dev/beakerbrowser/blue/beaker-start-app && git pull)'
alias bi='(cd /Users/todrobbins/dev/beakerbrowser/blue/beaker-app-stdlib && npm install) && (cd /Users/todrobbins/dev/beakerbrowser/blue/beaker-core && npm install) && (cd /Users/todrobbins/dev/beakerbrowser/blue/beaker-library-app && npm install) && (cd /Users/todrobbins/dev/beakerbrowser/blue/beaker-sidebar-app && npm install) && (cd /Users/todrobbins/dev/beakerbrowser/blue/beaker-start-app && npm install) && (cd /Users/todrobbins/dev/beakerbrowser/blue/beaker && npm install) && (cd /Users/todrobbins/dev/beakerbrowser/blue/beaker && npm run r
@todrobbins
todrobbins / blue.md
Created June 14, 2019 03:48
beaker blue log
➜  beaker git:(blue) BEAKER_USER_DATA_PATH=~/blue/my-profile npm start

> beakerbrowser@ start /Users/todrobbins/dev/beakerbrowser/blue/beaker
> gulp start

[21:47:10] Using gulpfile ~/dev/beakerbrowser/blue/beaker/gulpfile.js
[21:47:10] Starting 'start'...
[21:47:10] Starting '<anonymous>'...
Spawning electron /Users/todrobbins/dev/beakerbrowser/blue/beaker/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron
@todrobbins
todrobbins / error.md
Last active June 10, 2019 18:34
hyperpad-desktop build error log
➜  hyperpad-desktop git:(master) npm install

> utp-native@1.7.3 install /Users/todrobbins/dev/noffle/hyperpad-desktop/node_modules/utp-native
> node-gyp-build

  CXX(target) Release/obj.target/libutp/deps/libutp/utp_internal.o
../deps/libutp/utp_internal.cpp:1970:34: warning: comparison of integers of different signs: 'int' and 'uint32' (aka 'unsigned int') [-Wsign-compare]
                if (conn->mtu_probe_seq && seq == conn->mtu_probe_seq) {
                                           ~~~ ^  ~~~~~~~~~~~~~~~~~~~
@todrobbins
todrobbins / README.md
Last active March 6, 2019 16:33
install youtube-dl on macOS

because my younger brother is always asking how to do this: instructions

  1. Open the Terminal app
  2. Copy and paste the following into Terminal:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. Hit Enter
  2. Copy and paste the following into Terminal:
@todrobbins
todrobbins / cabal-debug.js
Created November 8, 2018 16:35
Cabal debug for cabal://0c6247a6378074257854a66ea5bc90fd6268a0eb5f0d896e55e59e2c3ca6cb1e
/usr/local/lib/node_modules/cabal/commands.js:79
var stream = self.cabal.db.createHistoryStream()
^
TypeError: self.cabal.db.createHistoryStream is not a function
at Object.call (/usr/local/lib/node_modules/cabal/commands.js:79:36)
at Commander.process (/usr/local/lib/node_modules/cabal/commands.js:119:24)
at EventEmitter.NeatScreen.neat.input.on (/usr/local/lib/node_modules/cabal/neat-screen.js:24:56)
at EventEmitter.emit (events.js:182:13)
at onenter (/usr/local/lib/node_modules/cabal/node_modules/neat-input/index.js:171:11)
@todrobbins
todrobbins / game.txt
Created June 17, 2018 05:21
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[144,"0",3,"a",17,"0",1,"a",140,"0",1,"a",17,"0",3,"a",48,"0",4,"e",14,"0",1,"a",15,"0",1,"a",75,"0",1,"a",48,"0",6,"e",73,"0",1,"a",20,"0",1,"a",37,"0",1,"a",19,"0",9,"e",150,"0",10,"e",1,"0",9,"e",49,"0",6,"a",85,"0",21,"e",47,"0",12,"a",27,"0",1,"a",52,"0",9,"e",1,"f",11,"e",48,"0",17,"a",20,"0",3,"a",46,"0",1,"e",3,"f",9,"e",3,"f",10,"e",31,"0",1,"a",19,"0",16,"a",19,"0",1,"a",22,"0",1,"a",22,"0",5,"e",2,"f",6,"e",2,"f",13,"e",30,"0",3,"a",18,"0",17,"a",40,"0",3,"a",20,"0",8,"e",1,"f",4,"e",2,"f",5,"e",1,"f",8,"e",31,"0",1,"a",20,"0",17,"a",40,"0",1,"a",21,"0",8,"e",2,"f",4,"e",1,"f",1,"e",1,"f",4,"e",1,"f",6,"e",56,"0",15,"a",28,"0",1,"a",32,"0",10,"e",1,"f",2,"e",1,"f",3,"e",2,"f",9,"e",18,"0",1,"a",41,"0",11,"a",61,"0",10,"e",3,"f",1,"e",1,"9",2,"e",1,"f",3,"e",1,"f",7,"e",44,"0",1,"a",15,"0",11,"a",50,"0",1,"a",9,"0",10,"e",1,"f",1,"e",1,"f",1,"e",3,"9",2,"e",1,"f",3,"e",1,"f",5,"e",61,"0",10,"a",61,"0",14,"e",1,"9",1,"0",1,"f",11,"e",62,"0",9,"a",65,"0",7,