Skip to content

Instantly share code, notes, and snippets.

View tomibennett's full-sized avatar

Thomas Bennett tomibennett

View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

Server comparison

linkprovidernametypecpucores/threadsFreq.RAMROMnetworkprice TTC/m - €price TTC/y - €Comments
linkOVHKS-1dedicatedIntel Atom D4251c/2t1.8GHz2GB DDR3 1066MHz500GB100 Mbps7.1986.28unavailable
linkOVHKS-2EdedicatedIntel Atom N28002c/4t1.86GHz4GB DDR3 1066MHz2TB100 Mbps9.59115.08
[[https://www.online.ne
"QmfWmDik4MmWaFsCix3ZHnYheXpo7J367Q9vNLUGoSk9gZ"
@tomibennett
tomibennett / gist:ee01f670f29217457cc875ebab5cb6d0
Created August 12, 2017 15:29
bad credentials but still having a client
irb(main):001:0> require 'ipfs-api'
=> true
irb(main):002:0> client = Ipfs::Client.new host: "192.168.1.42", port: 1337, base_path: '/api/v1' # neither of these options are correct
=> #<Ipfs::Client:0x007fc514afd350 @request=#<Ipfs::Request:0x007fc514afd328 @host="192.168.1.42", @port=1337, @base_path="/api/v1">>
irb(main):007:0> client.id # looking for the api for a very, very, very, long time...
^CIRB::Abort: abort then interrupt!
from /Users/tom/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/http-2.2.2/lib/http/timeout/null.rb:20:in `initialize'
from /Users/tom/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/http-2.2.2/lib/http/timeout/null.rb:20:in `open'
from /Users/tom/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/http-2.2.2/lib/http/timeout/null.rb:20:in `connect'
from /Users/tom/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/http-2.2.2/lib/http/connection.rb:41:in `initialize'
precmd() {
echo -ne "\e]2;$USER - $PWD\a" # window title
echo -ne "\e]1;${PWD/$HOME/~}\a" # tab title
}
# Filename: /etc/zsh/zshrc
# Purpose: config file for zsh (z shell)
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.