Sometimes you want to run a command forever, e.g. to compile a haml to html file on the console. Use this: $ while(true) do haml index.haml index.html; sleep 1.5; done
...plan to insert an existing PDF into a new LaTeX document that you will compile to PDF, you can use \includegraphics for this. Although, be prepared to get tons of...
In medium-sized to large Rails applications, asset compilation can take several minutes. In order to speed up deployment, asset precompilation can be skipped. This card automates the process.
...namespace :deploy do desc 'Automatically skip asset compile if possible' task :auto_skip_assets do asset_locations = %r(^(Gemfile\.lock|app/assets|lib/assets|vendor/asset)) revisions = [] on roles :app do within current...
Opal is a source to source ruby to javascript compiler, corelib and a runtime implementation that currently passes 3000 rubyspecs w/a reachable goal of passing them all...
...t agree with all of Nico's choices, but I applaud his approach to compile a simple and short list of rules...
...fuck tests. So here’s fast_context as a solution for it. fast_context compiles all the ‘should’s within a context into a single test...
...with current Ubuntus. We have forked ruby-build with a workaround that makes it compile and statically link the latest OpenSSL 1.0 version. This works on Ubuntu 20.04, as well...
Best results in other decks
...functions with the right HTML elements. Some common ways to do this are: Our compiler() helper Unpoly compilers Custom Elements MutationObserver AngularJS directives React components We recommend using the compiler...
Count items Now make a component for the container instead of the button: compiler('.countable', function(countable) { const button = ... const items = ... button.addEventListener('click', ...) }) Spoilers Add an optional "plot summary...
...menu items of your MovieDB. Integrate Feather for this. You might need such a compiler to "activate" the icons: import feather from 'feather-icons' up.compiler('[data-feather]', feather.replace...