This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gtr ─ Git worktree helper | |
# | |
# Examples | |
# -------- | |
# gtr create feature0 # add ~/code/worktrees/feature0 (branch claude/feature0) | |
# gtr create feat1 feat2 # add two worktrees at once | |
# gtr rm feature0 # remove the worktree directory | |
# gtr cd feature0 # jump into the worktree directory | |
# gtr claude feature0 # run `claude` while inside that worktree | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# Multi-project worktree manager with Claude support | |
# | |
# ASSUMPTIONS & SETUP: | |
# - Your git projects live in: ~/projects/ | |
# - Worktrees will be created in: ~/projects/worktrees/<project>/<branch> | |
# - New branches will be named: <your-username>/<feature-name> | |
# | |
# DIRECTORY STRUCTURE EXAMPLE: | |
# ~/projects/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 2025-04-02 | |
// @description try to take over the world! | |
// @author You | |
// @match https://docs.google.com/document/d/1o__gc-G3wLtd4igKd0MzMlXHZ27tTT16Cq8b4RBQJvA/edit?tab=t.0 | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Abstract | |
Active Directory | |
Adjust | |
Adobe Campaign | |
Adobe Creative Cloud | |
Adobe Creative Suite | |
Adobe Experience Manager | |
Adobe Omniture | |
Adobe Premiere | |
After Effects |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'socket' | |
require 'rack' | |
require 'rack/lobster' | |
app = Rack::Lobster.new | |
server = TCPServer.new 5678 | |
while session = server.accept | |
request = session.gets | |
puts request |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* Base64 encode / decode | |
* http://www.webtoolkit.info/ | |
* | |
**/ | |
var Base64 = { | |
// private property |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from 'react' | |
import './DebounceApp.css' | |
function debounce(fn, delay) { | |
let handlerId | |
return (...args) => { | |
clearTimeout(handler) | |
handlerId = window.setTimeout(() => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
unshuffled_array = [1, 2, 3, 4, 5] | |
def shuffle_array_v1(arr): | |
output = [] | |
count_of_items_in_arr = len(arr) | |
while count_of_items_in_arr: | |
random_index = random.randint(0, count_of_items_in_arr - 1) | |
item = arr[random_index] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /* | |
# There are N people | |
# Some subset of the N people know the secret | |
# There are M meetings which are encoded as subsets of the N people | |
# There is a total order over the meetings that tells you the order in which they occur | |
# When people meet they share the secret | |
# Calculate the set of people who know the secret after all the meetings | |
# */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"basics": { | |
"name": "Andrew Gerst", | |
"label": "Senior Software Engineer" | |
} | |
} |
NewerOlder