Setup:
# set CONTRIBUTORS file to mailmap to remove duplicate emails for the same name
# see: https://git-scm.com/docs/git-shortlog#_mapping_authors
$ git config mailmap.file CONTRIBUTORSTop 10 contributors (all):
| # This gist is compatible with Ansible 1.x . | |
| # For Ansible 2.x , please check out: | |
| # - https://gist.github.com/dmsimard/cd706de198c85a8255f6 | |
| # - https://github.com/n0ts/ansible-human_log | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # |
| <?php | |
| /* | |
| Plugin Name: Gravity Forms Queue Listener | |
| */ | |
| class GravityFormsQueueListener { | |
| function __construct() { | |
| add_action('wp_loaded', array($this,'process_push_queue_msg'), 10 ); | |
| add_action('gform_after_submission', array( $this, 'send_to_ironio'), 10, 2); |
| @echo off | |
| cygwin-shim.bat /bin/ansible-galaxy %* |
| // array utils | |
| // ================================================================================================= | |
| const combine = (...arrays) => [].concat(...arrays); | |
| const compact = arr => arr.filter(Boolean); | |
| const contains = (() => Array.prototype.includes | |
| ? (arr, value) => arr.includes(value) | |
| : (arr, value) => arr.some(el => el === value) |
| /* bling.js */ | |
| window.$ = document.querySelector.bind(document); | |
| window.$$ = document.querySelectorAll.bind(document); | |
| Node.prototype.on = window.on = function(name, fn) { this.addEventListener(name, fn); }; | |
| NodeList.prototype.__proto__ = Array.prototype; | |
| NodeList.prototype.on = function(name, fn) { this.forEach((elem) => elem.on(name, fn)); }; |
| { | |
| "env": { | |
| "browser": true, | |
| "node": true, | |
| "es6": true | |
| }, | |
| "plugins": ["react"], | |
| "ecmaFeatures": { |
| # -*- coding: utf-8 -*- | |
| """ | |
| This script is forked originally from Dave Jeffery. The original implementation | |
| was very slow and deleted around 2 tweets per second. Making it multithreaded I | |
| am able to delete 30-50 tweets per second. | |
| @author: vik-y | |
| ---------------------------------------------------------------------------- | |
| This script will delete all of the tweets in the specified account. |
| #!/usr/bin/env bash | |
| ########################################### | |
| # Install Terraforming and export AWS # | |
| # @author Adam Eivy # | |
| ########################################### | |
| ### | |
| # echo helper functions | |
| ### |
Setup:
# set CONTRIBUTORS file to mailmap to remove duplicate emails for the same name
# see: https://git-scm.com/docs/git-shortlog#_mapping_authors
$ git config mailmap.file CONTRIBUTORSTop 10 contributors (all):
| #!/usr/bin/env ruby | |
| # | |
| # Script to encrypt the contents of an entire S3 bucket | |
| # | |
| # This works by copying each object in the bucket onto | |
| # itself while modifying its server_side_encryption attribute | |
| # | |
| # | |
| ############################################################## |