Skip to content

Instantly share code, notes, and snippets.

View mlantz's full-sized avatar
💻
Working on lots of open source goodies!

Matt Lantz mlantz

💻
Working on lots of open source goodies!
View GitHub Profile
@mlantz
mlantz / install.sh
Last active August 29, 2015 14:13 — forked from fideloper/install.sh
#!/usr/bin/env bash
echo ">>> Starting Install Script"
# Update
sudo apt-get update
# Install MySQL without prompt
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root'
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root'
@mlantz
mlantz / Canadian Provinces.php
Last active September 27, 2015 17:27
Canadian Provinces
$canada_provinces = array(
'Alberta' => 'AB',
'British Columbia' => 'BC',
'Manitoba' => 'MB',
'New Brunswick' => 'NB',
'Newfoundland and Labrador' => 'NL',
'Northwest Territories' => 'NT',
'Nova Scotia' => 'NS',
'Nunavut' => 'NU',
'Ontario' => 'ON',
@mlantz
mlantz / gist:a372d0136eaf50539e963a9edee90c9e
Created May 11, 2016 04:22 — forked from saetia/gist:1623487
Clean Install – OS X 10.11 El Capitan

OS X Preferences


most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
$('.typeahead').typeahead({
hint: true,
highlight: true,
minLength: 3
}, {
async: true,
displayKey: 'name',
source: function (query, processSync, processAsync) {
processSync(actorMatcher(query, JSON.parse($('.typeahead').attr('data-suggestions'))));
return $.ajax({
SELECT name, COUNT(*) c FROM table GROUP BY name HAVING c > 1;

Keybase proof

I hereby claim:

  • I am mlantz on github.
  • I am mlantz (https://keybase.io/mlantz) on keybase.
  • I have a public key ASCGlxmH9HHIuELJQVS1mTdm_Jz9zmE33ugktb9MvPAp_wo

To claim this, I am signing this object:

@mlantz
mlantz / working_remotely.txt
Created March 16, 2020 03:18
Presentation on Working Remotely
# Working Remotely
---
## Matt Lantz
- Canadian (doesn't really matter)
- Software developer (has meaning)
- Has worked for Fortune 50, 500 and small companies (:+1:)
- About 10 year experience (sure, whatev)