Skip to content

Instantly share code, notes, and snippets.

@HansF
HansF / index.html
Created March 25, 2023 22:52
Kitten Sniffer
<div class="wrapper">
<div class="sq sq0"></div>
<div class="sq sq1"></div>
<div class="sq sq2"></div>
<div class="sq sq3"></div>
<div class="sq sq4"></div>
<div class="sq sq5"></div>
<div class="sq sq6"></div>
<div class="sq sq7"></div>
@HansF
HansF / css3-fullscreen-background-slideshow.markdown
Created February 10, 2021 22:04
CSS3 Fullscreen Background Slideshow
~/work/eth2/prysm$ bazel run //beacon-chain -- --clear-db --datadir=/tmp/prysm-data
WARNING: Ignoring JAVA_HOME, because it must point to a JDK, not a JRE.
INFO: Writing tracer profile to '/home/hans/.cache/bazel/_bazel_hans/7b8b7dfbb118cd2126b88899a55fefcd/command.profile.gz'
DEBUG: Rule 'graknlabs_bazel_distribution' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1569509514 +0300"
DEBUG: Call stack for the definition of repository 'graknlabs_bazel_distribution' which is a git_repository (rule definition at /home/hans/.cache/bazel/_bazel_hans/7b8b7dfbb118cd2126b88899a55fefcd/external/bazel_tools/tools/build_defs/repo/git.bzl:195:18):
- /home/hans/work/eth2/prysm/WORKSPACE:49:1
INFO: Analyzed target //beacon-chain:beacon-chain (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //beacon-chain:beacon-chain up-to-date:
bazel-bin/beacon-chain/linux_amd64_stripped/beacon-chain
Recv: ok
Recv: ok T:35.79 /0.00 B:48.39 /50.00 @:0 B@:0
Recv: T:35.71 /0.00 B:48.37 /50.00 @:0 B@:120
Recv: T:35.60 /0.00 B:49.00 /50.00 @:0 B@:88
Recv: T:35.48 /0.00 B:49.90 /50.00 @:0 B@:30
Recv: T:35.60 /0.00 B:50.65 /50.00 @:0 B@:0
Recv: T:35.46 /0.00 B:50.99 /50.00 @:0 B@:0
Recv: T:35.44 /0.00 B:51.22 /50.00 @:0 B@:0
Recv: T:35.44 /0.00 B:51.32 /50.00 @:0 B@:0
Recv: T:35.25 /0.00 B:51.32 /50.00 @:0 B@:0
Recv: T:112.48 /0.00 B:50.00 /50.00 @:0 B@:5
Recv: T:111.68 /0.00 B:49.98 /50.00 @:0 B@:6
Recv: T:110.91 /0.00 B:49.97 /50.00 @:0 B@:7
Recv: T:110.03 /0.00 B:50.01 /50.00 @:0 B@:3
Recv: T:109.30 /0.00 B:50.03 /50.00 @:0 B@:2
Recv: T:108.60 /0.00 B:50.00 /50.00 @:0 B@:5
Recv: T:107.89 /0.00 B:50.03 /50.00 @:0 B@:3
Recv: T:107.15 /0.00 B:49.98 /50.00 @:0 B@:7
Recv: T:106.42 /0.00 B:49.97 /50.00 @:0 B@:8
Recv: T:105.67 /0.00 B:49.98 /50.00 @:0 B@:6
// configuration.H from Steve Waggs
#define TEMP_RESIDENCY_TIME 10 // (seconds) Time to wait for hotend to "settle" in M109
#define TEMP_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer
#define TEMP_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
#define TEMP_BED_RESIDENCY_TIME 10 // (seconds) Time to wait for bed to "settle" in M190
#define TEMP_BED_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer
#define TEMP_BED_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
#include <Fri3dBuzzer.h>
Fri3dBuzzer buzzer = Fri3dBuzzer();
float notes[ 13 ] = { 659.25,587.33,369.99,415.3 ,554.37,493.88,293.66,329.63,493.88,440,277.18,329.63,440 };
float lengths[ 13 ] = { 1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 6 };
void setup() {
// for the setup part
buzzer.setVolume( 255 );

THE DSTRA WHITEPAPER

DSTRA Coins are designed with future value by maximizing decentralization, opportunities for earnings, community-driven, and fair distribution starting from day zero.

Learn more at https://dstra.io

What is DSTRA?

DSTRA is a cryptocurrency that implements the Proof of Stake (PoS) protocol. DSTRA strives to become the premier cryptocurrency by implementing the best aspects of current blockchain technology. Our diverse community is key in achieving our goals.

@import url("//fonts.googleapis.com/css?family=Roboto:400,500");/*!
* bootswatch v3.3.2
* Homepage: http://bootswatch.com
* Copyright 2012-2015 Thomas Park
* Licensed under MIT
* Based on Bootstrap
*//*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}h