Skip to content

Instantly share code, notes, and snippets.

View renoirb's full-sized avatar

Renoir Boulanger renoirb

View GitHub Profile
@renoirb
renoirb / DIRECTIVES.md
Last active August 29, 2015 14:08
Improving (a bit) web browsing anonymity
@renoirb
renoirb / lt.md
Last active August 29, 2015 14:08 — forked from darobin/lt.md
@renoirb
renoirb / 0-Bootstrap-VM.md
Last active August 29, 2015 14:08
Getting the purpose of a node on webplatform.org
@renoirb
renoirb / index.html
Created November 17, 2014 03:51
[add your bin description] // source http://jsbin.com/voziko
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[add your bin description]" />
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
@renoirb
renoirb / index.html
Created November 17, 2014 05:25
[Fibonacci sequence]// source http://jsbin.com/voziko
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[add your bin description]" />
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
app:
provider: dreamcompute-staging
size: supersonic
image: Ubuntu-14.04-Trusty-latest
userdata_file: /srv/opsconfigs/userdata.txt
ssh_key_name: salt-renoirb
ssh_interface: private_ips
minion:
append_domain: staging.wpdn
grains:
@renoirb
renoirb / gist:26df8d5310aefaade85b
Created January 6, 2015 19:21
MediaWiki built-in log debug keys
recentchanges
MessageCache
redis
ContentHandler
recursion-guard
replication
connect
squid
SimpleAntiSpam
SwiftBackend
@renoirb
renoirb / check.sh
Created March 6, 2015 20:35
Check various FxA components
#!/bin/bash
test_bearer_token='some_bearer_token'
test_uid='some_user_uid'
echo 'Testing profile profile'
curl -k -H "Authorization: Bearer $test_bearer_token" -H 'Content-Type: application/json' "https://profile.accounts.webplatform.org/v1/session/read"
echo ''
echo 'Testing OAuth server'
@renoirb
renoirb / queries.md
Last active August 29, 2015 14:19
MediaWiki useful queries

List all page saves in content pages, for each users

    SELECT
        u.user_name AS username
        ,u.user_id AS uid, p.page_id AS pid
        ,p.page_namespace AS nid 
    FROM 
        revision rev
        ,user u
@renoirb
renoirb / DevOpsNotes.md
Last active August 29, 2015 14:20
DevOps Montreal 2015-04-04 talk notes

Packaging for easier redeployment talk notes

This is the Gist that contains notes and references I used to prepare the talk.

All of the commands I issued during the talk were run from a Vagrant sandbox using my "basesystem" salt formula as a workstation.

References