Skip to content

Instantly share code, notes, and snippets.

Dawson Botsford dawsbot

Block or report user

Report or block dawsbot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Introduction_hackathon.md

Team Members

  • Dawson Botsford

Visualization

visualization

JSFiddle

View app.js
//taken from "Example single address request" on https://chain.com/docs/v2/node/#bitcoin-address
var chain = require('chain-node');
chain.getAddress('17x23dNjXJLzGMev6R63uyRhMWP1VHawKc', function(err, resp) {
console.log(resp);
});
View feelingLucky.py
from selenium import webdriver
driver = webdriver.Chrome()
driver.get('http://google.com')
#Get I"m feeling lucky text
element = driver.find_element_by_xpath('//*[@id="gbqfbb"]')
print element.get_attribute('value')
driver.close()
@dawsbot
dawsbot / cryptoVal links
Last active Aug 29, 2015
Links to the original sources of information/images.
View cryptoVal links
@dawsbot
dawsbot / ports.json
Last active Sep 14, 2015
A json object listing off ports of interest (things worth scanning for)
View ports.json
{
FTP: 21,
SSH: 22,
Telnet: 23,
SMTP: 25,
DNS: 53,
HTTP: 80,
POP3: 110,
IMAP: 143
}
@dawsbot
dawsbot / nodeSetup.sh
Last active Sep 17, 2015
When on a new system get node setup in a jiffy
View nodeSetup.sh
sudo apt-get update
sudo apt-get install node
sudo apt-get install npm
which node
which npm
View hashTable.js
//Testing to come soon
var md5 = require('md5');
function table() {
//Implement the hash table with one array
this.arr = [];
//Use a hack of md5 to implement a number 0 <= encoded <= 9
this.encode = function (toEncode){
View gist:5005577de7231dce26c8
### Keybase proof
I hereby claim:
* I am dawsonbotsford on github.
* I am dawsonbotsford (https://keybase.io/dawsonbotsford) on keybase.
* I have a public key whose fingerprint is CE08 29CD 6A08 7DDD E581 7E7E FB08 BEA1 17BB AB81
To claim this, I am signing this object:
View thing.js
var express = require('express');
var http = require('https');
var app = express();
function getUSD(callback) {
http.get('https://blockchain.info/ticker', function(res) {
var body = '';
res.setEncoding('utf8');
res.on('data', function(data) {
@dawsbot
dawsbot / bootstrapStarter.html
Last active Feb 13, 2016
Barebones html file for starting a new bootstrapped html file
View bootstrapStarter.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title></title>
<!-- jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
You can’t perform that action at this time.