Skip to content

Instantly share code, notes, and snippets.

gource -1280x720 --hide filenames,mouse --stop-at-end --max-user-speed 500 --file-idle-time 999 --seconds-per-day 0.2 --bloom-multiplier 0.70 --disable-progress -o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 gource.mp4
@Noodlewitt
Noodlewitt / block-scroll.css
Last active November 12, 2018 05:19 — forked from davidgilbertson/block-scroll.css
prevent 16px scrollbar shift
/* the page should not change width as content is loaded */
body {
overflow-y: scroll;
}
/* block scrolling without losing the scroll bar and shifting the page */
/* add this class when a modal is open */
body.block-scroll {
overflow: hidden;
overflow-y: scroll !important;

Keybase proof

I hereby claim:

  • I am noodlewitt on github.
  • I am noodlewitt (https://keybase.io/noodlewitt) on keybase.
  • I have a public key ASAntjG56sHxKLBWJ3YageygNkWikeOuXlTQjiLlJnax-wo

To claim this, I am signing this object:

@Noodlewitt
Noodlewitt / logging.sql
Last active November 11, 2016 00:10
mysql turn on query log
SET global general_log = 1;
SET global log_output = 'table';*/
SET global general_log = 0;
/*select * from mysql.general_log

ssh-keygen ssh-add private_key.pem

#screen ctrl-a start S split horizontally | split vertically c start

@Noodlewitt
Noodlewitt / css.css
Created October 24, 2016 23:56
gmail resize email hack
.gmailfix {
display:none;
display:none!important;
}
@Noodlewitt
Noodlewitt / style.scss.scss
Last active November 12, 2018 05:25
navbar collapse
@media (max-width: $screen-md) {
.navbar-header {
float: none;
}
.navbar-left,.navbar-right {
float: none !important;
}
.navbar-toggle {
display: block;
}
@Noodlewitt
Noodlewitt / file.css
Last active November 12, 2018 05:28
disable yellow hover style
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
background-color: transparent;
-webkit-transition: background-color 5000s ease-in-out 0s;
transition: background-color 5000s ease-in-out 0s;
}
@Noodlewitt
Noodlewitt / copy.js
Last active June 23, 2016 02:42
copy env variables between stacks
//Copy env variables between sites.
//copy me into the souce site and I'll come back with the env variables
var $keys = $('input[name="Key"]');
var $values = $('input[name="Value"]');
var mykeys = [];
var myvals = [];
for (var i = $keys.length - 1; i >= 0; i--) {
mykeys.push($keys[i].value);
myvals.push($values[i].value);
@Noodlewitt
Noodlewitt / install list
Created April 14, 2016 03:19
install list
npm (and probably node.js)
phpstorm/sublimetext/brackets (we mostly use phpstorm)
mysql browser of some sort (sequel pro, mysql workbench/ mysql yog)
git client (source tree or git kraken etc)
web server (and PHP) env of some sort (MAMP, Virtual Machine, XAMPP)
composer