I hereby claim:
- I am dawnpaladin on github.
- I am dawnpaladin (https://keybase.io/dawnpaladin) on keybase.
- I have a public key ASBLfAFGQNGRMKsLaTaBkMa0Lb8eW4Gz5OScdPLiTOWv_Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| "workbench.colorCustomizations": { // https://code.visualstudio.com/api/references/theme-color | |
| "editor.background": "#120818", | |
| "sideBar.background": "#331421", | |
| "activityBar.background": "#120818", | |
| "activityBarBadge.background": "#EA428B", | |
| "titleBar.activeBackground": "#240b20", | |
| "titleBar.inactiveBackground": "#1e1327", | |
| "statusBar.background": "#2e0e29", | |
| "editorGroupHeader.tabsBackground": "#220b2c", | |
| "tab.activeBackground": "#4d2466", |
| /** Activate/deactivate various scripts depending on the width of the window. */ | |
| var responsiveJS = (function() { | |
| var registry = []; | |
| if (!jQuery) console.warn("jQuery not present. Responsively loading scripts from URLs will be unavailable."); | |
| /** | |
| * Add an entry to the list of scripts which will run if the window is the right width. | |
| * @param {Object} entry | |
| * @param {string} [entry.name] - Name of the entry |
| /****************** | |
| User custom JS | |
| --------------- | |
| Put JS-functions for your template here. | |
| If possible use a closure, or add them to the general Template Object "Template" | |
| */ | |
| $(document).on('ready pjax:scriptcomplete',function(){ |
| // loader.js | |
| /** | |
| * Loads all the scripts passed to it, returning a promise that they've all loaded. | |
| * @param {string[]} urls: An array of URLs to load | |
| * @param {boolean} async Load asynchronously | |
| * @param {boolean} debug Enable to print a console message when a script starts and finishes loading | |
| * @returns {promise} A promise that all the URLs have loaded | |
| */ | |
| function loadScripts(urls, async, debug) { |
| div[title="Hangouts"] .qb { | |
| display: none; | |
| } |
| /* | |
| * Your Stylesheet | |
| * | |
| * This stylesheet is loaded when Atom starts up and is reloaded automatically | |
| * when it is changed and saved. | |
| * | |
| * Add your own CSS or Less to fully customize Atom. | |
| * If you are unfamiliar with Less, you can read more about it here: | |
| * http://lesscss.org | |
| */ |
| require 'rails_helper' | |
| describe SecretsController do | |
| context "logged in user submitting valid data" do | |
| describe "#create" do | |
| it "creates a new secret" do | |
| user = create(:user) | |
| session[:user_id] = user.id | |
| secret = build(:secret) |
| pile = sock_pile([:black, :white, :red], 2) | |
| def advanced(sock_pile) | |
| sock_book = Hash.new {|h,k| h[k] = [] } | |
| pairs = [] | |
| sock_pile.each do |sock| | |
| if sock_book[sock].length > 0 | |
| pairs.push([sock, sock_book[sock].pop]) | |
| else | |
| sock_book[sock].push(sock) |
| def advanced(sock_pile) | |
| sock_book = Hash.new(Array.new) | |
| pairs = [] | |
| sock_pile.each do |sock| | |
| if sock_book[sock].length > 0 | |
| pairs.push([sock, sock_book[sock].pop]) | |
| else | |
| sock_book[sock].push(sock) | |
| end | |
| end |