Skip to content

Instantly share code, notes, and snippets.


Ollivier Robert keltia

View GitHub Profile
keltia / # mutt - 2019-03-29_09-43-55.txt
Created Apr 5, 2019
mutt on macOS 10.14.3 - Homebrew build logs
View # mutt - 2019-03-29_09-43-55.txt
Homebrew build logs for mutt on macOS 10.14.3
Build date: 2019-03-29 09:43:55
keltia /
Created Apr 17, 2018
Generate a SPKI hash for Stubby
echo | openssl s_client -connect '' 2>/dev/null | openssl x509 -pubkey -noout | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64
# replace by
keltia /
Created Apr 10, 2017
Migrate all gems from one Ruby version to another, useful when using `rbenv`
#!/bin/zsh -i
# if you're using ZSH, change the shebang above to "#!/bin/zsh -i"
eval "$(rbenv init -)"
if [ ${#} -ne 2 ]; then
echo >&2 Usage: $(basename ${0}) old-version new-version
exit 1
keltia /
Last active Mar 9, 2016
Quick & dirty...

Quick & dirty


fork de foo/bar en moi/bar

En local

git clone

git remote add upstream # pour les git fetch d'après

keltia / gist:11371812
Created Apr 28, 2014
Easiest SPF entry (RFC-7208)
View gist:11371812
@ TXT "v=spf1 ip4: ip6:::/0 ?all"
keltia / gist:10989573
Last active Aug 29, 2015
Fetch public keys for "User ID not found" signatures on a given key
View gist:10989573
gpg --with-colons --list-sigs <keyid> | awk -F: '$10 ~/not found/{print $5}'| xargs gpg --recv-keys
keltia /
Created Mar 8, 2014
### Keybase proof

Keybase proof

I hereby claim:

  • I am keltia on github.
  • I am roberto ( on keybase.
  • I have a public key whose fingerprint is 6E4B 152C D90D E292 5B97 D338 8BE8 79B0 2873 1E1C

To claim this, I am signing this object:

keltia /
Created Apr 3, 2012 — forked from erikh/
OSX For Hackers
#!/usr/bin/env sh
# This is script with usefull tips taken from:
# install it:
# curl -sL | sh
keltia / gist:1559414
Created Jan 4, 2012
Running radiant:extensions:clipped:migrate_from_page_attachments
View gist:1559414
I mau have missed something during the 0.7.1 -> 0.9.1 migration...
1227 [11:05] roberto@centre:/www/oradiant> bundle exec rake production radiant:extensions:clipped:migrate_from_page_attachments
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.Gem.source_index called from /home/staff/roberto/.rvm/gems/ruby-1.9.3-p0@1.9.3/gems/rails-2.3.14/lib/rails/gem_dependency.rb:21.This task can clean up traces of the page_attachments (think table records and files currently in /public/page_attachments).
If you would like to use this mode type "yes", type "no" or just hit enter to leave them untouched for now.
rake aborted!
PGError: ERROR: relation "old_page_attachments" does not exist
LINE 4: WHERE a.attrelid = '"old_page_attachments"'::re...