Skip to content

Instantly share code, notes, and snippets.

View audstanley's full-sized avatar
📡
Send me a message on aprs: KM6LZF

Richard Stanley audstanley

📡
Send me a message on aprs: KM6LZF
View GitHub Profile
We can't make this file beautiful and searchable because it's too large.
,has_media,hashtags,img_urls,is_replied,is_reply_to,likes,links,parent_tweet_id,replies,reply_to_users,retweets,screen_name,text,text_html,timestamp,timestamp_epochs,tweet_id,tweet_url,user_id,username,video_url
0,True,['csuf'],['https://pbs.twimg.com/media/EN9LLqtUwAAHbUw.jpg'],False,False,1,[],,0,[],1,CSUFMihaylo,Let’s take action in 2020. #csuf pic.twitter.com/TbjinFQVad,"<p class=""TweetTextSize js-tweet-text tweet-text"" data-aria-label-part=""0"" lang=""en"">Let’s take action in 2020. <img alt=""🏃🏾‍♀️"" aria-label=""Emoji: Woman running (medium dark skin tone)"" class=""Emoji Emoji--forText"" draggable=""false"" src=""https://abs.twimg.com/emoji/v2/72x72/1f3c3-1f3fe-200d-2640-fe0f.png"" title=""Woman running (medium dark skin tone)""/><img alt=""🎉"" aria-label=""Emoji: Party popper"" class=""Emoji Emoji--forText"" draggable=""false"" src=""https://abs.twimg.com/emoji/v2/72x72/1f389.png"" title=""Party popper""/> <a class=""twitter-hashtag pretty-link js-nav"" data-query-source=""hashtag_click"" dir=""l
Country Name Country Code Series Name Series Code YR2015
Afghanistan AFG Life expectancy at birth, total (years) SP.DYN.LE00.IN 63.377
Afghanistan AFG Urban population SP.URB.TOTL 8535606
Afghanistan AFG Population, total SP.POP.TOTL 34413603
Afghanistan AFG Population ages 80 and above, female SP.POP.80UP.FE 48319
Afghanistan AFG Population ages 80 and above, male SP.POP.80UP.MA 37233
Afghanistan AFG Population ages 15-64, male SP.POP.1564.MA.IN 9386355
Afghanistan AFG Population ages 15-64, female SP.POP.1564.FE.IN 8730445
Afghanistan AFG Population ages 0-14, male SP.POP.0014.MA.IN 7905639
Afghanistan AFG Population ages 0-14, female SP.POP.0014.FE.IN 7538168
@audstanley
audstanley / data.csv
Created October 23, 2021 23:19
For Big Data Course
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 66 columns, instead of 51 in line 1.
"Country Name","Country Code","Indicator Name","Indicator Code","1960","1961","1962","1963","1964","1965","1966","1967","1968","1969","1970","1971","1972","1973","1974","1975","1976","1977","1978","1979","1980","1981","1982","1983","1984","1985","1986","1987","1988","1989","1990","1991","1992","1993","1994","1995","1996","1997","1998","1999","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016","2017","2018","2019","2020","2021"
"Aruba","ABW","GDP (current US$)","NY.GDP.MKTP.CD","","","","","","","","","","","","","","","","","","","","","","","","","","","405463417.11746","487602457.746416","596423607.114715","695304363.031101","764887117.194486","872138715.083799","958463184.357542","1082979720.67039","1245688268.15642","1320474860.3352","1379960893.85475","1531944134.07821","1665100558.65922","1722798882.68156","1873452513.96648","1920111731.84358","1941340782.12291","2021229050.27933","2228491620.11173","2330726256.98324","2424581005.58659"
@audstanley
audstanley / seaweedfs-commands.sh
Created August 8, 2021 16:19
seaweed commands for starting server, volume, filler, and client connection
#!/bin/bash
# server
weed server -master.port=9333 -volume.port=8080 -dir="/media/14Tb/share" -filer=true
# client
# filler runs on port 8888, and can be connected with FUSE
weed mount -filer=192.168.4.66:8888 -dir=/home/audstanley/swfuse -filer.path=/
package main
import (
"bufio"
"fmt"
"io"
"log"
"os"
"os/exec"
"sync"
package main
import (
"fmt"
"os"
"os/signal"
"strconv"
"sync"
"syscall"
"time"
# This is the nebula example configuration file. You must edit, at a minimum, the static_host_map, lighthouse, and firewall sections
# Some options in this file are HUPable, including the pki section. (A HUP will reload credentials from disk without affecting existing tunnels)
# PKI defines the location of credentials for this node. Each of these can also be inlined by using the yaml ": |" syntax.
pki:
# The CAs that are accepted by this node. Must contain one or more certificates created by 'nebula-cert ca'
ca: /workspace/certs/ca.crt
cert: /workspace/certs/lighthouse1.crt
key: /workspace/certs/lighthouse1.key
#blocklist is a list of certificate fingerprints that we will refuse to talk to
#!/bin/bash
# get SeaweedFS
curl -s https://api.github.com/repos/chrislusf/seaweedfs/releases/latest | grep "browser_download_url.*tar.gz" | cut -d : -f 2,3 | tr -d \" | grep "linux_amd64\.tar\.gz" | wget -qi -
# get Nebula
curl -s https://api.github.com/repos/slackhq/nebula/releases/latest | grep "browser_download_url" | cut -d : -f 2,3 | tr -d \" | grep "nebula-linux-amd64\.tar\.gz" | wget -qi -
{
"name": "🐶 The Doge Pool",
"description": "We are trying to pay off student loans",
"ticker": "🐶 DOGE",
"homepage": "https://www.audstanley.com"
}
@audstanley
audstanley / types.go
Created April 17, 2021 17:46
Example of our structs for backend.
package handlers
import "math/big"
// in redis Db: 2 (each product)
// Db: 7 (pcb)
// Db: 8 (wires)
// Db: 9 (diodes)
// Db: 10 (caps)
type Product struct {