To install Docker Engine, you need the 64-bit version of one of these Ubuntu versions:
- Ubuntu Impish 21.10
- Ubuntu Hirsute 21.04
- Ubuntu Focal 20.04 (LTS)
- Ubuntu Bionic 18.04 (LTS)
| #!/bin/env bash | |
| set -e | |
| # https://stackoverflow.com/a/74413191 | |
| while true; do | |
| declare tail=$( ls ${HOME}/.npm/_logs/ | tail -n 1 ) | |
| declare log="${HOME}/.npm/_logs/${tail}" | |
| echo "log: $log" |
| headers['X-Accel-Buffering'] = 'no' | |
| headers['Cache-Control'] = 'no-cache' | |
| headers['Content-Type'] = 'text/csv; charset=utf-8' | |
| headers['Content-Disposition'] = 'inline; filename="data.csv"' | |
| headers['Content-Encoding'] = 'gzip' | |
| sql = "select * from something;" | |
| self.response_body = SqlToCsvStreamer.new(sql) |
This is a Services Agreement between DEVPUNKS L.L.C. (“we,” “us,” “our”) and any individual, entity, or organization that procures our services (“you” or “your”).
| <!-- This doesn't work at all --> | |
| <!-- Toggle --> | |
| <div class="dropdown"> | |
| <a class="dropdown-inline-button" href="javascript: void(0);" data-toggle="tab" | |
| data-target="#calibration"> | |
| <i class="dropdown-inline-button-icon icmn-database"></i> | |
| Mostrar calibraciones | |
| </a> | |
| </div> |
| source 'https://rubygems.org' | |
| gem 'activerecord', '>= 4.2.0' | |
| gem 'sqlite4' |
| def store(model) | |
| # 99 of 100 times we will only need to call #to_h and be done with model | |
| persist model.to_h # Breaks demeter's law | |
| # this usually encourages poking around in the model | |
| # which is no concern of store | |
| end | |
| def store(record) #decoupled | |
| persist record #because that's all we want to do. | |
| # If it doesn't work as expected RTST (Read The Stack Trace) |
| # Yehuda Katz - (It's all about the self) | |
| # http://yehudakatz.com/2009/11/15/metaprogramming-in-ruby-its-all-about-the-self/ | |
| ####################################################################################### | |
| # All classes are objects themselves | |
| ####################################################################################### | |
| # Defining a class using the "class" keyword is merely syntactic sugar. | |
| # All class definitions are actually instances of the Class object. |
| ############################################################################ | |
| # _ | |
| # | |_ _ __ ___ _ ___ __ | |
| # | __| '_ ` _ \| | | \ \/ / | |
| # | |_| | | | | | |_| |> < | |
| # \__|_| |_| |_|\__,_/_/\_\ | |
| # | |
| # Cheatsheets: | |
| # https://devhints.io/tmux | |
| # `property not found` issue: |
| set encoding=utf-8 | |
| " Author: Ahmid-Ra (github.com/snuggs) | |
| " Screencasts: http://vimcasts.org | |
| " Gist: https://gist.github.com/snuggs/612093 | |
| " Tutorial: http://learnvimscriptthehardway.stevelosh.com |