This file contains 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
#!/usr/bin/env zsh | |
# | |
# Bootstrap program for the system. | |
# | |
# Enable the default zsh options | |
emulate zsh | |
setopt errexit # exit the script if any statement returns a non-true valu | |
setopt pipefail # unveil hidden pipeline command errors |
This file contains 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
#!/usr/bin/expect | |
set timeout -1; | |
spawn ./android_sdk/tools/bin/sdkmanager --update | |
spawn ./android_sdk/tools/bin/sdkmanager --install "platform-tools" "build-tools;26.0.3" "build-tools;27.0.3" "build-tools;28.0.3" "platforms;android-26" "platforms;android-27" "platforms;android-28" "extras;android;m2repository" | |
expect { | |
"Accept? (y/N):" { exp_send "y\r" ; exp_continue } | |
eof | |
} |
This file contains 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
[dependencies] | |
winapi = { version = "0.3", features = ["shellapi","errhandlingapi"] } | |
widestring = "0.4.0" |
This file contains 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
#!/usr/bin/env bash | |
set -x | |
installer=$1 | |
destination=$2 | |
tmpDestination="$destination/tmp" | |
mkdir -p $tmpDestination | |
xar -xf "$installer" -C "$tmpDestination" | |
tar -C "$destination" -zmxf "$tmpDestination/Unity.pkg.tmp/Payload" |
This file contains 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
#!/usr/bin/env ruby | |
root = Dir.pwd | |
def each_repo(root, &block) | |
Dir.foreach(root) {|repo| | |
if File.directory?(File.join(root, repo)) and File.exist?(File.join(root, repo, '.git')) | |
block.call(File.join(root,repo), repo) | |
end | |
} | |
end |
This file contains 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 -ex | |
# UPDATE THESE URLs | |
export JDK_URL=http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz | |
export UNLIMITED_STRENGTH_URL=http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip | |
# Download Oracle Java 8 accepting the license | |
wget --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" \ |
This file contains 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
buildscript { | |
repositories { | |
mavenCentral() | |
jcenter() | |
maven { | |
url 'http://repo.jenkins-ci.org/releases/' | |
} | |
} | |
dependencies { | |
classpath 'com.netflix.nebula:gradle-dependency-lock-plugin:4.9.3' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 'octokit' | |
require 'erb' | |
Octokit.auto_paginate = true | |
client = Octokit::Client.new access_token: 'GIT_TOKEN' | |
root = File.dirname(__FILE__) | |
def each_repo(root, &block) | |
Dir.foreach(root) {|repo| | |
if File.directory?(File.join(root, repo)) and File.exist?(File.join(root, repo, '.git')) |
NewerOlder