First, add pry-rails to your Gemfile:
https://github.com/rweng/pry-rails
gem 'pry-rails', group: :developmentThen you'll want to rebuild your Docker container to install the gems
First, add pry-rails to your Gemfile:
https://github.com/rweng/pry-rails
gem 'pry-rails', group: :developmentThen you'll want to rebuild your Docker container to install the gems
| copy( // copy() is a Chrome api call to copy to clipboard | |
| $('.entry-body').map( | |
| function(number, thing) {return thing.innerText} | |
| ).get().join("\n") | |
| ) |
| // ==UserScript== | |
| // @name Emojis Everywhere | |
| // @namespace https://github.com/briankung/ | |
| // @version 0.1 | |
| // @description GitHub-like emoji autocomplete hacked together with emojilib and jquery-textcomplete | |
| // @author Brian Kung | |
| // @match https://hangouts.google.com/ | |
| // @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js | |
| // @require https://cdnjs.cloudflare.com/ajax/libs/jquery.textcomplete/1.7.3/jquery.textcomplete.min.js | |
| // @grant GM_addStyle |
| # Convert XML Youtube subtitles to SubRip (srt) format | |
| # To download the subtitle in XML, put the code of the Youtube video | |
| # at the end of the next url: | |
| # http://video.google.com/timedtext?hl=en&lang=en&v= | |
| # Usage: | |
| # | |
| # $ ruby youtube2srt.rb [input_filename] [output_filename] | |
| # | |
| # Where input_filename can be either the name of your xml file |
❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
| function millis() { | |
| return Date.now(); | |
| } | |
| function flip_coin() { | |
| n = 0; | |
| then = millis() + 1; | |
| while (millis() <= then) { | |
| n = !n; |
| YI = 1.6968467 | |
| B1 = -0.1915674 | |
| C = -1.8162469 | |
| def yoshida(i) | |
| C + YI / (1 + B1 * (i ** (-C))) | |
| end | |
| (1..6).step(0.1).each do |i| | |
| puts "#{i}:\t\t\t\t#{yoshida(i)}" |
| <template> | |
| <ToggleableFields :fields="toggleableFields" /> | |
| </template> | |
| <script> | |
| import ToggleableFields from 'checkout/address/toggleable_fields.vue' | |
| export default { |
| javascript:void( | |
| ( | |
| (document.fuckShitUp === undefined) | |
| && | |
| (document.addEventListener('click', (e) => { | |
| if (document.fuckShitUp) { e.preventDefault(), e.target.remove() } | |
| })) | |
| ), ( | |
| document.fuckShitUp = !document.fuckShitUp | |
| ) |