I hereby claim:
- I am nkg on github.
- I am nkg (https://keybase.io/nkg) on keybase.
- I have a public key ASCFPczClbOK9b-OtthACFGAKtICN10WQP4UM36LDyQmKQo
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # Ask for the administrator password upfront | |
| # As my dotfiles are private, I need to configure github auth first | |
| # USAGE: /bin/bash -c "export BW_SERVER=vault.bitwarden.com && $(curl -fsSL https://gist.githubusercontent.com/nkg/b134a6319e3bd1653ea28dd123b36e5d/raw/pre_bootstrap.sh)” | |
| set -ufo pipefail | |
| sudo -v |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
I am nkg76 on github.
I am nkg (https://keybase.io/nkg) on keybase.
I have a public key ASDsBbg-abcZw22lqg_lzEBAEFl41WZ7GFSNF37J7l97RAo
| Wed Jul 24 14:40:09 UTC 2019 |
| 0 |
This is an example of adding Jenkins build status to a [dashing-dashboard](https://github.com/Shopify/dashing
If a job is running, the widget will have a grey background. If a job succeeded at its last run, it will have a green background. If a job failed at its last run, it will have a red background.
Requirements:
| #!/usr/bin/env bash | |
| apt-get -y update | |
| apt-get -y upgrade | |
| apt-get -y install git build-essential autoconf zlib1g-dev libssl-dev \ | |
| libreadline-dev libyaml-dev libcurl4-openssl-dev curl python-software-properties \ | |
| ruby1.9.1 ruby1.9.1-dev rubygems1.9.1 irb1.9.1 ri1.9.1 rdoc1.9.1 python-pip zsh-beta \ | |
| ack-grep | |
| gem install puppet ruby-shadow --no-ri --no-rdoc |
| bash -c ' | |
| if [ ! -f /usr/bin/chef-client ]; then | |
| apt-get update | |
| apt-get -y upgrade | |
| apt-get install -y build-essential wget zlib1g-dev libssl-dev libffi-dev libncurses-dev libreadline-dev libyaml-dev libffi6 libssl0.9.8 | |
| wget https://s3.amazonaws.com/dev.ops/ruby-1.9.3-p194-perf_without_psych_no_warnings_amd64.deb | |
| dpkg -i ruby-1.9.3-p194-perf_without_psych_no_warnings_amd64.deb | |
| wget http://production.cf.rubygems.org/rubygems/rubygems-1.8.23.tgz |
| /** | |
| * The following snippet will ask the user to rate your app the second time they launch it. | |
| * It lets the user rate it now, "Remind Me Later" or never rate the app. | |
| */ | |
| var win = Ti.UI.createWindow({ backgroundColor: '#fff' }); | |
| win.addEventListener('open', checkReminderToRate); | |
| win.add(Ti.UI.createLabel({ text: 'This is a simple app that will remind you to rate it.' })); | |
| win.open(); | |
| function checkReminderToRate() { |