Skip to content

Instantly share code, notes, and snippets.

View hellodeloo's full-sized avatar

David Deloo hellodeloo

View GitHub Profile
@hellodeloo
hellodeloo / readme.md
Last active July 29, 2019 10:21 — forked from nickcernis/readme.md
Exclude node_modules from Backblaze backups on Mac

Exclude node_modules from Backblaze backups on Mac

  1. Edit the file at /Library/Backblaze.bzpkg/bzdata/bzexcluderules_editable.xml.
  2. Add this rule inside the bzexclusions tag:
<!-- Exclude node_modules etc. -->
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/.git/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />

<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/node_modules/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
@hellodeloo
hellodeloo / encoding-video.md
Last active February 23, 2021 17:09 — forked from glen-cheney/encoding-video.md
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
@hellodeloo
hellodeloo / gist:f94cfe31b94a2cc5495ea4c07911a345
Created November 27, 2018 07:55
The Essential Meta Tags for Social Media
<!-- FROM https://css-tricks.com/essential-meta-tags-social-media/ -->
<!-- Essential META Tags -->
<meta property="og:title" content="European Travel Destinations">
<meta property="og:description" content="Offering tour packages for individuals or groups.">
<meta property="og:image" content="http://euro-travel-example.com/thumbnail.jpg">
<meta property="og:url" content="http://euro-travel-example.com/index.htm">
<meta name="twitter:card" content="summary_large_image">
@hellodeloo
hellodeloo / gist:8174d9a9e174ac876e9fa644647d74e5
Created September 19, 2018 09:58 — forked from bds/gist:2207826
Convert files from .scss to .sass
sass-convert -F scss -T sass application_styles.css.scss application_styles.css.sass

Mac OSX High Sierra : Brew Apache + Mysql + PHP Switcher + SSL

Things I had to do using Homebrew to get my local web dev environment back up and running after migration to OSX Sierra + Xcode 8.1.

Note: I used brew reinstall because I had already installed most of this previously under Yosemite. Probably better ways to do this, but this is what worked for me.

brew doctor

brew update