I hereby claim:
- I am raindev on github.
- I am raindev (https://keybase.io/raindev) on keybase.
- I have a public key ASBb46e0JuM3Gar31P90FDV9Lk2RvgNZ8MLZUS6Kg-L6Ygo
To claim this, I am signing this object:
#!/bin/bash | |
set -euo pipefail | |
services=( | |
fashion-store-api | |
fjord | |
cliff | |
coast-cart-service | |
quote-service | |
coast-checkout-service |
javascript:(function() { | |
Array.from(document.getElementsByTagName('c-wiz')) | |
.map(tag => ({ | |
threadId: tag.getAttribute('data-topic-id'), | |
firstMessage: tag.children[0].getAttribute('aria-label') | |
})) | |
.filter(thread => thread.threadId != null && thread.firstMessage != null) | |
.forEach(thread => console.log(window.location.href + '/' + thread.threadId | |
+ " : " + thread.firstMessage)) | |
}()) |
trait Wrap { | |
fn pass<F>(&self, consumer: F) where F: Fn(&Self) { | |
consumer(self) | |
} | |
} | |
struct Stringy(String); | |
impl Wrap for Stringy { | |
} |
#!/bin/bash | |
set -ex | |
if [ -d .git/ ]; then | |
git remote set-url origin "$BUILDKITE_REPO" | |
else | |
git clone "$BUILDKITE_REPO" . | |
fi | |
git clean -fdqx |
package clinteastwood; | |
import java.awt.Color; | |
import java.util.Random; | |
import robocode.AdvancedRobot; | |
import robocode.ScannedRobotEvent; | |
public class ClintBot extends AdvancedRobot { | |
private final Random random = new Random(); |
[package] | |
name = "lost-links" | |
version = "0.1.0" | |
authors = ["Andrew Barchuk <raindev@icloud.com>"] | |
[dependencies] | |
curl = "0.3.6" # -> winapi:0.2 | |
regex = "0.1.52" | |
url = "1.2.0" | |
clap = "2.12.1" # -> winapi:~0.2.8 |
converting number 13 to String | |
temporary number is currently 13 | |
current digit 3 | |
current digit as string Three | |
current string value of number Three | |
temporary number is currently 1 | |
current digit 1 | |
current digit as string One | |
current string value of number OneThree | |
converting number 52 to String |
func printMathResult(mathFunction: (Int, Int) -> Int, _ a: Int, _ b: Int) { | |
print(mathFunction(a, b)) | |
} | |
printMathResult({$0 + $1}, a: 2, b: 3) | |
printMathResult({$0 + $1}, 2, 3) |
I hereby claim:
To claim this, I am signing this object:
use std::fs; | |
use std::env; | |
use std::process; | |
fn main() { | |
match env::args_os().nth(1) { | |
None => { | |
print!("nope"); | |
print!("okay"); | |
// will cause losss of stdout buffered above |