Skip to content

Instantly share code, notes, and snippets.

View KMontag42's full-sized avatar
:shipit:
PogusChampus

Kyle Montag KMontag42

:shipit:
PogusChampus
View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@KMontag42
KMontag42 / stuff.mdown
Created December 23, 2016 01:13
stuff for people

some stuff for people

@KMontag42
KMontag42 / getgoodgames-emoji.mdown
Last active April 9, 2017 18:31
Custom Emoji for getgoodgames Slack
  • :alwaysbetdbz:
  • :babyrage:
  • :biblethump:
  • :dansgaming:
  • :dendiface:
  • :elegiggle:
  • :kappa:
  • :kappaross:
  • :keepo:
  • :kreygasm:
#!/bin/sh
# To enable this hook, rename this file to "pre-commit" and add it to .git/hooks/
# of C/P the following block in your existing .git/hooks/pre-commit
#IMPORTANT - for the hook to be active run:
# chmod +x .git/hooks/pre-commit
if [ `git diff --cached --name-only | grep -o Gemfile | wc -l` -eq 1 ]
then
echo "------------------- ERROR ------------------------"

Keybase proof

I hereby claim:

  • I am kmontag42 on github.
  • I am kmontag42 (https://keybase.io/kmontag42) on keybase.
  • I have a public key ASDebZEtiOUqsKRFmeYl6-_BURhVrc1yrA1iUmigpE2VIwo

To claim this, I am signing this object:

@KMontag42
KMontag42 / simple-graph.json
Created December 18, 2017 19:37
Simple Graph JSON
{
"caseSensitive": false,
"properties": {},
"inports": {},
"outports": {},
"groups": [],
"processes": {
"1x7w": {
"component": "tall",
"metadata": {
@KMontag42
KMontag42 / css-grid-grail.css
Created February 14, 2018 21:57
simple css grid holy grail layout
#grid {
display: grid;
box-sizing: border-box;
width: 100vw;
height: 100vh;
grid-template-columns:
[start] minmax(auto, min-content)
[center] auto
[end] minmax(auto, min-content);
grid-template-rows:
@KMontag42
KMontag42 / gramps-no-jutsu.txt
Last active August 6, 2018 18:18
GrampsGif no jutsu
1) open file in photoshop
2) open window -> timeline
3) delete frames that are irrelevant by clicking on them and pressing delete (trim the video to appropriate gif length)
4) press `C` to use the crop tool
5) right click on the image and select square crop (uniform)
6) crop the image to a square and make sure it includes all the good parts of the gif as it plays out
7) dont be afraid to crop out tops of people heads if it means you get more important parts as a result
8) if the gif is too dark, go to `layers->new adjustment layer->exposure`
9) pull this adjustment layer to the top of the layer stack, ramp up the exposure until gif is appropriately bright
10) press `CMD+ALT+SHIFT+S` or `file->export->save for web`
@KMontag42
KMontag42 / example-exclaim-document.json
Created August 29, 2018 19:03
Example Exclaim Document Salsify Rich Media
{
"$vbox": [{
"$hbox": [{
"$vbox": [{
"$image": "http://placehold.it/1000x250?text=placeholder"
}, {
"$header": "Cool Header"
}]
}]
}, {
@KMontag42
KMontag42 / j.zsh
Created August 5, 2020 17:31
jira tool
#!/usr/bin/env zsh
trap "tput rmcup" EXIT INT
local -a command project jstatus query ticket \
epic backlog grooming reload board sprint
zparseopts -D -E p:=project -project:=project \
q:=query -query:=query \
t:=ticket -ticket:=ticket \