Paul Benigeri

How to mine Scrypt Jane coins with cgminer 3.7.2 on BAMT 1.2

A bunch of Scrypt Jane based crypto currencies are being released right now with a bold claim of being 'ASIC Proof'. It's time to jump aboard the new train and start printing crypto money!

Patching cgminer

cp -rf /opt/miners/cgminer /opt/miners/jane-cgminer
cd /opt/miners/jane-cgminer
wget https://sites.google.com/site/rmdavidson/cgminer-3.7.2-sj-0.02.patch.gz
gunzip cgminer-3.7.2-sj-0.02.patch.gz
patch <cgminer-3.7.2-sj-0.02.patch
CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include" LDFLAGS="-L/usr/lib" ./configure --prefix=/home/user/jane-cgminer/ --enable-opencl --enable-gpu --enable-scrypt --enable-scrypt-jane
sudo make install

New config file

$ cat /etc/bamt/cgminer.conf
{
"pools" : [
    {
            "url" : "stratum+tcp://ultra.leetpools.com:3333",
            "user" : "benigeri.supa",
            "pass" : "x"
    }
],
"auto-fan" : true,
"auto-gpu" : true,
"temp-cutoff" : "90",
"temp-overheat" : "85",
"temp-target" : "80",
"gpu-fan" : "0-100",
"intensity" : "20",
"worksize" : "256",
"thread-concurrency" : "24000",
"gpu-platform" : "0",
"gpu-threads" : "1",
"log" : "5",
"no-pool-disable" : true,
"queue" : "0",
"scrypt-jane" : true,
"shares" : "0",
"kernel-path" : "/usr/local/bin",
"sj-time" : "1388361600",
"sj-nfmin" : "4",
"sj-nfmax" : "30",
"expiry" : "10",
"scan-time" : "1",
"gpu-memclock" : "1300",
"gpu-engine" : "1000"
}

Make Munin auto launch and work

The hard part was finding this file: /opt/bamt/common.pl

Change line 962 of /opt/bamt/common.pl

- my $cmd = "cd /opt/miners/cgminer;/usr/bin/screen -d -m -S cgminer /opt/miners/cgminer/cgminer $args";
+ my $cmd = "cd /opt/miners/jane-cgminer;/usr/bin/screen -d -m -S cgminer /opt/miners/jane-cgminer/cgminer $args";

Now you are done!

You can relaunch your mining session by typing:

 $ mine restart

Thanks to some random dude's paste bin dump for cgminer patching instructions!

This is a post

Main titles

other title

a bunch o text hahahahahahah

  • list
  • asdf

some inline code asdlfkjasdlfkj

The fonts are hideous.

They aren't always this disgusting. My Cloud Typography license has expired, and I don't want to pay another 100$ to renew it.

Stanford Activities Fee Refunds

tl;dr If you're a student at Stanford, then by default you are billed almost $150 every quarter to fund student groups. That's why I wrote a little script that will automatically opt out of each student fee. All you have to do is create a new waiver request and copy and paste some javascript into your browser's URL bar. Stanford University

Opt out of your Stanford student group fees in 2 simple steps!

If you're a student at Stanford, then by default you are billed almost $150 every quarter to fund student groups. After digging in a little, I realized that Stanford gave over $100 to groups that provided me no value whatsoever. Less than $40 went to the groups that I was at all interested in.

Over 12 quarters this amounts to over $1600, and many students aren't aware of this. And if you do want to opt out, you have to create a fee waiver request. Then for every student group you must slide clunky sliders and toggle checkboxes. Wouldn't it make a lot more sense for students to have to opt in rather than opt out?

That's why I wrote a little script that will automatically opt out of each student fee. After running it you'll be able to opt in and fund the groups that bring you value. All you have to do is create a new waiver request and copy and paste some javascript into your browser's URL bar.

Instructions

1. Request a Fee Waiver

Head over to http://waivers.stanford.edu and click on "Request a Fee Waiver for Spring 2012-2013 ยป"

2. Run the script!

Copy the following script:

$.each($('[name*="value"]'), function(index, elem) {
  $(elem).attr('checked', true);
});
$.each($('[id*="amount"]'), function(index, elem) {
  elem.value = $(elem).parent().parent().children('th:nth-child(2)').text().substring(1);
});

Then go back to the fee waiver request and clear your browser's URL bar.

Then type into the URL bar:

javascript:

As soon as you finish typing javascript: paste the script in the URL bar, and press enter

This will waive the entire fee for each group. Don't worry if the sliders are still positioned to the left, it does not matter. The only thing that your browser cares about when you submit the form is the amount just above the slider. The slider is just one of the many ways that you can toggle that value.

If something went wrong, reread the instructions. If it still fails, you probably need a better browser: try Safari or Chrome.

Fund the student groups that matter to you

I recommend that you take a look at each group and make a conscious decision as to whether you want to give it money. Though, please don't abuse this and keep all the monies for yourself. Some groups don't waste their allowances on unnecessary events and food, and actually need that money to run.

And the best part is, you will receive a nice little check in the mail a couple weeks after doing this!