Skip to content

Instantly share code, notes, and snippets.

View mattweb's full-sized avatar

Matthias Weber mattweb

View GitHub Profile
@mattweb
mattweb / 1-macOS-10.14-mojave-setup.md
Created July 23, 2019 08:59 — forked from kevinelliott/1-macOS-10.14-mojave-setup.md
macOS 10.14 Mojave Mostly-Automated Setup

To support my open-source work, consider adding me on Patreon.

macOS 10.14 Mojave Mostly-Automated Setup

An easy to refer to document for regularly setting up macOS 10.14 Mojave.

Controversy

The topic of recipe-based frequent fresh reinstalls of macOS is a controversial issue. Some people are against reinstalling macOS, citing that they have never had an issue with Apple provided upgrade installs.

@mattweb
mattweb / News-List-Item.html
Last active May 30, 2018 21:51
TYPO3 8.7 Responsive Images
<f:if condition="{newsItem.mediaPreviews}">
<div class="news-list-image">
<f:alias map="{mediaElement: '{newsItem.mediaPreviews.0}'}">
<f:if condition="{mediaElement.originalResource.type} == 2">
<f:image image="{mediaElement}"
additionalAttributes="{srcset: '{f:uri.image(image:\'{mediaElement}\', treatIdAsReference: \'1\', width:\'300c\', height:\'300c\')} 2x,
{f:uri.image(image:\'{mediaElement}\', treatIdAsReference: \'1\', width:\'600c\', height:\'600c\')} 4x',
sizes: '(min-width: 748px) 150px, 100vw'}"
width="150c"
@mattweb
mattweb / scrim-gradient.scss
Created May 15, 2018 19:47 — forked from matthewbeta/scrim-gradient.scss
A simple little SCSS mixin for creating scrim gradients
/*
A simple little SCSS mixin for creating scrim gradients
Inspired by Andreas Larson - https://github.com/larsenwork
https://css-tricks.com/easing-linear-gradients/
*/
@mixin scrimGradient($startColor: $color-black, $direction: 'to bottom') {
$scrimCoordinates: (
@mattweb
mattweb / osx-10.10-setup.md
Created September 29, 2015 09:13 — forked from kevinelliott/osx-10.10-setup.md
Mac OS X 10.10 Yosemite Setup

Mac OS X 10.10 Yosemite

Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

Install Software

@mattweb
mattweb / gist:2952a13e90ddc00b2f80
Created August 20, 2014 07:09
Sublime Text Packages and Themes
AdvancedNewFile
BracketHighlighter
Emmet
Gist
HTML Compressor
Package Control
PyV8
Sass
Sublimerge
Theme - Soda
@mattweb
mattweb / Preferences.sublime-settings
Created August 20, 2014 07:04
Sublime Text 3 Preferences
{
"always_show_minimap_viewport": true,
"bold_folder_labels": false,
"draw_minimap_border": true,
"ensure_newline_at_eof_on_save": true,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"