I hereby claim:
- I am ideasasylum on github.
- I am ideasasylum (https://keybase.io/ideasasylum) on keybase.
- I have a public key whose fingerprint is ED31 FE9E E32F 0D88 27FB CB25 A4DF 38FA A95D 637D
To claim this, I am signing this object:
| // originally found in a comment on: http://www.secretgeek.net/trello_ws | |
| var s = []; | |
| s.push("# " + jQuery(".board-header").children()[0].innerText); | |
| jQuery(".list:has(.list-header-name)").each(function() { | |
| s.push("\n## " + jQuery(this).find(".list-header-name")[0].innerText + "\n"); | |
| jQuery(this).find(".list-card-title").each(function() { | |
| s.push("* " + this.innerText); | |
| }); | |
| }); |
| // ==UserScript== | |
| // @name Translate Amazon | |
| // @namespace http://your.homepage/ | |
| // @version 0.1 | |
| // @description Translate the Amazon service names into plain English. See https://www.expeditedssl.com/aws-in-plain-english | |
| // @author @ideasasylum | |
| // @match https://*.console.aws.amazon.com/console/home?* | |
| // @grant none | |
| // ==/UserScript== |
| box: debian | |
| build: | |
| steps: | |
| - arjen/hugo-build: | |
| version: "0.15" | |
| theme: "rw-theme" | |
| deploy: | |
| steps: |
| // ==UserScript== | |
| // @name Translate Amazon | |
| // @namespace http://ideasasylum.com | |
| // @version 0.1 | |
| // @description Translate the Amazon service names into plain English. See https://www.expeditedssl.com/aws-in-plain-english | |
| // @author @ideasasylum | |
| // @match https://*.console.aws.amazon.com/console/home?* | |
| // @grant none | |
| // ==/UserScript== |
| module PreviouslyDirty | |
| extend ActiveSupport::Concern | |
| include ActiveModel::AttributeMethods | |
| included do | |
| attribute_method_suffix '_previously_changed?', '_previously_was' | |
| end | |
| # Handle <tt>*_previously_changed?</tt> for +method_missing+. | |
| def attribute_previously_changed?(attr, options = {}) #:nodoc: |
I hereby claim:
To claim this, I am signing this object:
| require 'open3' | |
| require 'rainbow' | |
| desc "Upgrade gems" | |
| namespace :upgrade do | |
| desc "Find a random gem to update" | |
| task :bingo => :environment do | |
| cmd = 'bundle outdated' | |
| stdout, stderr, status = Open3.capture3(cmd) |
| Rails.application.eager_load! | |
| class ActiveRecordDependancyGraph | |
| include TSort | |
| attr_reader :graph | |
| def initialize root_model | |
| @graph = {} | |
| @model = root_model | |
| fetch_children @model |
| class CharacterFrequency | |
| include Enumerable | |
| # Take an AR collection and a block to extract the attribute value | |
| def initialize collection, &block | |
| @collection = collection | |
| @block = block | |
| end | |
| def print |