Skip to content

Instantly share code, notes, and snippets.

View fooforge's full-sized avatar
🌴
On vacation

Mike Stojan fooforge

🌴
On vacation
View GitHub Profile
@rowan-m
rowan-m / gist:1026918
Created June 15, 2011 11:34 — forked from jedi4ever/gist:898114
update jenkins Updatecenter from CLI
$ java -jar jenkins-cli.jar -s http://localhost:9000 install-plugin findbugs
findbugs is neither a valid file, URL, nor a plugin artifact name in the update center
No update center data is retrieved yet from: http://updates.jenkins-ci.org/update-center.json
findbugs looks like a short plugin name. Did you mean 'null'?
# Specifying a full URL works!
$ java -jar jenkins-cli.jar -s http://localhost:9020 install-plugin http://updates.jenkins-ci.org/download/plugins/AdaptivePlugin/0.1/AdaptivePlugin.hpi
# Get the update center ourself
@lucasfais
lucasfais / gist:1207002
Created September 9, 2011 18:46
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@ashb
ashb / run-chef.sh
Created October 30, 2011 14:48
Make the chef-client (v0.10+) daemon process wake and run, and print what its doing to stdout
#!/bin/bash
#
# Author:: Ash Berlin (ash_github@firemirror.om)
# Copyright:: Copyright (c) 2011 DigiResults Ltd.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
@miketheman
miketheman / set_environment.rb
Created December 29, 2011 16:12 — forked from nstielau/set_environment.rb
A Knife plugin to set node environment
## Knife plugin to set node environment
# See http://wiki.opscode.com/display/chef/Environments
#
## Install
# Place in .chef/plugins/knife/set_environment.rb
#
## Usage
# Nick-Stielaus-MacBook-Pro:chef-repo nstielau$ knife node set_environment mynode.net my_env
# Looking for mynode.net
# Setting environment to my_env
@jimbojsb
jimbojsb / gist:1630790
Created January 18, 2012 03:52
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

@bhenerey
bhenerey / ideal ops.md
Created May 23, 2012 19:40
ideal ops checklist

In a perfect world, where things are done well, not just quickly, I would expect to find the following when joining the company:

Documentation

  • Accurate / up-to-date systems architecture diagram

  • Accurate / up-to-date network diagram

  • Out-of-hours support plan

  • Incident management plan

#!/usr/bin/env ruby
require 'benchmark'
require 'socket'
i = 10_000
Benchmark.bm(9) do |x|
x.report("shell out") do
i.times { `hostname -f`.strip }
@marvin
marvin / sublime-settings
Created November 19, 2012 17:41
my sublime config
{
"auto_complete": true,
"auto_complete_commit_on_tab": true,
"auto_complete_delay": 50,
"auto_complete_selector": "source - comment",
"auto_complete_size_limit": 4194304,
"auto_complete_triggers":
[
{
"characters": "<",
@Schepp
Schepp / wd-187.md
Last active August 29, 2015 14:06
Transkript des Interviews aus der Working Draft Podcast Revision 187: http:workingdraft.de/187/

Mike ist 33, gebürtiger Berliner, wohnt noch in Lübeck, bald wieder Berlin. Anfangs in der berliner Startup-Szene unterwegs gewesen, dann drei Jahre bei Xing in Hamburg gearbeitet. Seit zwei Jahren bei Github.

Mike ist eigentlich Sysop, also Administrator. Bei Xing für mehrere hundert Server zuständig. Später dann immer mehr in Richtung DevOps gewandert, was er jetzt macht.

Erst 5 Jahre als Barkeeper gearbeitet, dann Ausbildung zum Fachinformatiker.

Nach den drei Jahren bei Xing war er wieder auf der Suche nach was Neuem und hat einen Tweet von Github bzgl. Enterprise Support Europe gesehen und angeklickt und hat sich darauf beworben.

Das Ganze hat mit einer einfachen E-Mail angefangen, in der Mike schrieb was er gerade tut, wieso er sich bewerbe. Dann kam eine positive Antwort von Github, die 10 "Screening Fragen" beigefügt haben, also Aufgaben zum knacken. Und damit war er dann an einem Wochenende 10 - 15 Stunden beschäftigt. Das wird auch heute noch so bei Github praktiziert. Daraufhin kam es zu einem