Skip to content

Instantly share code, notes, and snippets.


Matt Geczy

  • United States
View GitHub Profile
Geczy / Apply shadow to screenshot.kmmacros
Created Sep 23, 2020 — forked from agates4/Apply shadow to screenshot.kmmacros
Script to turn a given image into a beautiful screenshot with rounded corners, drop shadow, and whitespace
View Apply shadow to screenshot.kmmacros
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
Geczy /
Created Jul 1, 2020 — forked from TheWover/
NTP spoofer to change the date of any victim to the year 2035
import os
import sys
import time
from subprocess import Popen, DEVNULL
import datetime
from scapy.all import IP, UDP, NTP
from netfilterqueue import NetfilterQueue
def get_switch_ip():
ios-sim-inspector() {
if [ $# -eq 0 ]; then
printf "\n Usage: $ ios-sim-inspector <index-page-title> <device-name>\n\n"
printf " * <index-page-title> cannot have the same name as the folder containing it :(\n\n"
# Safari has been very stubborn about reloading "Develop" menu
Geczy / jira.js
Last active Aug 10, 2020
jira auto time logger
View jira.js
// timespent is EMPTY AND assignee = currentUser() AND resolution != Unresolved ORDER BY updated DESC
Number.prototype.pad = function (size) {
var s = String(this);
while (s.length < (size || 2)) {
s = "0" + s;
return s;
View dash.json
"annotations": {
"list": [
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
View ez.js
var sendMessage = "";
setInterval(() => {
var textInput = document.querySelector("[name=note]");
if (textInput && !textInput.value) {
sendMessage = `Hey ${document
/ .*/,
)}. I'm really looking forward to learning more about ${document
View savekeys.php
// Usage: file.php?s1=FirstToken&s2=SecondToken&car=YourCarName
class TeslaKeys
var $filename = '.tesla_tokens.json';
function __construct()
View gist:3067e15924a4eb4f18684ea98a81f79d
import qs from 'qs';
import { parse } from 'url';
import omit from 'lodash/omit';
import merge from 'lodash/merge';
/* eslint no-useless-escape: 0 */
const rxClean = /(\(:[^\)]+\)|:[^\/]+\/?)/g;
* Url modification
View FormValueSelector.js
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { formValueSelector } from 'redux-form';
Example usage:
* Get the value of a single form field:
Geczy /
Last active Oct 18, 2017
Comparing noise cancellation earbuds to motorcycle riding

Tested several ANC earbuds today, here's my data

🏆 Winner

JBL Everest Elite 100.


Earbuds with that stupid around-the-neck thing are a bad design for a motorcycle rider. The only earbud without the neck thing is the QC20.

The most comfortable and least popping earbud was the $250 QC30.