This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
schemaVersion: '0.3' | |
description: Updates a Microsoft Windows AMI. By default it will install all Windows | |
updates, Amazon software, and Amazon drivers. It will then sysprep and create a | |
new AMI. Supports Windows Server 2008 R2 and greater. | |
assumeRole: "{{ AutomationAssumeRole }}" | |
parameters: | |
SourceAmiId: | |
type: String | |
description: "(Required) The source Amazon Machine Image ID." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# escape=` | |
FROM microsoft/windowsservercore | |
SHELL ["powershell", "-Command"] | |
RUN Set-ExecutionPolicy -ExecutionPolicy Bypass | |
ENV chocolateyUseWindowsCompression false | |
RUN iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex | |
RUN choco feature enable -n allowEmptyChecksums | |
RUN choco install -y -r nuget.commandline |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
namespace ConsoleApplication | |
{ | |
public class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
var startInfo = new ProcessStartInfo { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def hockeyApiToken = '<elided>' | |
node('xcode8') { // node() is how we specify which build agent we want to run on | |
color { | |
stage('checkout') { // stage() is how we label parts of our pipeline. they can be visualised in the web ui. | |
checkout scm // we have to pull our code down from git first! | |
} | |
stage('bundler') { | |
// we use ruby's bundler to ensure our versions of cocoapods and fastlane are correct |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM swiftdocker/swift:latest | |
RUN sudo sed -i 's/archive.ubuntu.com/au.archive.ubuntu.com/g' /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get install -y \ | |
libcurl3-dev \ | |
openssl \ | |
uuid-dev | |
WORKDIR /app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import maker | |
import streams | |
makeFormat(MachData): | |
f(firstField, int32, default: 4) | |
f(secondField, string, length: firstFiend) | |
f(thirdField, string, length: firstField + 6, value: abc) | |
let s = "\x05\x00\x00\x00abcxxxdefxxx" | |
let stream = newStringStream(s) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 6eea25f98c361458e2840b03cea256f8a4e790fa Mon Sep 17 00:00:00 2001 | |
From: Aidan Steele <[email protected]> | |
Date: Fri, 3 Jul 2015 09:58:37 +1000 | |
Subject: [PATCH] change | |
--- | |
compile.c | 13 ++++++++++--- | |
load.c | 16 ++++++++++++++++ | |
2 files changed, 26 insertions(+), 3 deletions(-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gem install guard | |
# gem install guard-shell | |
# guard - watch the Magic™ | |
guard 'shell', :elixirc_bin => "/usr/local/elixirc" do | |
watch(/(.+\.ex$)/) { |m| `elixirc #{m[0]}` } | |
end | |
guard 'shell', :elixir_bin => "/usr/local/elixir" do | |
watch(/(.+\.exs)/) { |m| `elixir #{m[0]}` } | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Undefined symbols for architecture armv7: | |
"_OBJC_CLASS_$_MKMapView", referenced from: | |
objc-class-ref in Reveal(IBAMKMapViewSerializer.o) | |
l_OBJC_$_CATEGORY_MKMapView_$_IBASerializer in Reveal(IBAMKMapViewSerializer.o) | |
"_OBJC_CLASS_$_GLKView", referenced from: | |
objc-class-ref in Reveal(IBAGLKViewSerializer.o) | |
l_OBJC_$_CATEGORY_GLKView_$_IBASerializer in Reveal(IBAGLKViewSerializer.o) | |
"_OBJC_CLASS_$_MKAnnotationView", referenced from: | |
objc-class-ref in Reveal(IBAMKAnnotationViewSerializer.o) | |
l_OBJC_$_CATEGORY_MKAnnotationView_$_IBASerializer in Reveal(IBAMKAnnotationViewSerializer.o) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'cfpropertylist' | |
raise "#{$0}: Usage: #{$0} SourceSkin.bundle Customisations.bundle TargetSkin.bundle" unless ARGV.count == 3 | |
source, custom, target = ARGV | |
CONFIG_NAME = "configuration.plist" | |
def plist_from_path(path) | |
CFPropertyList.native_types(CFPropertyList::List.new(:file => path).value) if File.exists?(path) | |
end |