Skip to content

Instantly share code, notes, and snippets.

@kiran
kiran / impact.md
Last active Jan 18, 2023
on impact
View impact.md

Requiring ICs to demonstrate business impact for promotion is, at best, imprecise, and, at worst, disingenuous. Instead, two more valuable and precise measures are:

  1. measuring project management & technical skills (can the engineer effectively/efficiently complete large, unscoped projects?), and
  2. evaluating the engineer's contribution to the team's roadmap (can the engineer identify high-value projects within the team's responsibilities? do they push their team to evaluate the prioritization of their work?)

Engineering ICs cannot plan to affect business impact in a foolproof way -- even if an IC had the means to evaluate the impact of their project, it's rare that they are empowered to select projects. Impactful projects are driven partly by luck: whether the project was timely/actually important, whether you get assigned that project, and whether you are given the resources to make the project successful. The influence of luck on impact often pushes engineers to do short-term/unrisky work, when long-te

@weibeld
weibeld / set_prompt.sh
Created Dec 10, 2015
Bash Prompt With Exit Code of Last Command
View set_prompt.sh
# Set a Bash prompt that includes the exit code of the last executed command.
#
# Setup: paste the content of this file to ~/.bashrc, or source this file from
# ~/.bashrc (make sure ~/.bashrc is sourced by ~/.bash_profile or ~/.profile)
#
# Daniel Weibel <danielmweibel@gmail.com> October 2015
#------------------------------------------------------------------------------#
# Command that Bash executes just before displaying a prompt
export PROMPT_COMMAND=set_prompt
@kujohn
kujohn / portforwarding.md
Last active Jan 21, 2022
Port forwarding in Mavericks
View portforwarding.md

Port Forwarding in Mavericks


Since Mavericks stopped using the deprecated ipfw (as of Mountain Lion), we'll be using pf to allow port forwarding.

####1. anchor file Create an anchor file under /etc/pf.anchors/<anchor file> with your redirection rule like:

@cespare
cespare / pygments_example.go
Created Oct 1, 2012
A first hello-world attempt at pygments.go
View pygments_example.go
package main
// #cgo CFLAGS: -I/usr/include/python2.7
// #cgo LDFLAGS: -lpython2.7
// #include <Python.h>
// int pyRunString(const char *s) { return PyRun_SimpleString(s); }
import "C"
import "unsafe"
@jordanorelli
jordanorelli / queue.go
Created Sep 7, 2012
an absurd queue implementation with higher-order channels
View queue.go
package main
import (
"fmt"
"math/rand"
"time"
)
type Queue struct {
data []interface{}
View .screenrc
escape \000\040
bind n focus down
bind ^n focus down
bind p focus up
bind ^p focus up
bind k next
bind ^k next
bind j prev
bind ^j prev