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);| cd; mkdir .ssl | |
| openssl req -newkey rsa:2048 -x509 -nodes -keyout .ssl/localhost.key -new -out .ssl/localhost.crt -subj /CN=localhost -reqexts SAN -extensions SAN -config <(cat /System/Library/OpenSSL/openssl.cnf <(printf '[SAN]\nsubjectAltName=DNS:localhost')) -sha256 -days 3650 | |
| sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain .ssl/localhost.crt | |
| function localtunnel { | |
| lt -s subdomain --port port_number | |
| } | |
| until localtunnel; do | |
| echo "localtunnel server crashed" | |
| sleep 2 | |
| done |
| curl -X POST -H "Content-Type: application/json" -d '{ | |
| "setting_type":"call_to_actions", | |
| "thread_state":"new_thread", | |
| "call_to_actions":[ | |
| { | |
| "payload":"Greeting" | |
| } | |
| ] | |
| }' "https://graph.facebook.com/v2.9/me/thread_settings?access_token=PAGE_ACCESS_TOKEN" |
| alias freewifi="sudo ifconfig en0 ether `openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'`" |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Geolocation Example</title> | |
| </head> | |
| <body> | |
| <script> | |
| (function() { |
| sass/ | |
| | | |
| |– base/ | |
| | |– _reset.scss # Reset/normalize | |
| | |– _typography.scss # Typography rules | |
| | ... # Etc… | |
| | | |
| |– components/ | |
| | |– _buttons.scss # Buttons | |
| | |– _carousel.scss # Carousel |
| #breadcrumbs li:before { | |
| content: "\00BB"; | |
| } |
| var i = 0, | |
| oJson = {}, | |
| sKey; | |
| for (; sKey = window.localStorage.key(i); i++) { | |
| oJson[sKey] = window.localStorage.getItem(sKey); | |
| } | |
| console.log(oJson); |
| sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list" | |
| sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/opt/google/chrome/cron/google-chrome" |