Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Doug A DougAnderson444

🏠
Working from home
View GitHub Profile
@DougAnderson444
DougAnderson444 / index.haml
Created Mar 19, 2021
Parallax Star background in CSS
View index.haml
<link href='https://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'>
#stars
#stars2
#stars3
#title
%span
PURE CSS
%br
%span
PARALLAX PIXEL STARS
View install-electric.sh
deno install -A -f --unstable https://raw.githubusercontent.com/denjucks/deno-cef/master/electric.js
View ED25519 PeerId
// Forge crypto package for node (https://www.npmjs.com/package/node-forge)
var forge = require('node-forge');
var pki = forge.pki;
var rsa = forge.rsa;
var ed25519 = forge.pki.ed25519;
var pem2jwk = require('pem-jwk').pem2jwk
const jwk2pem = require('pem-jwk').jwk2pem
const pify = require('pify');
View HyperTrieTest1
const Corestore = require('corestore')
const ram = require('random-access-memory')
const raf = require('random-access-file')
const store1 = new Corestore(ram)
const store2 = new Corestore(ram)
//const store2 = new Corestore(path => raf('store2/' + path))
//const store3 = new Corestore('my-storage-dir')
const MountableHypertrie = require('mountable-hypertrie')
store1.ready(readyStores)
@DougAnderson444
DougAnderson444 / keybase.md
Created Jan 19, 2020
keybase.io Proof of linkage
View keybase.md

Keybase proof

I hereby claim:

  • I am douganderson444 on github.
  • I am douganderson (https://keybase.io/douganderson) on keybase.
  • I have a public key ASDYzIcjWzr3dkrBAcrkkpBUmu36maFvkp99W_2h1At-HQo

To claim this, I am signing this object:

View gist:e5571be6ee8da7682f0a9f19ee4a230b
Verifying my Blockstack ID is secured with the address 1Jv5ct69UtLwD6PMLCUVLrMcFhDt5Sqpef https://explorer.blockstack.org/address/1Jv5ct69UtLwD6PMLCUVLrMcFhDt5Sqpef