Skip to content

Instantly share code, notes, and snippets.

View dealingwith's full-sized avatar

Daniel Miller dealingwith

View GitHub Profile
@dealingwith
dealingwith / zenhub.css
Created March 30, 2019 04:33
Zenhub Stylish
.zhc-label {
border-radius: 8px;
font-weight: normal;
padding: 2px 5px 2px;
}
.zhc-issue-card__issue-title {
font-weight: normal;
}
@dealingwith
dealingwith / trello-stylish.css
Last active October 22, 2020 03:03
Trello Stylish
body, button, html, input, select, textarea {
font-family: sans-serif;
font-size: 0.9rem;
}
.board-header-btn.board-header-btn-enabled.js-star-board {
background-color: transparent;
}
.board-header-btn.board-header-btn-enabled.js-star-board span:before {
@dealingwith
dealingwith / 200wad.rb
Last active March 30, 2019 04:34
200wordsaday.com export script
# uses the 200wordsaday.com API to export your posts as text files
# to install httparty:
# gem install httparty
require 'httparty'
require 'json'
require 'date'
url = 'https://200wordsaday.com/api/texts?api_key=<your api key>'
response = HTTParty.get(url)
entries = response.parsed_response
<style>
#wrap {
position: fixed;
top: 0;
right:0;
bottom:0;
left: 0;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}
@dealingwith
dealingwith / gist:8b0b8d9c520a2a9093f50c1eda25bf7a
Created January 25, 2017 02:08
Simulation of the game "Friends & Neighbors"
// 14 chips
// 9 squares on board
// 5 on the stop sign
var lostcount = 0;
var wincount = 0;
var board = [0,1,2,3,4,5,6,7,8];
var iterations = 1000000;
@dealingwith
dealingwith / casper-screenshot-example.js
Created April 22, 2016 20:14
Failing to get Facebook screenshots via Casper
var casper = require("casper").create(),
urls = [
'https://www.facebook.com/ModernApartmentCommunity/',
'https://www.facebook.com/ModernApartmentCommunity/reviews/'
'http://modernmsg.com',
'http://modernmsg.com/rewards'
],
saveDir = 'shots'
casper.start();
@dealingwith
dealingwith / day3-part1.rb
Last active December 4, 2015 19:23
Advent of Code day 3
d = 'v>v<vvv<<vv^v<v>vv>v<<<^^^^^<<^<vv>^>v^>^>^>^>^><vvvv<^>^<<^><<<^vvvv>^>^><^v^><^<>^^>^vvv^<vv>>^>^^<>><>^>vvv>>^vv>^<><>^<v^>^>^><vv^vv^>><<^><<v>><>^<^>>vvv>v>>>v<<^<><^<v<>v>^^v^^^<^v^^>>><^>^>v<>^<>>^>^^v^><v<v>>><>v<v^v>^v<>>^><v>^<>v^>^<>^v^^^v^^>>vv<<^^><^<vvv>^>^^<^>>^^^^^v^<v>vv<>>v^v<^v^^<><^<^vv^><>><><>v>vvv^vv^^<<><<vvv><<^v^><v<>vvv^<^>vvvv^>^>>^v^<v^vv<^^v<>v>vv^<>><v<<<^v^<<><v<^<^<><^^^>^>>v>^>v^<>v><^<^<v^>^^vv<^^<>v^v^vv<>>>>v^v<>><^^v>vv^^>v^v>v<vv>>v>><v^v^v>vv>^^>^v><<vv^v^^vv<^v><^<<v<v^>vv^^^<v^>v>v^^^>><^^<v^<^>>v><vv<v^^>^^v>>v^^^<^^v>^v>><^<^<>>v<<^^vv>^^^v<^<^<v<v^^vv>^vv^>>v^><v>><<<>^vv^<^<>v^^<<<v<^>^><><v^^>>^^^<^vv<^^^>><^^v>^^v^<v^v^>^^<v>^<^v<^<<<<^<v^>v^<^^<>^^>^><<>>^v><>><^<v><^^^>>vv>^><vv>^^^^^v^vvv><><^<^>v>v^v^>^><><^<^><>v<<vv<^>><>^v^^v>^<<<>^v^>^<<v^vv<>v^<v^^vv><<v^<>>>^<v>vv>v>>>^<^>><vv<>>>>v<v>>>^v>v><>>vvv<^^><<^>^>v<^vvvv<v><vv<><^^^v^^^>v^v<>v<^^v>>><>v<v^>>v><v^>>^^<v<<<^<v<><^^v><<v^><<<<^vv<^<>^><vv<<<<^>>>^v>^v>vv>^v<>v>v<v><^>>v>>^>^><^<v^v^>^v<><>
@dealingwith
dealingwith / part1b.js
Last active December 3, 2015 21:29
Advent of Code
position = 0, z = 0, x = '()()(()()()(()()((()((()))((()((((()()((((()))()((((())(((((((()(((((((((()(((())(()()(()((()()(()(())(()((((()((()()()((((())((((((()(()(((()())(()((((()))())(())(()(()()))))))))((((((((((((()())()())())(())))(((()()()((((()(((()(()(()()(()(()()(()(((((((())(())(())())))((()())()((((()()((()))(((()()()())))(())))((((())(((()())(())(()))(()((((()())))())((()(())(((()((((()((()(())())))((()))()()(()(()))))((((((((()())((((()()((((()(()())(((((()(()())()))())(((()))()(()(()(()((((()(())(()))(((((()()(()()()(()(((())())(((()()(()()))(((()()(((())())(()(())())()()(())()()()((()(((()(())((()()((())()))((()()))((()()())((((()(()()(()(((()))()(()))))((()(((()()()))(()(((())()(()((()())(()(()()(()())(())()(((()(()())()((((()((()))))())()))((()()()()(())()())()()()((((()))))(()(((()()(((((((())()))()((((()((())()(()())(())()))(()(()())(((((((())))(((()))())))))()))())((())(()()((())()())()))))()((()()())(())((())((((()())())()()()(((()))())))()()))())(()()()(()((((((()()))())()))()(((()(((())

Keybase proof

I hereby claim:

  • I am dealingwith on github.
  • I am dealingwith (https://keybase.io/dealingwith) on keybase.
  • I have a public key whose fingerprint is 0689 2735 224A AEB7 F01E 06C7 71BD 0FF5 68BA CD81

To claim this, I am signing this object: