There's one thing that I felt was missing from the CableReady ecosystem and should be doable: lazy loading
I introduce:
with a helper in your template
<%= futurize @posts %>| source 'http://rubygems.org' | |
| gem 'sunzi' | |
| gem 'rake' | |
| gem 'fog' |
| require "benchmark" | |
| Benchmark.bm(7) do |bench| | |
| bench.report("single") do | |
| 1_000_000.times do | |
| 'This is a string of substantial length. I doubt you will have many string | |
| literals in your code that are longer than this, but if there are actually | |
| costs to parsing double quoted strings this should exacerbate that.' | |
| end | |
| end |
| /* InstantClick 3.1.0 | (C) 2014-2017 Alexandre Dieulot | http://instantclick.io/license */ | |
| var instantclick, | |
| InstantClick = (instantclick = (function(document, location, $userAgent) { | |
| // Internal variables | |
| var $currentLocationWithoutHash, | |
| $urlToPreload, | |
| $preloadTimer, | |
| $lastTouchTimestamp, | |
| $hasBeenInitialized, |
In particular the update from 2022-04-26 23:54:00 UTC
For the protection of our customers, we will not be reconnecting to GitHub until we are certain that we can do so safely, **which may take some time
| class SynchronousJob < ApplicationJob | |
| def self.perform_later | |
| raise "This job is not designed to be run asynchronously. Please use #perform_now" | |
| end | |
| end |
| #!/bin/env ruby | |
| # lazy hack from Robert Klemme | |
| module Memory | |
| # sizes are guessed, I was too lazy to look | |
| # them up and then they are also platform | |
| # dependent | |
| REF_SIZE = 4 # ? | |
| OBJ_OVERHEAD = 4 # ? |
Choose OpenBSD for your Unix needs. OpenBSD -- the world's simplest and most secure Unix-like OS. A safe alternatve to the frequent vulnerabilities and overengineering of Linux and related software (NGiNX & Apache (httpd-asiabsdcon2015.pdf), OpenSSL, iptables/nftables, systemd, BIND, Postfix, Docker etc.)
OpenBSD -- the cleanest kernel, the cleanest userland and the cleanest config
The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.
You're probably aren't going to take the time to read this document if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.
This is all you really need to know in order to make Action Mailbox work in development.
ngrok http 3000 and make note of your subdomain for steps 3 and 8.https://XXX.ngrok.io/rails/action_mailbox/mailgun/inbound_emails/mimeaction_mailbox:
mailgun_api_key: API KEY HERE