I hereby claim:
- I am endzyme on github.
- I am nickhuanca (https://keybase.io/nickhuanca) on keybase.
- I have a public key ASB1ieqGkiWH4joJSuPpWS-kKShDiPvQNRptjxjkUvpZdgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| [ | |
| { | |
| "DeliveryStreamDescription": { | |
| "HasMoreDestinations": false, | |
| "VersionId": "1", | |
| "CreateTimestamp": 12345678.047, | |
| "DeliveryStreamARN": "arn:aws:firehose:us-east-1:1234567:deliverystream/some_name", | |
| "DeliveryStreamStatus": "ACTIVE", | |
| "DeliveryStreamName": "some_name", | |
| "Destinations": [ |
| #!/usr/bin/env python3 | |
| import json,sys | |
| json_files = sys.argv[1:] | |
| if len(json_files) < 1: | |
| print("Usage: <script>.py <jsonfile1> <jsonfile2>...") | |
| exit(1) | |
| for json_file in json_files: |
| namespace :semaphore do | |
| desc "Basic Semaphore Task" | |
| task :my_task_name => :environment do | |
| # Build list of running threads | |
| @threads = [] | |
| @max_threads = 3 | |
| # Setup Rails Config to allow concurrency (prelaoding env for models) | |
| Rails.configuration.threadsafe! | |
| Rails.configuration.dependency_loading = true |
| #!/bin/bash | |
| # Quick Dry Run Example Bash | |
| dry=$1 | |
| function run () { | |
| if [ ! -z "$dry" ]; then | |
| echo "WOULD HAVE $@" | |
| else | |
| $@ | |
| fi | |
| } |
| #!/bin/bash | |
| # | |
| # Author: Nick Huanca | |
| # | |
| # Basic assumptions: | |
| # - This script is run from cwd: /var/lib/jenkins/plugins | |
| # - You have wget | |
| # | |
| # Known Issues: | |
| # Any versions with "1.2-SNAPSHOT (private blah blah blah)" appended |
| #!/usr/bin/env ruby | |
| require 'yaml' | |
| exit_code = 0 | |
| if ARGV.length != 1 | |
| puts "Usage: ruby validate_ymls.rb directory_absolute_path" | |
| exit! | |
| end |
| Facter.add("some_fact") do | |
| setcode do | |
| "return some string" | |
| end | |
| end |
| <% items = @compute_resource.package.package_type.workflow %> | |
| <% items.delete(:adding_to_network) if @compute_resource.load_balancers.empty? %> | |
| <% count = items.count %> | |
| <% state_index = items.index @compute_resource.machine_state.to_sym %> | |
| <% state = @compute_resource.machine_state %> | |
| <% found = false %> | |
| <div class="row"> | |
| <% items.each do |e| %> | |
| <div class="span2 pagination-centered"> | |
| <%= e.to_s.titleize %> |