Skip to content

Instantly share code, notes, and snippets.

View evantancy's full-sized avatar

evan evantancy

  • vim
View GitHub Profile
@evantancy
evantancy / accept-connections.js
Last active March 27, 2022 07:44
Easy way to remove saved jobs on LinkedIn
[...document.querySelectorAll('button.invitation-card__action-btn')].forEach(b => {
if (b.innerText === 'Accept') {
b.click()
}
})
@evantancy
evantancy / ropsten-peer-list.md
Last active January 24, 2022 03:37
List of peers for the Ropsten Ethereum Network, updated 22 Jan 2022.

Ropsten Peer List

[
"enode://4d2aa280794597473bac1aa35695ad424381dd85e7642bb70022b1d0a86b6aeeec99cafee1fd8797d8746edf73e9e9ae0b852879d93b2e9278e14d1c7bb3e1bf@139.59.215.107:30303",
"enode://2253cab89633f76890755f80bdfbce4738a85eba748e391888e016f8e6809706b4f5b8e248efb8b65c21dff288faff9aa4de5f962eb8aa7beef5bdb2442dbb76@87.237.138.66:30319",
"enode://8536a2f199c769555219113a22f784ad390fc7ffa5e6403a466f8336b14706348d49d99afe5b43f3562d39024a91ac67c5edf01f3419c359636ffa052f472464@3.84.244.166:30303",
"enode://b71ea82682d28136d5783d8472d8cb4ccc4edef18c61983a6418e6422cf0d54a786fbbae402113b576d26f4c3b5597f30c9c3e2014d35283256596ce94c55292@188.35.22.48:30324",
"enode://2ec6d878c997590d1edf2491c3cca556ff5b27ce44f9ecd82710e9312e68b4a84c9d850f94d246af8f94edb103ac3a07c3fb27436fb88df6204f3f43119b6757@54.147.199.137:30303",
"enode://2b69ae961b4dac397da489a4f8fbfcee2717f4e477bbbc859a5e75aee0b52802a20a0b52aed3ff86b19b0031865d1b07b8a22f1711ed880bc1da5b415b6a9e09@52.210.218.202:30304",
"enode://20e35be6b6258d45b38d90d805a7
@evantancy
evantancy / deep-learning-resources.md
Last active April 16, 2022 12:50
deep learning resources
@evantancy
evantancy / leopold-hasu-controller.md
Last active April 16, 2022 12:45
How to flash your Leopold FC660C keyboard with the Hasu controller (ATMega32U4) for customizing any key

Leopold FC660C Hasu controller

  1. edit keymap on tmk keyboard editor, and download the layout.hex file

  2. get dfu-programmer using apt, or downloading from source and building

Method 1 (APT): sudo apt install dfu-programmer

Method 2 (building from source)

@evantancy
evantancy / ubuntu-config.md
Last active March 27, 2022 07:36
ubuntu 20.04 configuration

Ubuntu Config

Why customize? I love the window management with i3 and productivity that comes with associating certain applications to windows (now workspaces), and I've mostly setup i3 but am still figuring some things out. Also because I've spent the past week tweaking i3 when I should be studying for interviews... Hopefully by using these tweaks, it will improve your workflow and boost productivity.

Workspace shortcuts

To mimic i3 windows where you have to press Super + 1 to go to Window 1 etc. Why? I love the window management with i3 and productivity that comes with associating certain applications to windows (now workspaces), and I've mostly setup i3 but am still figuring some things out.

  1. disable the Super + {1..9} keys that launch apps on the dock

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@evantancy
evantancy / how-to-setup-verified-commits.md
Created April 16, 2022 12:50 — forked from Beneboe/how-to-setup-verified-commits.md
How to Setup Verified Commits on Github
@evantancy
evantancy / alacritty-tmux-vim_truecolor.md
Created May 3, 2022 04:25 — forked from andersevenrud/alacritty-tmux-vim_truecolor.md
True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).

Testing colors

Running this script should look the same in tmux as without.

curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh
bash 24-bit-color.sh
@evantancy
evantancy / tmux-cheatsheet.markdown
Created June 22, 2022 13:50 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname