I hereby claim:
- I am rbtr on github.
- I am evanbaker (https://keybase.io/evanbaker) on keybase.
- I have a public key ASBVYGVMRCqF6t6z5xrcxDiYu_vPj-Ct749lCUkpE3yuzwo
To claim this, I am signing this object:
| package main | |
| import ( | |
| "fmt" | |
| "container/heap" | |
| ) | |
| type StringHeap []string | |
| func (h StringHeap) Len() int { return len(h) } |
I hereby claim:
To claim this, I am signing this object:
| kubectl get nodes --sort-by=".status.conditions[?(@.reason == 'KubeletReady' )].lastTransitionTime" |
| #!/bin/sh | |
| # | |
| # Run docker-compose in a container | |
| # | |
| # This script will attempt to mirror the host paths by using volumes for the | |
| # following paths: | |
| # * $(pwd) | |
| # * $(dirname $COMPOSE_FILE) if it's set | |
| # * $HOME if it's set | |
| # |
| #!/bin/sh | |
| git filter-branch --env-filter ' | |
| OLD_EMAIL="[email protected]" | |
| CORRECT_NAME="Your Correct Name" | |
| CORRECT_EMAIL="[email protected]" | |
| if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] | |
| then |
| function [age,ri,sio,sii,vi,dr,A,T,checkIndex,egen] = ageOfEarth(n,dt) | |
| clc | |
| format compact | |
| fprintf('Running ageOfEarth with parameters %i cells and a time step of %i\n',n,dt); | |
| % This function will use an implicit time differencing scheme to solve for | |
| % the age of the earth given some stated initial and boundary conditions | |
| % Passed Variables |
| ' This Sub must be in Module1 of the Assembly DocumentProject for the PartsRunner to find it | |
| Sub SubPartsRunner(part As PartDocument, parent As AssemblyDocument) | |
| Dim parentWidth As String | |
| Dim parentHeight As String | |
| parentWidth = "WIDTH" | |
| parentHeight = "HEIGHT" | |
| Dim userParams As UserParameters | |
| Set userParams = part.ComponentDefinition.Parameters.UserParameters |
| #!/bin/sh | |
| # Shell script to install your public key on a remote machine | |
| # Takes the remote machine name as an argument. | |
| # Obviously, the remote machine must accept password authentication, | |
| # or one of the other keys in your ssh-agent, for this to work. | |
| # | |
| # To download and run in one step, copy and paste this in to your terminal, | |
| # replacing "<thisURL>" with this address and "<remote>" with the name of your endpoint: | |
| # sh -c "$(wget -O - <thisURL>)" <remote> |
| rem BATCH_RENUMBER.bat | |
| rem v1 | |
| rem 8 July 2015 | |
| rem EAB @ NHF | |
| @echo off | |
| setlocal EnableDelayedExpansion | |
| cls |
| /* | |
| * The new Design Support Library NavigationView generates a ColorStateList that tints the | |
| * selected item with the theme Primary Color | |
| * This method generates a ColorStateList the same way but with the theme Accent Color | |
| * instead. | |
| */ | |
| /** | |
| * Util method that builds a themed Color State List with the theme Accent Color as the selected | |
| * tint (instead of the Primary Color that NavigationView uses by default) |