Skip to content

Instantly share code, notes, and snippets.

Avatar

Albin Falsen Lindqivst Falsen

View GitHub Profile
@Falsen
Falsen / complex.py
Last active Jan 10, 2021
Calculator for complex numbers python 3.6
View complex.py
import math
import signal
import sys
class color:
PURPLE = '\033[1;35;48m'
CYAN = '\033[1;36;48m'
BOLD = '\033[1;37;48m'
BLUE = '\033[1;34;48m'
@Falsen
Falsen / example.css
Created May 6, 2020
Example of printer friendly css
View example.css
body {
margin: 0;
width:29.7cm;
height: 21cm;
overflow-x: hidden;
overflow: hidden;
font-size: 0.31cm;
}
h2{
View gist:464129a2e2034df87487db8f612fa16e
### Keybase proof
I hereby claim:
* I am falsen on github.
* I am globala (https://keybase.io/globala) on keybase.
* I have a public key ASCurB2rcVjN4dzLKPW5_gWkvJ-y7lsb3pbu-39GtnujXwo
To claim this, I am signing this object:
@Falsen
Falsen / config.php
Last active Aug 27, 2019
Simple NANO implementation for paying for files
View config.php
<?php
// must match the main HTML file
$dest = "nano_3gihqke7uo9xazciya9mu9gm9psa67pc61au7yozn3g6moac466x71wzns49";
$files = [
"item-1" => [
"name" => "Random File text",
@Falsen
Falsen / Kappture deligators
Created Aug 7, 2019
Source of Kapptures deligators
View Kappture deligators
List shows REP, then under each REP each deligated wallet and it's weight is shown
nano_16u1uufyoig8777y6r8iqjtrw8sg8maqrm36zzcm95jmbd9i9aj5i8abr8u5 ( ) 1 - 453496.59 nano
> nano_3nrw6qfo6g4nzp95kk6z8pwuyrn51y773dysnixiu1rxefuwd4ia5f6ojao5 ( 453496.59 nano )
nano_1fnx59bqpx11s1yn7i5hba3ot5no4ypy971zbkp5wtium3yyafpwhhwkq8fc ( NiF's Node - nano.nifni.net ) 2 - 39401.92 nano
> nano_14xtai5dbhqqkwky9o7ocp5bpmir19dffx3g3d5kpsdydg9c73hz8bxsrebe ( 29401.92 nano )
> nano_3dc7eruqxpurhyhnk7ri6w9syykmjktg6jeretjhq3ebqnff1fwrecxztcyq ( 10000.0 nano )
nano_3hjo1cehsxrssawmpew98u4ug8bxy4ppht5ch647zpuscdgedfy1xh4yga7z ( Finland Green 💚 ) 7 - 38824.72 nano
View vals.list
[0.019639, 0.019639, 0.019659, 0.019639, 0.019673, 0.019679, 0.019681, 0.019675, 0.019673, 0.019676, 0.019652, 0.019642, 0.019661, 0.019699, 0.01964, 0.019673, 0.019631, 0.019653, 0.019644, 0.019693, 0.019661, 0.019664, 0.019672, 0.019686, 0.019689, 0.019719, 0.01971, 0.019685, 0.019701, 0.019688, 0.019675, 0.019657, 0.019678, 0.019686, 0.019636, 0.019657, 0.019675, 0.019655, 0.019633, 0.019599, 0.0196, 0.019538, 0.019533, 0.019521, 0.019571, 0.019581, 0.019561, 0.019578, 0.019558, 0.019594, 0.019616, 0.019607, 0.01966, 0.019604, 0.019636, 0.019605, 0.019667, 0.019677, 0.019707, 0.019704, 0.019665, 0.019695, 0.019664, 0.01971, 0.01975, 0.019728, 0.019763, 0.019772, 0.019796, 0.019715, 0.019701, 0.019702, 0.019714, 0.019705, 0.019739, 0.019719, 0.019722, 0.019747, 0.019704, 0.019744, 0.019758, 0.019746, 0.019715, 0.019729, 0.019714, 0.019714, 0.01973, 0.019633, 0.019677, 0.019672, 0.019602, 0.019603, 0.019607, 0.019616, 0.019671, 0.01964, 0.019643, 0.019617, 0.019708, 0.019661, 0.019703, 0.019702, 0.019676, 0.
View vals
close_prices = [0.019607, 0.019609, 0.019632, 0.01962, 0.019633, 0.01962, 0.019621, 0.019642, 0.019645, 0.019647, 0.019651, 0.019572, 0.019687, 0.019628, 0.019584, 0.019642, 0.019642, 0.019672, 0.01969, 0.019737, 0.019782, 0.019803, 0.019809, 0.019805, 0.01982, 0.019776, 0.019749, 0.019724, 0.019777, 0.019748, 0.01975, 0.019814, 0.019822, 0.019812, 0.019805, 0.019793, 0.01983, 0.019837, 0.019801, 0.01984, 0.019866, 0.019879, 0.019876, 0.0199, 0.019914, 0.019847, 0.019851, 0.019849, 0.019873, 0.019874, 0.019855, 0.019802, 0.019798, 0.019831, 0.019781, 0.019701, 0.019728, 0.019704, 0.019703, 0.019693, 0.01965, 0.019753, 0.019747, 0.019769, 0.019773, 0.019748, 0.019872, 0.01979, 0.019794, 0.01976, 0.019818, 0.01983, 0.019852, 0.019915, 0.01997, 0.019973, 0.019964, 0.019949, 0.019969, 0.019974, 0.01995, 0.019957, 0.019909, 0.01992, 0.019987, 0.01999, 0.019962, 0.020008, 0.020026, 0.020019, 0.020017, 0.019999, 0.020003, 0.019994, 0.019988, 0.020019, 0.019977, 0.019909, 0.019929, 0.019926, 0.019884, 0.019861, 0.019
View candles-5min
[0.019672, 0.01969, 0.019737, 0.019782, 0.019803, 0.019809, 0.019805, 0.01982, 0.019776, 0.019749, 0.019724, 0.019777, 0.019748, 0.01975, 0.019814, 0.019822, 0.019812, 0.019805, 0.019793, 0.01983, 0.019837, 0.019801, 0.01984, 0.019866, 0.019879, 0.019876, 0.0199, 0.019914, 0.019847, 0.019851, 0.019849, 0.019873, 0.019874, 0.019855, 0.019802, 0.019798, 0.019831, 0.019781, 0.019701, 0.019728, 0.019704, 0.019703, 0.019693, 0.01965, 0.019753, 0.019747, 0.019769, 0.019773, 0.019748, 0.019872, 0.01979, 0.019794, 0.01976, 0.019818, 0.01983, 0.019852, 0.019915, 0.01997, 0.019973, 0.019964, 0.019949, 0.019969, 0.019974, 0.01995, 0.019957, 0.019909, 0.01992, 0.019987, 0.01999, 0.019962]
View gist:606201aca3ac499796b466d96e67b667
[0.019642, 0.019642, 0.019642, 0.019642, 0.019642, 0.019642, 0.019642, 0.019642, 0.019642, 0.019642, 0.019672, 0.019672, 0.019672, 0.019672, 0.019672, 0.01969, 0.01969, 0.01969, 0.01969, 0.01969, 0.019737, 0.019737, 0.019737, 0.019737, 0.019737, 0.019782, 0.019782, 0.019782, 0.019782, 0.019782, 0.019803, 0.019803, 0.019803, 0.019803, 0.019803, 0.019809, 0.019809, 0.019809, 0.019809, 0.019809, 0.019805, 0.019805, 0.019805, 0.019805, 0.019805, 0.01982, 0.01982, 0.01982, 0.01982, 0.01982, 0.019776, 0.019776, 0.019776, 0.019776, 0.019776, 0.019749, 0.019749, 0.019749, 0.019749, 0.019749, 0.019724, 0.019724, 0.019724, 0.019724, 0.019724, 0.019777, 0.019777, 0.019777, 0.019777, 0.019777, 0.019748, 0.019748, 0.019748, 0.019748, 0.019748, 0.01975, 0.01975, 0.01975, 0.01975, 0.01975, 0.019814, 0.019814, 0.019814, 0.019814, 0.019814, 0.019822, 0.019822, 0.019822, 0.019822, 0.019822, 0.019812, 0.019812, 0.019812, 0.019812, 0.019812, 0.019805, 0.019805, 0.019805, 0.019805, 0.019805, 0.019793, 0.019793, 0.019793, 0.019793
View PRICES
[0.019628, 0.019628, 0.019584, 0.019584, 0.019584, 0.019584, 0.019584, 0.019642, 0.019642, 0.019642, 0.019642, 0.019642, 0.019642, 0.019642, 0.019642, 0.019642, 0.019642, 0.019672, 0.019672, 0.019672, 0.019672, 0.019672, 0.01969, 0.01969, 0.01969, 0.01969, 0.01969, 0.019737, 0.019737, 0.019737, 0.019737, 0.019737, 0.019782, 0.019782, 0.019782, 0.019782, 0.019782, 0.019803, 0.019803, 0.019803, 0.019803, 0.019803, 0.019809, 0.019809, 0.019809, 0.019809, 0.019809, 0.019805, 0.019805, 0.019805, 0.019805, 0.019805, 0.01982, 0.01982, 0.01982, 0.01982, 0.01982, 0.019776, 0.019776, 0.019776, 0.019776, 0.019776, 0.019749, 0.019749, 0.019749, 0.019749, 0.019749, 0.019724, 0.019724, 0.019724, 0.019724, 0.019724, 0.019777, 0.019777, 0.019777, 0.019777, 0.019777, 0.019748, 0.019748, 0.019748, 0.019748, 0.019748, 0.01975, 0.01975, 0.01975, 0.01975, 0.01975, 0.019814, 0.019814, 0.019814, 0.019814, 0.019814, 0.019822, 0.019822, 0.019822, 0.019822, 0.019822, 0.019812, 0.019812, 0.019812, 0.019812, 0.019812, 0.019805, 0.019805