Skip to content

Instantly share code, notes, and snippets.

@peterwake
peterwake / notes.md
Created March 3, 2017 12:21
Adding new language to existing Pootle project under pootle_fs_git

You may have to delete the existing project (don't try this next time) (Assuming Pootle in /var/www/pootle)

cd /var/www/pootle
source env/bin/activate

pootle fs fetch --force MYPROJECT
pootle fs sync MYPROJECT
@peterwake
peterwake / adfs-utils.rb
Created November 3, 2016 10:03
A utility snippet to check metadata for use in Devise Omniauth
require 'rest_client'
require 'uri/http'
require 'nokogiri'
require 'base64'
puts
puts
puts 'Federation Metadata Checker'
puts '==========================='
puts