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 my-system-info-manjaro
10:29:34  jr@fm  ~  ⬡ v8.16.0 
$ inxi -Fxxx
System: Host: fm Kernel: 5.4.8-3-MANJARO x86_64 bits: 64 compiler: gcc v: 9.2.0 Desktop: KDE Plasma 5.17.80 tk: Qt 5.14.0
wm: kwin_x11 dm: SDDM Distro: Manjaro Linux
Machine: Type: Desktop Mobo: ASUSTeK model: TUF B450M-PLUS GAMING v: Rev X.0x serial: <root required>
UEFI: American Megatrends v: 1002 date: 03/07/2019
CPU: Topology: 8-Core model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+ rev: 2 L2 cache: 4096 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 118208
Speed: 1804 MHz min/max: 2200/3700 MHz boost: enabled Core speeds (MHz): 1: 1878 2: 2850 3: 2555 4: 3214 5: 2924
6: 3504 7: 2715 8: 1953 9: 3127 10: 2888 11: 2436 12: 2864 13: 2504 14: 1884 15: 2119 16: 2450
View dkms-build-m-rtl88x2bu.txt
➜ rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959 git:(master) sudo dkms build -m rtl88x2bu -v ${VER}
Error! echo
Your kernel headers for kernel 4.19.80-1-MANJARO cannot be found at
/usr/lib/modules/4.19.80-1-MANJARO/build or /usr/lib/modules/4.19.80-1-MANJARO/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
View install_WiFi_driver_for_Volans_VL_UW120.txt
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333/
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333/platform/
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333/platform/platform_ops.h
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333/platform/platform_ARM_SUNxI_usb.c
View nix-fix-link-works-building-from-source
View ethresearch-holochain
[Holochain](https://holochain.org/) is a framework for distributed apps that has an agent-centric approach. My initial impression of it after browsing its website, reading some of the white paper, some of the [FAQs](https://developer.holochain.org/guide/latest/faq.html), and [this blog post](https://medium.com/holochain/beyond-blockchain-simple-scalable-cryptocurrencies-1eb7aebac6ae), is that it looks better than Ethereum, providing a simpler, more intuitive approach to solving the scalability problem without compromising the scalability-decentralization-throughput trilemma, unless you really need universal consensus / data as an absolute truth, rather than data as a shared perspective. This is also after having been [involved with Ethereum](https://docs.google.com/spreadsheets/d/1Fv8XqLkMjdBkGPkVWfJulJU-5Qv6TSUR4oD5uKSEHW0/edit?usp=sharing) since mid 2017, without compensation.
I made a post about Holochain previously, but it seems that it was deleted, so I'm taking a screenshot [before](https://imgur.com/N
View new-way-contact-error
Server Error in '/' Application.
Unable to read data from the transport connection: net_io_connectionclosed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.
Source Error:
Line 324:
View Codility Solutions in Javascript
Inspired from https://gist.github.com/lalkmim/e04845eb9d1c5936622a.
LinkedList Codility test: https://jsfiddle.net/jamesray/6fnw1yjq/1/, got a 100% score.
Find leader in array Codility test: https://jsfiddle.net/jamesray/6uqwb2c9/, got a 100% score.
Lesson 1 - Iterations
- BinaryGap - can't see how to improve on https://codility.com/demo/results/trainingU2FQPQ-7Y4/
Lesson 2 - Arrays
@jamesray1
jamesray1 / footer-backup
Last active Jun 26, 2019
footer-backup
View footer-backup
View internal compiler error: librustc_traits_structural_impls.rs:180: impossible case reached
[jray@jr-dl core]$ RUST_BACKTRACE=1 cargo doc --verbose
Fresh semver-parser v0.7.0
Fresh byteorder v1.2.7
Fresh cfg-if v0.1.6
Fresh byte-tools v0.3.0
Fresh futures v0.1.25
Fresh subtle v1.0.0
Fresh void v1.0.2
Fresh rand_core v0.3.0
Fresh fake-simd v0.1.2
@jamesray1
jamesray1 / yay-backintime-manjaro
Created Nov 9, 2018
Installation for AUR package repository fails due to unresolved dependencies
View yay-backintime-manjaro
[jray@jr-dl ~]$ yay backintime
4 aur/backintime-cli-git 1.1.12.r440.gd0f9b844-1 (+24 0.00%) (Out-of-date 2018-11-09)
Simple backup/snapshot system inspired by Flyback and TimeVault. CLI version.
3 aur/backintime-git 1.1.12.r440.gd0f9b844-1 (+24 0.00%) (Out-of-date 2018-11-09)
Simple backup/snapshot system inspired by Flyback and TimeVault. Qt5 GUI version.
2 aur/backintime-cli 1.1.24-1 (+263 0.21%)
Simple backup system inspired from the Flyback Project and TimeVault. CLI version.
1 aur/backintime 1.1.24-1 (+263 0.21%)
Simple backup system inspired from the Flyback Project and TimeVault. QT4 GUI version.
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
You can’t perform that action at this time.