When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}
# https://www.youtube.com/watch?v=S-baJwEjUsk&ab_channel=AmirRajan | |
class Game | |
attr_gtk | |
def tick | |
grid.origin_center! | |
defaults | |
calc | |
render |
require 'pathname' | |
require 'open3' | |
require 'mini_magick' | |
SRC_DIR = '/path/to/src/dir/'.freeze | |
TMP_DIR = '/path/to/tmp/dir/'.freeze | |
class TextReader | |
def initialize(input_path, output_path) | |
@input_path = input_path |
# Minimal example of getting a PostgREST API running from scratch for | |
# testing purposes. It uses docker to launch a postgres database and | |
# a postgrest api server. | |
# This should not be used to deploy a production system but to | |
# understand how postgrest works. In particular there is no security | |
# implemented, see the docs for more. | |
# https://postgrest.org/en/v4.4/ |
; CONNECT 4 by Darryl Sloan, 3 July 2017 | |
org 50000 | |
last_k equ 23560 | |
ld hl, udgs ; UDGs | |
ld (23675), hl ; set up UDG system variable | |
ld a, 2 ; upper screen | |
call 5633 ; open channel |
Starting with 1.12 in July 2016, Docker Swarm Mode is a built-in solution with built-in key/value store. Easier to get started, and fewer ports to configure.
// Alerts | |
@include alert-variant($background, $border, $text-color); | |
// Background Variant | |
@include bg-variant($parent, $color); | |
// Border Radius | |
@include border-top-radius($radius); | |
@include border-right-radius($radius); | |
@include border-bottom-radius($radius); |
/* | |
. .-. | |
| `-. | |
`-' `-' | |
*/ | |
[] + {} | |
// "[object Object]" | |
{} + [] | |
// 0 |
papertrail.rake
to lib/tasks
remote_syslog.yml
to config/
before_restart.rb
to deploy/
PAPERTRAIL_PORT
ENV var to the one provided by Papertrail for your systemInspiration from Scott W. Bradley
// MultiExporter.jsx | |
// Version 0.1 | |
// Version 0.2 Adds PNG and EPS exports | |
// Version 0.3 Adds support for exporting at different resolutions | |
// Version 0.4 Adds support for SVG, changed EPS behaviour to minimise output filesize | |
// Version 0.5 Fixed cropping issues | |
// Version 0.6 Added inner padding mode to prevent circular bounds clipping | |
// | |
// Copyright 2013 Tom Byrne | |
// Comments or suggestions to tom@tbyrne.org |