Scenario: you get into an elevator with some CEO. Why should they hire you? What do you do and what value can you bring to their org?
This file contains 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 Make Github PR big | |
// @version 1 | |
// @grant none | |
// @match https://github.com/*/*/pull/* | |
// @run-at document-idle | |
// ==/UserScript== | |
document.querySelector(".Layout-sidebar").remove() |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<!-- | |
BBEdit codeless language module for email (for example, what comes out of Mutt when you use "bbedit -w" as its editor) | |
Feel free to customize. | |
By Ryan Wilcox | |
Requires BBEdit 8.0 or higher. To install, copy here: |
This file contains 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
/*{ | |
"type": "action", | |
"targets": ["omnioutliner"], | |
"author": "Marc A. Kastner, with minor edits by Ryan Wilcox", | |
"description": "Create a markdown compatible format from the current document and export it to Drafts 5.", | |
"label": "Drafts - New Draft with Markdown format", | |
"paletteLabel": "Drafts Doc" | |
}*/ | |
var _ = function() { |
This file contains 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 python | |
# A simple script that takes each line of the currently open (and saved!) document | |
# and outputs a file for each line, named with the first matching group of the name_grep | |
# regex | |
# | |
# It saves its output to a folder named "output" on the desktop | |
# | |
# Not really meant for general consumption, but as a tool that gets modified with every new | |
# time you have to do this. |
This file contains 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
#!/opt/local/bin/zsh | |
# NOTE: requires ZSH for vered. If you're using another shell you'll need to set PULL_NUMBER, ORGANIZATION and REPO | |
# somehow yourself | |
# also depends on the jgrep gem (jgrep for "json grep"). jgrep respects object structure and lets | |
# me search for _links.html.href | |
GITHUB_USERNAME=rwilcox | |
GITHUB_PASSWORD=hahahahaha |
This file contains 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 node | |
/* | |
Node script are kind of cool, but they are hard to low-tech write a Node script for someone and give it to them. | |
Sure you can publish a package to NPM, set the binary flag, go through some house keeping... but sometimes that's just | |
not worth the effort. | |
So: can you distribute a Node script that will install it's own modules from a single file? |
This file contains 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
const process = require("process") | |
const superagent = require('superagent') | |
const Ajv = require("ajv") | |
// This example is inspired by the idea of https://riposte.in/ | |
// although that package has a way better DSL by not being written in Javascript | |
// Normally a playground script like this would serve two purposes: | |
// 1. All developers to pass around scripts of things that Should Work |
This file contains 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
tell application "BBEdit" to set theFile to file of document 1 | |
tell application "Finder" to set theFolder to (container of file theFile) as alias | |
set theUnixPath to POSIX path of theFolder | |
tell application "iTerm" | |
tell current session of current terminal | |
write text "pushd \"" & theUnixPath & "\"" | |
end tell | |
activate | |
end tell |