- hdiutil attach /Applications/Install\ macOS\ Sierra\ Public\ Beta.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
- hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J
- hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build
- asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
- rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
- cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/
- cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklist
  
    
      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
    
  
  
    
  | imports: | |
| - path: vm-template.jinja | |
| resources: | |
| - name: aur-builder | |
| type: vm-template.jinja | |
| properties: | |
| project: august-impact-91906 | |
| zone: australia-southeast1-c | |
| user: shorty | 
  
    
      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
    
  
  
    
  | <?php | |
| private function log($args) | |
| { | |
| $str = ''; | |
| foreach ($args as $arg) { | |
| if (is_string($arg)) { | |
| $str .= $arg; | |
| } else { | |
| ob_start(); | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| set -e | |
| if [[ $(whoami) != "buildkite-agent" ]]; then | |
| cp $(basename $0) /tmp/shell.sh | |
| sudo su buildkite-agent -s /tmp/shell.sh | |
| exit $? | |
| fi | 
  
    
      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
    
  
  
    
  | # install sudo | |
| apt-get install -y sudo | |
| # allow users to do sudoey things | |
| # change network interface things | 
  
    
      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
    
  
  
    
  | package main | |
| // http://www.cocoawithlove.com/2010/09/minimalist-cocoa-programming.html | |
| // https://github.com/TooTallNate/NodObjC/blob/master/examples/NodeCocoaHelloWorld.app/Contents/MacOS/app.js | |
| // https://github.com/TooTallNate/NodObjC/issues/21 | |
| // http://www.gnustep.it/nicola/Tutorials/FirstGUIApplication/node3.html | |
| /* | |
| #cgo CFLAGS: -x objective-c | |
| #cgo LDFLAGS: -framework Cocoa | 
Extract source tarball, run make:
$ make
make: sdl-config: Command not found
g++ -std=c++11 -Wall -MP -MMD -g -O0 -mwindows -D__WIN32__ -DSDL -DNO_MIXER  -Iinclude -c src/engine/g_game.cpp -o build/engine/g_game.o
clang: error: unknown argument: '-mwindows'
make: *** [build/engine/g_game.o] Error 1
  
    
      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
    
  
  
    
  | package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "io" | |
| "os" | |
| "github.com/porty/emitter" | |
| ) |