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
-- MySQL dump 10.13 Distrib 5.5.29, for debian-linux-gnu (x86_64) | |
-- | |
-- Host: localhost Database: wordpress | |
-- ------------------------------------------------------ | |
-- Server version 5.5.29-0ubuntu0.12.04.2 | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8 */; |
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
#place in /etc/init/autodoge.conf | |
description "Let the doge flow on boot." | |
author "Anson Liu - support@ansonliu.com" | |
start on runlevel [2345] | |
stop on shutdown | |
script | |
exec 2> /tmp/rc.local.log # send stderr from rc.local to a log file |
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 |
OlderNewer