I hereby claim:
- I am blu-j on github.
- I am mogulslayer (https://keybase.io/mogulslayer) on keybase.
- I have a public key ASCJzhN8cVsDo9cuqwklTrXuo_WqjXZY8nSQQqheXiKEOAo
To claim this, I am signing this object:
export OS_ARCH=aarch64 PLATFORM=aarch64 | |
# Use this to make the image that we need for the pi, first we make | |
# the image, then we flash it to the pi. Wait for it to initialize, | |
# then we can then make a squashfs image | |
# ./build/raspberry-pi/rip-image.sh | |
# Also, to watch the init, do | |
# ```sh | |
# nc 192.168.1.161 8080 | |
# ``` |
Ran into issues that I couldn't get my live share working in vscode, to make work I followed | |
cleaning out the extensions in ~/.vscode/extensions, reinstalled | |
then | |
https://github.com/MicrosoftDocs/live-share/issues/4646#issuecomment-1115120608 | |
then | |
> Comment out the ssl_conf value in /etc/ssl/openssl.cnf |
I hereby claim:
To claim this, I am signing this object:
export type SE<Types extends { [key: string]: any }> = (<B>( | |
options: { [key in keyof Types]: (a: Types[key]) => B } | |
) => B) & { | |
type: keyof Types; | |
}; | |
export const se = <K extends string, B>(type: K, b: B): SE<{ [k in K]: B }> => { | |
const scottEncodedType = ((options) => options[type](b)) as SE<{ [k in K]: B }>; | |
scottEncodedType.type = type; | |
scottEncodedType.toString = () => `${type}(${b})`; | |
return scottEncodedType; |
const prng = (seed = 1234) => | |
((rand) => ( | |
rand(), | |
{ | |
rand, | |
randInt: ({ max = 2, min = 0 } = {}) => Math.floor(rand({ max, min })), | |
} | |
))(({ min = 0, max = 1 } = {}) => (((seed = (Math.abs(seed) * 16807) % 2147483647) - 1) / 2147483646) * (max - min) - min); |
const choice = { | |
r: 0, | |
s: 1, | |
p: 2, | |
function leftWins(left, right) { | |
return (choice[left] + 1)%3 === choice(right) | |
} | |
function tie(left, right) { |
use std::cmp::{max, min}; | |
use std::collections::HashMap; | |
use std::str::FromStr; | |
#[derive(Debug)] | |
enum Direction { | |
Up, | |
Left, | |
Right, | |
Down, |
- [ ] Did you need to add anything to the Jira to reproduce it. | |
- [ ] Did need to update what needs to be tested (manual regression) | |
- [ ] PR name should look like https://github.com/semantic-release/semantic-release https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#type | |
* feat: This is a test | |
* fix(alarms): Missing | |
#### Description/ Issue | |
#### Implementation |
{ | |
class IO<A> { | |
static of<A>(unsafePerformIO: () => A) { | |
return new IO(unsafePerformIO); | |
} | |
constructor(private unsafePerformIO: () => A) { } | |
map<B>(ab: (a: A) => B) { | |
return new IO<B>(() => ab(this.unsafePerformIO())); | |
} |