Skip to content

Instantly share code, notes, and snippets.

@technolo-g
technolo-g / gist:78e647630cdc87285a11
Created May 19, 2015 05:06
Anil Madhavapeddy – Unikernels: Functional Infrastructure with Mirage OS
"Unikernels give you a chance to rebuild the world in the way you want to think about it." --Anil Madhavapeddy
xcode with development tools
homebrew
rvm
vagrant
virtualbox
iterm2
alfred
http://spectacleapp.com/ (allows you to snap windows around with kb shortcuts)
BetterSnapTool if spectacle doesn't do what you want
remap your caps lock key to command
@technolo-g
technolo-g / app1.conf
Created August 27, 2015 13:00
Dynamic Routing to your PaaS With NGINX
## -- Begin app1 Cluster -- ##
upstream app1 {
server 10.32.28.2:32851;
}
server {
listen 80;
server_name app1.paas.domain.com;
@technolo-g
technolo-g / gimp.md
Created September 19, 2015 22:36
Gimp Notes

Notes

Export Transparent PNG busted

Menu - Image - Mode - Convert to Color Profile -> RGB

Transparent Background

  • Select layer and add alpha if needed
  • Select by color
  • Edit -> Clear
@technolo-g
technolo-g / commands.sh
Last active October 19, 2016 20:20
Spacemacs
# Finding Files
SPC ft # Toggle NeoTree
SPC pt # Open project root
SPC ff # Find a file with Helm
# Buffers / Files
SPC fs # Save file
SPC bd # Close buffer
SPC TAB # Switch between open buffers
import jenkins.model.*
import com.cloudbees.plugins.credentials.*
import com.cloudbees.plugins.credentials.common.*
import com.cloudbees.plugins.credentials.domains.*
import com.cloudbees.plugins.credentials.impl.*
import com.cloudbees.jenkins.plugins.sshcredentials.impl.*
import org.jenkinsci.plugins.plaincredentials.*
import org.jenkinsci.plugins.plaincredentials.impl.*
import hudson.util.Secret
import hudson.plugins.sshslaves.*
@technolo-g
technolo-g / README.md
Created October 18, 2016 21:12 — forked from dnozay/_Jenkins+Script+Console.md
jenkins groovy scripts collection.
@technolo-g
technolo-g / notes.md
Last active December 21, 2016 02:05
Operations Ramp Up

So you want to be a Sysadmin?

This gist outlines a basic course that should help the average developer or other person familiar with the usage of computers how to ramp themselves up on Ops / DevOPs. Each of the resouces includes additional resources and so if more in-depth knowledge is needed, feel free to explore the other options put forth by the authors listed here.

As with any program, it is very important to understand the tasks you are completing and commands you are running before moving on to the next section. All of these skills build upon each other and so a missing part of the foundation will lead to difficulties figuring out what is happening down the road.

@technolo-g
technolo-g / kubernetes.groovy
Created March 28, 2017 17:09 — forked from jhoblitt/kubernetes.groovy
configuring the kubernetes jenkins plugin via groovy
import org.csanchez.jenkins.plugins.kubernetes.*
import jenkins.model.*
def j = Jenkins.getInstance()
def k = new KubernetesCloud(
'jenkins-test',
null,
'https://130.211.146.130',
'default',