I hereby claim:
- I am goblindegook on github.
- I am goblindegook (https://keybase.io/goblindegook) on keybase.
- I have a public key whose fingerprint is 4730 B887 139C 555A 90D4 B316 813B A29F 1792 5500
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # Usage: | |
| # | |
| # $ CODESHIP_API_KEY={your api key} CODESHIP_PROJECT_ID={project id} ./rebuild.py | |
| import os | |
| import json | |
| import urllib2 |
| # Your init script | |
| # | |
| # Atom will evaluate this file each time a new window is opened. It is run | |
| # after packages are loaded/activated and after the previous editor state | |
| # has been restored. | |
| # | |
| # An example hack to log to the console when each text editor is saved. | |
| # | |
| # atom.workspace.observeTextEditors (editor) -> | |
| # editor.onDidSave -> |
| 'use strict'; | |
| /** | |
| * Create requestAnimationFrame() polyfill function. | |
| * | |
| * Creates a requestAnimationFrame()-compatible function based on setTimeout(). | |
| * | |
| * @param {Number} fps Frames per second (defaults to 60). | |
| * @return {Function} requestAnimationFrame() polyfill. | |
| */ |
| # -*- mode: nginx; mode:autopair; mode: flyspell-prog; ispell-local-dictionary: "american" -*- | |
| # LearningMode; | |
| SecRulesEnabled; | |
| DeniedUrl "/RequestDenied" | |
| CheckRule "$SQL >= 8" BLOCK; | |
| CheckRule "$RFI >= 8" BLOCK; | |
| CheckRule "$TRAVERSAL >= 4" BLOCK; |
| #!/bin/bash | |
| # Usage: | |
| # $ backup-wp.sh <path> <sitename> | |
| # Requires WP-CLI: | |
| # http://wp-cli.org | |
| # Requires Andrea Fabrizi's Dropbox Uploader script: | |
| # https://github.com/andreafabrizi/Dropbox-Uploader |
| #!/bin/sh | |
| NAXSI_VERSION=0.54rc3 | |
| NGX_PAGESPEED_VERSION=1.9.32.6 | |
| NGX_CACHE_PURGE_VERSION=2.3 | |
| NGINX_VERSION=1.9.5 | |
| sudo apt-get install \ | |
| autoconf \ | |
| build-essential \ |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| /** | |
| * Sorts user sites by name in the Admin Bar. | |
| * | |
| * @param object $wp_admin_bar Admin Bar instance. | |
| */ | |
| function goblindegook_admin_bar_sort_sites( &$wp_admin_bar ) { | |
| if ( ! is_user_logged_in() ) { | |
| return; |
| <?php | |
| /* | |
| Plugin Name: Secure oEmbed | |
| Plugin URI: https://gist.github.com/goblindegook/9057159 | |
| Description: Ensure oEmbed over HTTPS. | |
| Version: 1.0 | |
| Author: Luís Rodrigues | |
| License: GPL 3.0 | |
| */ |
| server { | |
| listen 80; | |
| server_name www.example.com; | |
| rewrite ^ $scheme://example.com$request_uri?; | |
| } | |
| server { | |
| listen 80; | |
| server_name example.com; | |