Skip to content

Instantly share code, notes, and snippets.

View thomasn's full-sized avatar

Thomas Nichols thomasn

View GitHub Profile
Verifying my Blockstack ID is secured with the address 1DSTZjU6PraJ5iRXaT3h4GcLgGLpraAA8h https://explorer.blockstack.org/address/1DSTZjU6PraJ5iRXaT3h4GcLgGLpraAA8h
@thomasn
thomasn / ssh-mtu-errors.md
Created April 18, 2014 18:34
ssh error : SSH2_MSG_KEX_ECDH_REPLY

From some machines (with latest openssh) ssh to muddy fails - ssh -vvv -p $MUDDYPORT $MUDDYIP hangs at expecting SSH2_MSG_KEX_ECDH_REPLY

(Note: other workstations on the same network are fine).

  • ssh to bmfront01
  • cat /home/xavinsky/muddyip

Quick fix: $ sudo ip link set dev eth0 mtu 1250

@thomasn
thomasn / wip-queue.md
Last active August 29, 2015 13:56
WIP queue

From LolaGrove meeting:

  1. ScottishPower survey form
  2. mini-API - checkPassword URL

For ScottishPower survey:

See version on accept

(0) Decide survey form explanatory text

@thomasn
thomasn / craftsmanship-and-ethics.md
Created March 6, 2013 03:02
"Uncle Bob" -- Robert Martin -- Craftsmanship and Ethics
@thomasn
thomasn / launchpad-update.sh
Created July 16, 2012 13:21
Fix 'public key is not available: NO_PUBKEY' errors
for i in `sudo apt-get -qq update 2>&1 | sed 's/.*PUBKEY //'`; do sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $i; done
@thomasn
thomasn / gist:849234
Created March 1, 2011 14:57
stuff to do

Immediate

  • stats for blogs and tweets, like which new handsets we've added today - use to build a platform for reporting the changing market.
  • Move handset images to handset DB
  • Plan builder munin graphs
  • One Test for plan builder
  • Everyone on UserTest - including Stelios
  • Automating final_retry and expectation management
  • Security patching
@thomasn
thomasn / redmine_trackmine_errors.log
Created January 16, 2011 21:59
Installing the redmine_trackmine plugin breaks Rails
thomasn@wh19 ~/dev/nexus10/redmine $ RAILS_ENV=production rvm exec script/console
Loading production environment (Rails 2.3.5)
/home/thomasn/.rvm/gems/ruby-1.8.7-p302/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
thomasn@wh19 ~/dev/nexus10/redmine $ git clone git://github.com/capita/redmine_trackmine.git vendor/plugins/redmine_trackmine
Cloning into vendor/plugins/redmine_trackmine...
remote: Counting objects: 2648, done.
remote: Compressing objects: 100% (1989/1989), done.
remote: Total 2648 (delta 509), reused 2583 (delta 469)
Receiving objects: 100% (2648/2648), 9.73 MiB | 2.62 MiB/s, done.
Resolving deltas: 100% (509/509), done.
thomasn@titan /tmp/b/a
$ ls -la
total 4
drwxr-xr-x 3 thomasn thomasn 96 Nov 26 12:58 .
drwxr-xr-x 3 thomasn thomasn 72 Nov 26 12:54 ..
drwxr-xr-x 7 thomasn thomasn 400 Nov 26 12:59 .git
-rw-r--r-- 1 thomasn thomasn 4 Nov 26 12:58 f1
thomasn@titan /tmp/b/a
$ git pull
remote: Counting objects: 3, done.
titan package.unmask # ls -la
total 24
drwxr-xr-x 2 root root 112 Oct 17 21:26 .
drwxr-xr-x 6 root root 304 Oct 17 01:21 ..
-rw-r--r-- 1 thomasn thomasn 11117 Oct 17 21:26 kde-3.5-bomb
-rw-r--r-- 1 thomasn thomasn 11115 Oct 17 21:24 kde-3.5-bomb~
@thomasn
thomasn / gist:631233
Created October 17, 2010 20:19
package.unmask causing pkgcore failure
=kde-base/arts-3.5*
=kde-base/kdenetwork-3.5*
=kde-base/mimelib-3.5*
=kde-base/superkaramba-3.5*
=kde-base/kdejava-3.5*
=kde-base/kcachegrind-3.5*
=kde-base/kdeedu-applnk-3.5*
=kde-base/noatun-plugins-3.5*
=kde-base/quanta-3.5*
=kde-base/nsplugins-3.5*