Skip to content

Instantly share code, notes, and snippets.

View WaveringAna's full-sized avatar
💭
im alive again hi

Wavering Ana WaveringAna

💭
im alive again hi
View GitHub Profile
import random
import math
import csv
from collections import defaultdict
# Needs 7 points to win, 3 losses to reset. Resets if loss occurs before 3 points are gained
def mercy(win_probability):
points, total_wins, total_losses, losses, total_games, resets = 0, 0, 0, 0, 0, 0
while points < 7:

Keybase proof

I hereby claim:

  • I am waveringana on github.
  • I am waveringana (https://keybase.io/waveringana) on keybase.
  • I have a public key ASDRPDaJNdmfTLcmyRULaaJx17mpxFoByK3-9Mk-XO3KLQo

To claim this, I am signing this object:

@WaveringAna
WaveringAna / wireguard sysctl.conf
Created November 28, 2022 00:31
wireguard sysctl.conf
net.core.default_qdisc=fq_codel
net.ipv4.tcp_congestion_control=bbr

MITv2 License for projects with a frontend

Copyright year author

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

The credit footer in the footer should stay word for word, it may be stylized but must be visible.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER

<!doctype html>
<html>
<head>
<style type="text/css">
video, input {
display: block;
}
input {
WD=$PWD
sudo apt-get -y install \
build-essential pkg-config libc6-dev m4 g++-multilib \
autoconf libtool ncurses-dev unzip git python \
zlib1g-dev wget bsdmainutils automake
# build zend patched with addressindexing support
git clone https://github.com/aayanl/zen-addressindexing
cd zen-addressindexing

Keybase proof

I hereby claim:

  • I am aayanl on github.
  • I am anarch3 (https://keybase.io/anarch3) on keybase.
  • I have a public key whose fingerprint is 2953 6AA7 7602 FF25 94B3 C33D D957 6718 016B 7D44

To claim this, I am signing this object:

rm /tmp/mailtest.html
echo '
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Demystifying Email Design</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
'use strict';
const bitcoin = require("bitcoin"),
fs = require("fs");
var zaddress = "";
var client = new bitcoin.Client({
host: 'localhost',
port: 8232,
@WaveringAna
WaveringAna / gist:190fb01a40de5ad08f97821d8d2dc928
Last active February 26, 2017 04:03
Decentralized Slack (PoC) (NOT WORKING) (DO NOT USE)
/** Decentralized Slack (PoC) (NOT WORKING) (DO NOT USE)
*
* Message format: TRUNCATED FROM ADDRESS, NICKNAME, MESSAGE, CHANNEL, TIMESTAMP
*
* Example: ztWKWRimLWzrwFa9p, anarch3, No one can take down or censor this!, #general, 1488079416
*
* Please don't use this at all since it uses LIVE private keys at the moment since view only keys for sheilded addresses aren't implementated yet
*
**/