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:
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 |
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"time" | |
) | |
type Queue struct { | |
data []interface{} |
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" |
# 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 <[email protected]> October 2015 | |
#------------------------------------------------------------------------------# | |
# Command that Bash executes just before displaying a prompt | |
export PROMPT_COMMAND=set_prompt |
Requiring ICs to demonstrate business impact for promotion is, at best, imprecise, and, at worst, disingenuous. Instead, two more valuable and precise measures are:
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