Skip to content

Instantly share code, notes, and snippets.

View i386's full-sized avatar

James William Dumay i386

View GitHub Profile
# Shakshuka
## Incredients
. 1 red bell pepper
. 1 large brown onion
. 15oz chick peas (canned)
. 6lbs diced tomatos (canned)
. 6 eggs
. Greek yogurt
. Chopped parsley, to serve

Keybase proof

I hereby claim:

  • I am i386 on github.
  • I am i386 (https://keybase.io/i386) on keybase.
  • I have a public key ASAJcWSMvY1ToHGLF8w5rXjfP7lm7A25enSaPNxpyv1XCAo

To claim this, I am signing this object:

pipeline {
agent any
stages {
stage('Build') {
steps {
echo 'build steps go here'
}
}
stage('Test') {
pipeline {
stage('a single stage') {
sh 'echo first step'
retry (5) {
sh 'echo if this step fails it will be retried 5 times before failing the pipeline'
}
sh 'last step'
}
}
[
{
"_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineStepImpl",
"_links": {
"self": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/blueocean/branches/story%252FJENKINS-38847/runs/3/steps/3/"
},
"actions": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
@i386
i386 / jira_to_adoc.rb
Created July 26, 2016 00:31
Converts a JIRA query RSS feed to asciidoc suitable for release notes
require 'rss'
require 'open-uri'
url = 'https://issues.jenkins-ci.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=component+%3D+blueocean-plugin+AND+resolution+%3D+Fixed+AND+resolved+>%3D+2016-07-15+AND+resolved+<%3D+2016-07-22&tempMax=1000'
open(url) do |rss|
feed = RSS::Parser.parse(rss)
feed.items.each do |item|
puts "* #{item.link}#{item.title}"
end
end
@i386
i386 / Recipe - Roast chicken with paprika and lemon.md
Last active November 13, 2017 22:31
Recipe - Roast chicken with paprika and lemon

Roast chicken with paprika and lemon

This is just super fucking delicious. Perfect if you are having one of those evenings at home cooking for a date, family, etc and don't want to look like a hopeless adult.

If you made this and liked it (or it got you dumped, fired, sent to a siberian penal colony, airlocked, etc) let me know on twitter @i386.

If you are making this after 2070: sucked in as I am likely dead and laughing from the grave.

Ingredients

@i386
i386 / gist:08a4418d630d959ce44b
Created September 12, 2014 00:12
Make iTunes radio actually buffer on crap connections
defaults write com.apple.iTunes stream-buffer-size 128000
//Setup transition on both _visibleLayer and newLayer
CATransition* transition = [CATransition animation];
transition.startProgress = 0;
transition.endProgress = 1.0;
transition.type = kCATransitionPush;
transition.subtype = kCATransitionFromRight;
transition.duration = 0.5;
[layer addAnimation:transition forKey:@"sublayers"];
@i386
i386 / gist:5516361
Created May 4, 2013 05:46
Build fails on 10.7 when looking for 10.8 only classes
02-May-2013 08:34:54 CompileXIB Optique/OPPhotoViewController.xib
02-May-2013 08:34:54 cd /Users/jdumay/bamboo-home/xml-data/build-dir/WH-OPTIQUE0-JOB1
02-May-2013 08:34:54 setenv XCODE_DEVELOPER_USR_PATH /Applications/Xcode.app/Contents/Developer/usr/bin/..
02-May-2013 08:34:54 /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/jdumay/Library/Developer/Xcode/DerivedData/Optique-gnglnurvvvpakxhfmijylawfsttu/Build/Products/Debug/Optique.app/Contents/Resources/OPPhotoViewController.nib /Users/jdumay/bamboo-home/xml-data/build-dir/WH-OPTIQUE0-JOB1/Optique/OPPhotoViewController.xib --sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
02-May-2013 08:34:56 /* com.apple.ibtool.errors */
02-May-2013 08:34:56 /Users/jdumay/bamboo-home/xml-data/build-dir/WH-OPTIQUE0-JOB1/Optique/OPPhotoViewController.xib: error: Unable to resolve Interface Builder plug-in dependency