Create a mission statement
Professional
Personal
Create an elevator pitch
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?
// ==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() |
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?
/*{ | |
"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() { |
#!/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? |
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 |
#from faker import Faker | |
#fake = Faker('en_US') | |
#print fake.words() # sentence() #bs() # catch_phrase() | |
import requests | |
import random | |
def main(): |
tell application "BBEdit" | |
tell window 1 | |
set show line numbers to (not show line numbers) | |
set show toolbar to (not show toolbar) | |
set show gutter to (not show gutter) | |
set show navigation bar to (not show navigation bar) | |
-- set show status bar to false | |
end tell | |
end tell |
tell application "BBEdit" | |
tell text window 1 | |
set tab width to 2 | |
set expand tabs to true | |
end tell | |
end tell |
myF = () -> | |
true | |
formattedOutput = | |
full_name: "Ryan Wilcox" | |
username: "rwilcox" | |
needs_profile_update: myF() ? "YES" : "NO" | |
# ^^^ generates (_ref = myF()) != null ? _ref : {"YES": "NO"} | |
# Ummm... that's odd... |
# An example project showing how to write objects using the CSV npm package | |
# | |
# Uses the CSV 0.2.0 style syntax. For an example that shows CSV 0.4.0 | |
# (major syntax change) see https://gist.github.com/rwilcox/e8411242ffe4f06af35c#file-objects_to_csv-coffee | |
csv = require 'csv' | |
util = require 'util' | |
# Use the callback API to write this | |
callback_generate_csv_from_list = (records_to_write, cb) -> |