I hereby claim:
- I am termhn on github.
- I am gso (https://keybase.io/gso) on keybase.
- I have a public key ASCXUFJgFpXDOIpBnwIpRIcGIXND6UWL8KAY62woGj55rQo
To claim this, I am signing this object:
function movingAverage(start_row, end_row, column, length, triggers) { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var range_string = "Data!" + column + start_row + ":" + column + end_row; | |
var data = sheet.getRange(range_string).getValues(); | |
var averages = []; | |
var rows = data.length - 1; | |
for (var row = rows; row >= 0; row--) { | |
var sum = 0; |
I hereby claim:
To claim this, I am signing this object:
var fs = require("fs"); | |
var inputData = JSON.parse(fs.readFileSync('data.json', 'utf-8')); | |
function round(value, decimals) { | |
return Number(Math.round(value+'e'+decimals)+'e-'+decimals); | |
} | |
var level3Types = [ | |
"Level 3 Military Vest", | |
"Level 3 Helmet", |
Number of crates with one or more level 3 gear pieces: 56 | |
Number of crates with two or more level 3 gear pieces: 0 | |
Number of crates with snipers: 62 | |
Total number of snipers: 62 | |
Chance to find crate with sniper weapon: 0.61 | |
Number of crates with one or more 8x scopes: 42 | |
Number of crates with two or more 8x scopes: 1 |
#!/bin/bash | |
curl -sSL https://get.oh-my.fish/ | fish | |
rm -rf $HOME/.config/omf | |
git clone --bare https://github.com/termhn/dotfiles $HOME/.dotfiles | |
function dotfiles { | |
/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME $@ | |
} |
// WINDOW SETUP | |
let gl = video.gl_attr(); | |
gl.set_context_version(GL_MAJOR_VERSION, GL_MINOR_VERSION); | |
gl.set_context_profile(sdl2::video::GLProfile::Core); | |
gl.set_red_size(5); | |
gl.set_green_size(5); | |
gl.set_blue_size(5); | |
gl.set_alpha_size(8); | |
gl.set_multisample_buffers(1); | |
gl.set_multisample_samples(4); |
<!-- Gray Olson | |
CSE 470 --> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" > | |
<title>3D Sierpinski Gasket</title> | |
<script id="fragment-shader" type="x-shader/x-fragment"> |
<!doctype html> | |
<html> | |
<head> | |
<title>RippleWarpWallet - deterministic Ripple wallet generator</title> | |
<meta charset="utf-8"> | |
<script type="text/javascript"> | |
// --------------------------------------------------------------- | |
// | |
// Hello, WarpWallet friend! |
////////////////////////////// | |
///////// CAUTION!!! ///////// | |
//// ANY NANO YOU SEND TO //// | |
//// AN ADDRESS YOU MAKE //// | |
//// WITH THIS TOOL YOU //// | |
//// CANNOT GET BACK!!!! //// | |
//// THAT NANO IS GONE //// | |
//////// FOREVER!!!! ///////// | |
////////////////////////////// | |
/////// HOW TO USE: ////////// |
[2018-03-12][14:34:15][nano_rs][INFO] Starting nano-rs! | |
[2018-03-12][14:34:15][nano_rs][INFO] Listening on: [::1]:7075 | |
[2018-03-12][14:34:15][nano_rs][INFO] Found initial peer: 139.162.199.142:7075 | |
[2018-03-12][14:34:15][nano_rs][INFO] Found initial peer: 138.201.94.249:7075 | |
[2018-03-12][14:34:15][nano_rs][INFO] Found initial peer: 128.199.199.97:7075 | |
[2018-03-12][14:34:15][nano_rs][INFO] Found initial peer: 192.99.176.122:7075 | |
[2018-03-12][14:34:15][nano_rs][INFO] Found initial peer: 192.99.176.121:7075 | |
[2018-03-12][14:34:15][nano_rs][INFO] Found initial peer: 45.32.246.108:7075 | |
[2018-03-12][14:34:15][nano_rs][INFO] Found initial peer: 138.68.2.234:7075 | |
[2018-03-12][14:34:15][nano_rs][INFO] Found initial peer: 144.217.167.119:7075 |