Skip to content

Instantly share code, notes, and snippets.

:shipit:
PogusChampus

Kyle Montag KMontag42

View GitHub Profile
@KMontag42
KMontag42 / example-exclaim-document.json
Created Aug 29, 2018
Example Exclaim Document Salsify Rich Media
View example-exclaim-document.json
{
"$vbox": [{
"$hbox": [{
"$vbox": [{
"$image": "http://placehold.it/1000x250?text=placeholder"
}, {
"$header": "Cool Header"
}]
}]
}, {
@KMontag42
KMontag42 / gramps-no-jutsu.txt
Last active Aug 6, 2018
GrampsGif no jutsu
View gramps-no-jutsu.txt
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 / css-grid-grail.css
Created Feb 14, 2018
simple css grid holy grail layout
View css-grid-grail.css
#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:
View simple-graph.json
{
"caseSensitive": false,
"properties": {},
"inports": {},
"outports": {},
"groups": [],
"processes": {
"1x7w": {
"component": "tall",
"metadata": {
View keybase.md

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:

View gemfile-pre-commit
#!/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 ------------------------"
@KMontag42
KMontag42 / stuff.mdown
Created Dec 23, 2016
stuff for people
View stuff.mdown

some stuff for people

View keybase.md

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 / getgoodgames-emoji.mdown
Last active Apr 9, 2017
Custom Emoji for getgoodgames Slack
View getgoodgames-emoji.mdown
  • :alwaysbetdbz:
  • :babyrage:
  • :biblethump:
  • :dansgaming:
  • :dendiface:
  • :elegiggle:
  • :kappa:
  • :kappaross:
  • :keepo:
  • :kreygasm:
You can’t perform that action at this time.