Skip to content

Instantly share code, notes, and snippets.

View raytroop's full-sized avatar
🎯
Focusing

raytroop

🎯
Focusing
View GitHub Profile
@raytroop
raytroop / noise_generator.py
Created December 8, 2025 02:40 — forked from m-schubert/noise_generator.py
Generate noise in Python with a specific colour / power spectral density
# Copyright 2022 Ioces Pty. Ltd.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
@raytroop
raytroop / v2rayA.md
Created October 13, 2024 00:47
v2rayA Ubuntu24
@raytroop
raytroop / gitbash_config.md
Last active October 4, 2024 13:54
fix Git Bash flicker, blinking in Windows Terminal
@raytroop
raytroop / RescueTime Ubuntu.md
Last active October 1, 2024 11:54
RescueTime Ubuntu
@raytroop
raytroop / rpm
Last active December 24, 2021 14:16
Rocky Linux 8 rpm for cadence binary and cdnshelp
sudo yum install openssl compat-openssl10 qca-qt5-ossl.x86_64 openssl-devel
@raytroop
raytroop / RockyLinux8.txt
Last active December 7, 2021 16:10
Rocky Linux 8 extend LVM in VMware
1) gparted extend
2)
lvextend -l +100%FREE /dev/rl/root
3)
xfs_growfs /dev/mapper/rl-root
usefull command:
df -h
lvdisplay
fdisk -l
@raytroop
raytroop / SBR.m
Created November 26, 2021 01:14
SBR ref. Fast and Accurate Estimation of Statistical Eye Diagram for Nonlinear High-Speed Links
A = zeros(10,21);
n = [1:10];
% post cursor
for m = 1:3
A(m, 11+n(m)) = 0.5;
A(m, 11-n(m)) = 0.5;
end
% one
@raytroop
raytroop / README.txt
Last active October 15, 2021 18:58
vimscript memo
a: -> variable scope
s: -> current script’s namespace
b: -> local to the current buffer
@raytroop
raytroop / README.txt
Created October 14, 2021 14:55
jump through placerhold of coc.nvim
g:coc_snippet_next g:coc_snippet_next
Trigger key for going to the next snippet position, applied in insert
and select mode.
Only works when snippet session is activated.
Default: <C-j>
g:coc_snippet_prev g:coc_snippet_prev
@raytroop
raytroop / install.sh
Created October 13, 2021 17:37
npm install local package
git clone https://github.com/raytroop/svlangserver.git
cd svlangserver/
npm pack
npm install -g imc-trading-svlangserver-0.3.4.tgz