Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

James Turnbull jamtur01

💭
I may be slow to respond.
Block or report user

Report or block jamtur01

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jamtur01
jamtur01 / block_personal_appts
Created Oct 10, 2019 — forked from ttrahan/block_personal_appts
Google Apps Script to automatically create, edit and delete events on work calendar for personal calendar events. Instructions on how to set up can be found at https://medium.com/@willroman/auto-block-time-on-your-work-google-calendar-for-your-personal-events-2a752ae91dab
View block_personal_appts
function sync() {
var id="XXXXXXXXXX"; // CHANGE - id of the secondary calendar to pull events from
var today=new Date();
var enddate=new Date();
enddate.setDate(today.getDate()+7); // how many days in advance to monitor and block off time
var secondaryCal=CalendarApp.getCalendarById(id);
var secondaryEvents=secondaryCal.getEvents(today,enddate);
View gist:57cbc5078c1d16bbc56ba835d877a453
version: 2 # use CircleCI 2.0
shared: &shared
working_directory: /go/src/github.com/riemann/riemann-go-client
environment: # environment variables for the build itself
TEST_RESULTS: /tmp/test-results # path to where test results will be saved
GO111MODULES: on
GOLANGCI_LINT_VERSION: 1.15.0
steps: # steps that comprise the `build` job
- checkout # check out source code to working directory
View keybase.md

Keybase proof

I hereby claim:

  • I am jamtur01 on github.
  • I am jamtur01 (https://keybase.io/jamtur01) on keybase.
  • I have a public key ASBP5fc243Z6s-XgtJiPP54MHBKawO2KrxpKlA708OsB5go

To claim this, I am signing this object:

View gist:2a10846cb42cdb51963ad24307790138
kops create cluster \
--node-count 6 \
--zones us-east-2a,us-east-2b,us-east-2c \
--master-zones us-east-2a,us-east-2b,us-east-2c \
--node-size t3.medium \
--master-size t3.medium \
tornado.quicknuke.com
View gist:516ea541cd4546ee3e17bfd7777ac365
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
* {
font-size: 12pt !important;
}
#threadTree treechildren:-moz-tree-row
{
height: 30px !important;
}
#folderTree treechildren:-moz-tree-row
{
View gist:471d66da69764502859dd9cb6aed748d

A sense of urgency

As a newcomer to the company, and indeed a returnee to larger companies after ten years in startups, I've been finding my feet and getting a sense of the culture of the organization. I'm really impressed by the principles of the organization. I'm especially taken with One Microsoft and the Growth Mindset constructs. Using these it has been easy to orient myself towards mission.

What was less appealing, and slightly disturbing, is a lack of a sense of urgency and ownership in the org. In a startup it is all about execution, you're a lean, capital constrained organization with limited human resources. You have to get the right stuff done in the finite window available to you. The tempo is fast, your goals are challenging, sometimes even seemingly unrealistic. But in the best organizations, individuals and teams move with a clear sense of mission and with urgency. They feel ownership and are deeply invested in their customer's success.

At Microsoft I'm struggling to see that sense of urgenc

View run_riemann_server.sh
#!/bin/bash
git clone https://github.com/riemann/riemann.git
cd riemann
lein deps
cat << EOF > ./riemann.config
; -*- mode: clojure; -*-
; vim: filetype=clojure
View gist:22824c421e7fff89c48834467d0cf1c1
[ 25.975058] traps: gnome-shell[3218] general protection ip:7f767ebebd12 sp:7fff707077e0 error:0 in libgobject-2.0.so.0.5600.1[7f767ebb6000+52000]
[ 26.821634] ACPI BIOS Error (bug): Failure creating [\_GPE.XTBT.SPRT], AE_ALREADY_EXISTS (20180105/dswload2-350)
[ 26.821651] No Local Variables are initialized for Method [XTBT]
[ 26.821653] Initialized Arguments for Method [XTBT]: (2 arguments defined for method invocation)
[ 26.821654] Arg0: 00000000f46ed3a8 <Obj> Integer 0000000000000005
[ 26.821662] Arg1: 000000002ad9e656 <Obj> Integer 0000000002060002
[ 26.821668] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20180105/psobject-252)
[ 26.821674] ACPI Error: Method parse/execution failed \_GPE.XTBT, AE_ALREADY_EXISTS (20180105/psparse-550)
[ 26.821683] ACPI Error: Method parse/execution failed \_GPE.XTBT, AE_ALREADY_EXISTS (20180105/psparse-550)
[ 26.821693] ACPI Error: Method parse/execution failed \_GPE._E42, AE_ALREADY_EXISTS (20180105/psparse-55
@jamtur01
jamtur01 / Prometheus commands
Last active Feb 7, 2018
Prometheus on Kubernetes
View Prometheus commands
kubectl create namespace monitoring
kubectl create -f ./prom-config-map-v1.yml -n monitoring
kubectl create -f ./prom-config-rules-map-v1.yml -n monitoring
kubectl create -f ./prom-deployment.yml -n monitoring
kubectl create -f ./prom-service.yml --namespace monitoring
@jamtur01
jamtur01 / prometheus.yml
Last active Apr 1, 2018
Example Prometheus configuration
View prometheus.yml
global:
scrape_interval: 15s
evaluation_interval: 15s
rule_files:
# - "first.rules"
# - "second.rules"
scrape_configs:
- job_name: 'prometheus'
You can’t perform that action at this time.