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);| #!/bin/sh | |
| # Requires: audiowaveform (https://github.com/bbc/audiowaveform), metaflac, sox | |
| zoom_start=60 | |
| zoom_duration=4 | |
| zoom_end=$((zoom_start + zoom_duration)) | |
| if [ $# -lt 1 ] || [ "$1" == "--help" ] || [ "$1" == "-h" ]; then | |
| echo "Generates spectrogram and waveform images from flac files" |
| #!/usr/bin/env zsh | |
| # _ | |
| # ___ ___ ._ _ ___ _ _ ___ _| |_ ___ ___ _ _ _ ___ _ _ ___ ___ | |
| # / . |/ ._>| ' |/ ._>| '_><_> | | | / ._>|___|| | | |<_> || | |/ ._><_-< | |
| # \_. |\___.|_|_|\___.|_| <___| |_| \___. |__/_/ <___||__/ \___./__/ | |
| # <___' | |
| # Made with love by Alessandro Aresta on Sun Jan 06 2019 |
| CREATE SEQUENCE country_seq; | |
| CREATE TABLE IF NOT EXISTS country ( | |
| id int NOT NULL DEFAULT NEXTVAL ('country_seq'), | |
| iso char(2) NOT NULL, | |
| name varchar(80) NOT NULL, | |
| nicename varchar(80) NOT NULL, | |
| iso3 char(3) DEFAULT NULL, | |
| numcode smallint DEFAULT NULL, | |
| phonecode int NOT NULL, |
| $ git remote add upstream https://github.com/[Original Owner Username]/[Original Repository].git | |
| $ git fetch upstream | |
| $ git checkout master | |
| $ git merge upstream/master | |
| $ git push | |
| # for zsh |
| CREATE OR REPLACE FUNCTION generate_sequential_uuid(p_interval_length int DEFAULT 60) | |
| RETURNS uuid | |
| LANGUAGE plpgsql | |
| AS $$ | |
| DECLARE | |
| v_i int; | |
| v_time bigint; | |
| v_bytes int[16] = '{}'; | |
| v_hex text[16] = '{}'; | |
| BEGIN |
| #!/bin/sh | |
| figlist | awk '/fonts/ {f=1;next} /control/ {f=0} f {print}' | while read font; do | |
| echo "=== $font ===" | |
| echo $font | figlet -f $font | |
| done | less |
| sudo ln -s /Applications/Inkscape.app/Contents/MacOS/inkscape /usr/local/bin/inkscape |
| #!/bin/bash | |
| USER=${1:-sebble} | |
| STARS=$(curl -sI https://api.github.com/users/$USER/starred?per_page=1|egrep '^Link'|egrep -o 'page=[0-9]+'|tail -1|cut -c6-) | |
| PAGES=$((658/100+1)) | |
| echo You have $STARS starred repositories. | |
| echo |
| #!/usr/bin/env bash | |
| # Licensed by author Alex Birch under CC BY-SA 4.0 | |
| # https://creativecommons.org/licenses/by-sa/4.0/ | |
| # Example input: | |
| # ./make_portable.sh mycoolbinary | |
| # where mycoolbinary is a mach-o object file | |
| # (for example an executable binary or a .dylib) | |
| # |