Skip to content

Instantly share code, notes, and snippets.

View hughesmatias's full-sized avatar
🏠
Working from home

Matias Hughes hughesmatias

🏠
Working from home
View GitHub Profile
@hughesmatias
hughesmatias / _sanfrancisco-font.md
Created July 13, 2019 12:36 — forked from mfd/_sanfrancisco-font.md
San Francisco Web Font

Web fonts

Custom webfonts

https://gist.githubusercontent.com/mfd/614e2e80a22b878bde63cb471cbe677e/raw/4996edf5eb9aea434e0cbdc81923fb110a29d060/sanfrancisco-font.css

<link rel="stylesheet prefetch" href="https://gist.githubusercontent.com/mfd/614e2e80a22b878bde63cb471cbe677e/raw/eef2aabfd0d588d43285431186a0cf70305ceb80/sanfrancisco-font.css">

@hughesmatias
hughesmatias / A.markdown
Created July 31, 2017 19:45 — forked from larrybotha/A.markdown
Mac OS Sierra MySQL my.conf

Fixing Mac OS Sierra MySQL Woes

MySQL throwing ERROR 2006 (HY000): MySQL server has gone away?

mysql -u root -p
# enter password

mysql > SET GLOBAL max_allowed_packet=1073741824;
@hughesmatias
hughesmatias / README.md
Created May 12, 2017 02:07 — forked from jimothyGator/README.md
Nginx configuration for Mac OS X with Homebrew, using sites-enabled directory.
mkdir -p /usr/local/etc/nginx/sites-{enabled,available}
cd /usr/local/etc/nginx/sites-enabled
ln -s ../sites-available/default.conf
ln -s ../sites-available/default-ssl.conf

File locations:

  • nginx.conf to /usr/local/etc/nginx/
  • default.conf and default-ssl.conf to /usr/local/etc/nginx/sites-available
  • homebrew.mxcl.nginx.plist to /Library/LaunchDaemons/