Skip to content

Instantly share code, notes, and snippets.

View rjcoupe's full-sized avatar

Richard Coupe rjcoupe

  • Cardiff, United Kingdom
View GitHub Profile
@rjcoupe
rjcoupe / ohmyzsh-theme
Created November 4, 2019 10:10
ZSH theme - slightly modified version of the af-magic theme to include a currently active aws profile
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
# primary prompt
PROMPT='$FG[237]${(l.COLUMNS..-.)}%{$reset_color%}
$FG[032]%~\
$(git_prompt_info)$(hg_prompt_info) \
$FG[105]%(!.#.<aws:${AWS_PROFILE}> »)%{$reset_color%} '
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
RPS1='${return_code}'
#!/bin/bash
pool_url=""
wallet_address=""
worker_name=""
workdir=$(mktemp -d)
amd_drivers_url="https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.10-414273.tar.gz"
claymore="https://github.com/nanopool/Claymore-Dual-Miner/releases/download/v9.5/Claymore.s.Dual.Ethereum.Decred_Siacoin_Lbry_Pascal.AMD.NVIDIA.GPU.Miner.v9.5.-.LINUX.tar.gz"
@rjcoupe
rjcoupe / keybase.md
Created February 9, 2017 11:01
keybase.md

Keybase proof

I hereby claim:

  • I am rjcoupe on github.
  • I am rjcoupe (https://keybase.io/rjcoupe) on keybase.
  • I have a public key ASAGUVdJ0athENPa_2k-UBvgGy_hcR34NVHfXfD934kCdQo

To claim this, I am signing this object:

@rjcoupe
rjcoupe / wefwe.js
Created January 6, 2016 11:51
wefwegf
(function(){"use strict";var a,b,c,d,e,f,g,h,i,j,k;b=992,$(function(){return g(),h(),k(),j(),$("#blankout").fadeOut(1e3)}),j=function(){return e(),f(),i(),g(),d()},$(window).on("resize",$.debounce(250,j)),a=function(){return device.ios()&&(device.ipad()&&window.orientation%180===0||!device.ipad()&&90===Math.abs(window.orientation))?window.screen.availWidth:window.screen.availHeight},d=window.retriggerWaypoints=function(){return $(window).scrollTop($(window).scrollTop())},e=function(){var c,d,e,f,g,h;return d=h=$(window).height(),f=device.mobile()?"min-height":"height",(device.mobile()||device.tablet())&&(h=a(),d=.8*h,$("#go-down-row").hide()),$("#signup-page").css(f,h),$("#intro").css(f,d),e=h-$(".standard-header-top").height()-$(".standard-header-bottom").height(),$(".page-height").css("height",e),$(window).width()>=b?($(".page-height-gte-md").css("height",e),g=0,c=$("#gemini-page-4").find("h3"),c.each(function(){var a;return a=$(this).height(),a>g?g=a:void 0}),c.height(g)):$(".page-height-lt-md").css("heigh
@rjcoupe
rjcoupe / heroes.md
Created January 5, 2016 16:24
Heroes of the Storm for Sorenson Media Throwdowns

# Heroes of the Storm HotS is Blizzard's effort at taking on League of Legends and DotA2 in the MOBA genre. It features characters from Blizzard's other games (chiefly the Warcraft, Starcraft and Diablo series) and makes a few changes from the paradigm LoL and Dota are known for.

## Getting it HotS is priced much like LoL. It's free to play, and you earn gold by playing which can be spent on in game items like heroes, mounts, skins etc. You also have the option to spending real money to speed up the process, but this is entirely optional.