Skip to content

Instantly share code, notes, and snippets.

James Ray jamesray1

Block or report user

Report or block jamesray1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View vagrantUpWithEthDevEnv.txt
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/zesty64'...
Progress: 90%
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/zesty64' is up to date...
==> default: Setting the name of the VM: james_default_1504946484543_73273
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
View BuildYelllowPaperPR345.txt
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./Paper.tex
LaTeX2e <2017/01/01> patch level 3
Babel <3.9r> and hyphenation patterns for 3 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/amscls/amsart.cls
Document Class: amsart 2015/03/04 v2.20.2
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
@jamesray1
jamesray1 / Testing ahresse-rtl8811au on Ubuntu 17.04 x64
Created Sep 24, 2017
Testing ahresse/rtl8811au on Ubuntu 17.04 x64
View Testing ahresse-rtl8811au on Ubuntu 17.04 x64
james@james-Streacom:~$ git clone https://github.com/ahresse/rtl8811au.git
Cloning into 'rtl8811au'...
remote: Counting objects: 500, done.
remote: Total 500 (delta 0), reused 0 (delta 0), pack-reused 500
Receiving objects: 100% (500/500), 1.91 MiB | 314.00 KiB/s, done.
Resolving deltas: 100% (206/206), done.
james@james-Streacom:~$ sudo make clean
[sudo] password for james:
make: *** No rule to make target 'clean'. Stop.
james@james-Streacom:~$ cd rtl8811au
View Casper Finality Cadget feedback
% Context: https://ethresear.ch/t/latest-casper-basics-tear-it-apart/151/26,
% https://ethresear.ch/uploads/default/original/1X/fdbebd67c8a9671efabf4e53d6267789cd91d96c.pdf
% https://web.archive.org/save/https://ethresear.ch/uploads/default/original/1X/fdbebd67c8a9671efabf4e53d6267789cd91d96c.pdf
PPCoin
note = "\url{https://web.archive.org/save/https://decred.org/research/king2012.pdf}",
Blackcoin
note = "\url{https://web.archive.org/save/http://blackcoin.co/blackcoin-pos-protocol-v2-whitepaper.pdf}",
View Brave Gdebi Lintian output
E: brave: embedded-library usr/lib/brave/brave: freetype
E: brave: embedded-library usr/lib/brave/brave: lcms2
E: brave: embedded-library usr/lib/brave/brave: libjpeg
E: brave: embedded-library usr/lib/brave/brave: libpng
E: brave: embedded-library usr/lib/brave/brave: openjpeg
E: brave: embedded-library usr/lib/brave/brave: srtp
W: brave: hardening-no-relro usr/lib/brave/brave
W: brave: hardening-no-pie usr/lib/brave/brave
E: brave: debian-changelog-file-missing
E: brave: description-starts-with-package-name
View Output-after-running-install-script.txt
In file included from /home/james/Documents/RTL88x2BU_WiFi_linux_v5.1.7_19806_4/driver/rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333/include/drv_types.h:32:0,
from /home/james/Documents/RTL88x2BU_WiFi_linux_v5.1.7_19806_4/driver/rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333/core/rtw_cmd.c:22:
/home/james/Documents/RTL88x2BU_WiFi_linux_v5.1.7_19806_4/driver/rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333/include/osdep_service.h: In function ‘thread_enter’:
/home/james/Documents/RTL88x2BU_WiFi_linux_v5.1.7_19806_4/driver/rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333/include/osdep_service.h:374:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^~~~~~~~~~~~
do_signal
/home/james/Documents/RTL88x2BU_WiFi_linux_v5.1.7_19806_4/driver/rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333/include/osdep_service.h: In function
@jamesray1
jamesray1 / oop_test.py
Last active Nov 9, 2017
Learn Python the Hard Way
View oop_test.py
import random
from urllib.request import urlopen
import sys
WORD_URL = "http://learncodethehardway.org/words.txt"
WORDS = []
PHRASES = {
"class %%%(%%%):":
"Make a class named %%% that is-a %%%.",
@jamesray1
jamesray1 / gist:ef06da0bd58c88959f8136a47ad0f61b
Created Nov 10, 2017
Green-recorder-download-and-install-failed
View gist:ef06da0bd58c88959f8136a47ad0f61b
james@james-Streacom:~$ sudo add-apt-repository ppa:mhsabbagh/greenproject
[sudo] password for james:
A repository which contains the latest programs and packages produced by the Green Project.
More info: https://launchpad.net/~mhsabbagh/+archive/ubuntu/greenproject
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 172, in <module>
if not sp.add_source_from_shortcut(shortcut, options.enable_source):
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 768, in add_source_from_shortcut
@jamesray1
jamesray1 / Ethereum_intro_why_and_how_to_buy_it.html
Created Dec 1, 2017
Ethereum_intro_why_and_how_to_buy_it.html
View Ethereum_intro_why_and_how_to_buy_it.html
<!--Note that you can edit this document visually instead of in HTML e.g. in a Wordpress draft post.-->
This post is also available <a href="https://sustergy.wordpress.com/2017/05/18/why-buy-ether-and-how/">here</a>.
Note that due to the lightning-fast pace of development in the Ethereum space, certain parts of this article may be outdated.
<a href="https://www.ethereum.org/" target="_blank" rel="nofollow noopener noreferrer">Ethereum</a> is a decentralized blockchain platform for "building unstoppable applications", while Ether is the cryptocurrency used on this platform. Ethereum has been described in several ways, such as:
<ul>
<li><a href="https://github.com/ethereum/wiki/wiki/White-Paper" target="_blank" rel="noopener">"A Next-Generation Smart Contract and Decentralized Application Platform"—Ethereum White Paper</a></li>
<li><a href="https://ethereum.github.io/yellowpaper/paper.pdf" target="_blank" rel="noopener">"A secure decentralised generalised transaction ledger" and a generalised "transactional
@jamesray1
jamesray1 / Installing Viper: error with make
Created Dec 11, 2017
Installing Viper: error with make
View Installing Viper: error with make
james@james-Streacom:~$ virtualenv -p python3.6 --no-site-packages ~/viper-venv
Running virtualenv with interpreter /usr/bin/python3.6
Using base prefix '/usr'
New python executable in /home/james/viper-venv/bin/python3.6
Also creating executable in /home/james/viper-venv/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
james@james-Streacom:~$ source ~/viper-venv/bin/activate
(viper-venv) james@james-Streacom:~$ git clone https://github.com/ethereum/viper.git
Cloning into 'viper'...
remote: Counting objects: 3824, done.
You can’t perform that action at this time.