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);| #!/usr/bin/env zsh | |
| # _ | |
| # ___ ___ ._ _ ___ _ _ ___ _| |_ ___ ___ _ _ _ ___ _ _ ___ ___ | |
| # / . |/ ._>| ' |/ ._>| '_><_> | | | / ._>|___|| | | |<_> || | |/ ._><_-< | |
| # \_. |\___.|_|_|\___.|_| <___| |_| \___. |__/_/ <___||__/ \___./__/ | |
| # <___' | |
| # Made with love by Alessandro Aresta on Sun Jan 06 2019 |
| #!/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 xcrun --sdk macosx swift | |
| import Foundation | |
| enum Configuration: String { | |
| case debug = "Debug" | |
| case release = "Release" | |
| } | |
| // Get Info.plist path |
| #colorLiteral(red: 0.4593629837, green: 0.909394145, blue: 0.9056461453, alpha: 1) |
| buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "${PROJECT_DIR}/${INFOPLIST_FILE}") | |
| buildNumber=$(($buildNumber + 1)) | |
| /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" "${PROJECT_DIR}/${INFOPLIST_FILE}" |
| If Homebrew was updated on Aug 10-11th 2016 and brew update always says Already up-to-date. you need to run: | |
| cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update |
| ┌─────────────────────────────────────────────────────────────────────────────┐ | |
| │ __ │ | |
| │.-----.---.-.-----.--.--.-----.-----| |_ .-----.-----.----.--.--.-----.----.│ | |
| │| -__| _ |__ --| | | -__|__ --| _||__ --| -__| _| | | -__| _|│ | |
| │|_____|___._|_____|___ |_____|_____|____||_____|_____|__| \___/|_____|__| │ | |
| │ |_____| │ | |
| │ │ | |
| └─────────────────────────────────────────────────────────────────────────────┘ | |
| # python -m SimpleHTTPServer 8000 python 2.* |
| #!/bin/sh | |
| echo " ██████ ██████ ███████ ██ ██ ██ ██ ███████ ██████ ███████"" | |
| echo " ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██"" | |
| echo " ██████ ██████ █████ ██ █ ██ █████ █████ ██ ███ ███████"" | |
| echo " ██ ██ ██ ██ ██ ██ ███ ██ ██ ██ ██ ██ ██ ██"" | |
| echo " ██████ ██ ██ ███████ ███ ███ ██ ██ ███████ ██████ ███████"" | |
| echo "" | |
| echo "" | |
| echo " ███ ███ ███████ ██████ █████ ███████ ██ ██ ██"" |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |