Skip to content

Instantly share code, notes, and snippets.

SuperPaintman /
Last active Jun 12, 2020
NPM install for low RAM machins. And "npm install ... killed" problem
# Author: SuperPaintman <>
# Constants
gnachman / iterm.scpt
Last active Apr 27, 2018
Fix docker quickstart terminal for iTerm2 version 2.9 and later
View iterm.scpt
on write_to_file(this_data, target_file, append_data)
set the target_file to the target_file as string
set the open_target_file to open for access file target_file with write permission
if append_data is false then set eof of the open_target_file to 0
write this_data to the open_target_file starting at eof
close access the open_target_file
return true
on error
rochacbruno /
Last active Nov 26, 2020
Docker-compose wait-to-start

When unsing docker compose you can have a problem with the order of dependent linked containers

The solution is to start a script which tries to access a service and waits until it gets ready before loading your program


Font Face

A mixin for writing @font-face rules in SASS.


Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.

@include font-face(Samplino, fonts/Samplino);
You can’t perform that action at this time.