This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#setup Go lang | |
cd ~ | |
wget http://golang.org/dl/go1.3.linux-amd64.tar.gz | |
sudo tar -C /usr/local -xzf go1.3.linux-amd64.tar.gz | |
mkdir $HOME/go | |
#set envvars |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<form name="download_form" method="post" action="LDDownload.aspx?KeepThis=true&" id="download_form"> | |
<div> | |
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTE0MDcmA==" /> | |
</div> | |
<div> | |
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWMQKB2tr7Dgh5+2" /> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// NMPeerToPeer.m | |
// Next Meal | |
// | |
// Created by Anson Liu on 6/7/14. | |
// Copyright (c) 2014 Apparent Etch. All rights reserved. | |
// | |
#import "NMPeerToPeer.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install build-essential libcurl4-openssl-dev git automake htop | |
wget http://developer.download.nvidia.com/compute/cuda/5_5/rel/installers/cuda_5.5.22_linux_64.run | |
sudo sh cuda_5.5.22_linux_64.run | |
export PATH=/usr/local/cuda-5.5/bin:$PATH | |
export LD_LIBRARY_PATH=/usr/local/cuda-5.5/lib64:$LD_LIBRARY_PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#use ami-87377cee | |
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install install build-essential libcurl4-openssl-dev git automake htop | |
git clone https://github.com/m0mchil/poclbm.git | |
python ./poclbm.py -v -f 0 stratum://ansonl.worker1:B6zFcgNR@stratum.bitcoin.cz:3333 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
/home/ubuntu/CudaMiner/cudaminer --url=stratum+tcp://us.clevermining.com:3333 --userpass=1HPCgrf2Sk8RaJSKFjtr7A8SNYbnqCDAp6:anything -H 1 -C 1 & | |
/home/ubuntu/cpuminer/minerd --url=stratum+tcp://us.clevermining.com:3333 -u 1HPCgrf2Sk8RaJSKFjtr7A8SNYbnqCDAp6 -p anything & | |
sudo renice 1 -g $$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type SenateRegistrant struct { | |
RegistrantName string `xml:",attr"` | |
RegistrantID string `xml:",attr"` | |
RegistrantCountry string `xml:",attr"` | |
} | |
type SenateClient struct { | |
ClientName string `xml:",attr"` | |
ClientID string `xml:",attr"` | |
ContactFullname string `xml:",attr"` | |
IsStateOrLocalGov bool `xml:",attr"` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func convertEncoding(input []byte) []byte { | |
reader, err := charset.NewReader("utf16", strings.NewReader(string(input))) | |
if err != nil { | |
log.Fatal(err) | |
} | |
output, err := ioutil.ReadAll(reader) | |
if err != nil { | |
log.Fatal(err) | |
} | |
return output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type HouseLobbyist struct { | |
FirstName string `xml:"lobbyistFirstName"` | |
LastName string `xml:"lobbyistLastName"` | |
} | |
type HouseFiling struct { | |
OrganizationName string `xml:"organizationName"` | |
ClientName string `xml:"clientName"` | |
SenateID string `xml:"senateID"` | |
HouseID string `xml:"houseID"` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#download required source control | |
sudo apt-get install git mercurial htop | |
#setup Go lang | |
cd ~ | |
wget https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz | |
sudo tar -C /usr/local -xzf go1.6.2.linux-amd64.tar.gz | |
#set envvars |
OlderNewer