setup cgroups v1 to limit process on linux have top running and see the miner cpu usage
/etc/cgrules.conf
user:process_name cpu group
example:
trtlminer:xmr-stak cpu app/xmrstak
setup cgroups v1 to limit process on linux have top running and see the miner cpu usage
/etc/cgrules.conf
user:process_name cpu group
example:
trtlminer:xmr-stak cpu app/xmrstak
// https://cloud.digitalocean.com/droplets/*/graphs* | |
setTimeout(function() { | |
$('.nav-bar-v2:first').css("height", "0"); | |
$('.nav_controls_v2:first').css("display", "none"); | |
$('.networking-row:first').css("display", "none"); | |
$('.small-2.columns').css("display", "none"); | |
$('.row').css("width","835px"); | |
$('.small-10.columns').addClass("small-12").removeClass("small-10"); | |
$('.Footer').css("display", "none"); | |
$('#aurora-container').css("padding-bottom","0"); |
cmd /c "the script"
Diagnostics >> DSL Status | |
General Tone Information | Refresh | | |
ATU-R Information | |
Type: VDSL2 | |
Hardware: Annex A | |
Firmware: 05-07-06-0D-01-07 | |
Power Mngt Mode: DSL_G997_PMS_L0 | |
Line State: SHOWTIME | |
Running Mode: 8B |
# For Ubuntu 16.04 vm guest where I code, windows host | |
# prefer not to have system installed node/go/erlang/elixir/etc | |
# thanks http://willcodefor.beer/setup-your-own-npm-cache-server/ for the idea! | |
sudo useradd -m -c "NPM-Proxy-Cache" npmpc | |
sudo su npmpc | |
cd | |
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.1.0 | |
echo '. $HOME/.asdf/asdf.sh' >> ~/.bashrc |
sudo apt-get update | |
sudo apt-get install --reinstall language-pack-en-base | |
sudo dpkg-reconfigure locales | |
cat <<EOT >> ~/.bashrc | |
export LANG=en_US.UTF-8 | |
export LANGUAGE=en_US.UTF-8 | |
export LC_MESSAGES=POSIX | |
EOT |
GET http://fast.fonts.net/t/1.css HTTP/1.1 | |
Host: fast.fonts.net | |
Proxy-Connection: keep-alive | |
Accept: text/css,*/*;q=0.1 | |
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36 | |
DNT: 1 | |
Referer: http://edition.cnn.com/ | |
Accept-Encoding: gzip, deflate, sdch | |
Accept-Language: en-GB,en;q=0.8,en-AU;q=0.6,ceb;q=0.4 |
# p = Principle (rrp, amount financed, vehicle cost) | |
# i = interest rate (pass in as rate/100/12, so 8.56% = 8.56/100/12 = 0.00713, i = 0.00713 | |
# t = term | |
# r = residual | |
# pw = 1 or 0, payment when, 1 = advance, 0 = arrears | |
def self.monthly_payment(p,i,t,r,pw) | |
# | |
# Monthly rate is computed as follows: | |
# | |
# p*i*(1+i)**t - i*r |
action@silver-bullet-27:~/workspace$ ember new app | |
version: 0.1.7 | |
installing | |
create .bowerrc | |
create .editorconfig | |
create .ember-cli | |
create .jshintrc | |
create .travis.yml | |
create Brocfile.js | |
create README.md |
Updated: 13 Oct 2017
Original: https://gist.github.com/SoreGums/9171333
Simple to the point no fluff install Arch Linux on VirtualBox (5.1.28 r117968)
I don't explain much - if you want explanations hit up the Wiki or Josh Braun's blog.
I used Josh's guide and the Wiki to come up with the below.
I'm on Windows and use PuTTY