Skip to content

Instantly share code, notes, and snippets.

@SuperPaintman
SuperPaintman / npm-f3-install.sh
Last active Jun 12, 2020
NPM install for low RAM machins. And "npm install ... killed" problem
View npm-f3-install.sh
#!/bin/bash
#
# Author: SuperPaintman <SuperPaintmanDeveloper@gmail.com>
#
###
# Constants
###
RETVAL=0
@gnachman
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)
try
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
try
@rochacbruno
rochacbruno / ACCESS_ELASTIC.md
Last active Nov 26, 2020
Docker-compose wait-to-start
View ACCESS_ELASTIC.md

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

View README.md

Font Face

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

Usage

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.