Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
Working on lots of open source goodies!

Matt Lantz mlantz

💻
Working on lots of open source goodies!
View GitHub Profile
View 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 Sep 27, 2015
Canadian Provinces
View Canadian Provinces.php
$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 — forked from saetia/gist:1623487
Clean Install – OS X 10.11 El Capitan
View gist:a372d0136eaf50539e963a9edee90c9e

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
View gist:7c382a5e70c8abf0aa8adef204d3faaf
$('.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({
View gist:046efebe26a204a906329b5b6b62209e
SELECT name, COUNT(*) c FROM table GROUP BY name HAVING c > 1;
View keybase.md

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 Mar 16, 2020
Presentation on Working Remotely
View working_remotely.txt
# 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)