Skip to content

Instantly share code, notes, and snippets.

View evdcush's full-sized avatar
🦎
very good yes

Evan evdcush

🦎
very good yes
View GitHub Profile
@evdcush
evdcush / cute_AA.txt
Created August 1, 2024 10:47 — forked from Tosainu/cute_AA.txt
顔文字詰め合わせ
あせ (・_・;) 顔文字
あせ (・∀・;) 顔文字
あせ (^ω^;;) 顔文字
あせ (゚∀゚ ;) 顔文字
あせ (゚∀゚ ;)タラー 顔文字
あたふた ヽ(´・ω・`ヽ) 顔文字
あつい (。>﹏<) 顔文字
あつい (。>﹏<)あㄘ”ゅい 顔文字
あつい (>﹏<。Ξ。>﹏<) 顔文字
あつい ι(´Д`υ) 顔文字
@evdcush
evdcush / prebork_ghfeed.js
Created July 31, 2024 05:11
Pre-borked GH feed
// ==UserScript==
// @name Old Feed
// @namespace https://gerritbirkeland.com/
// @version 0.14
// @updateURL https://raw.githubusercontent.com/Gerrit0/old-github-feed/main/old-feed.user.js
// @downloadURL https://raw.githubusercontent.com/Gerrit0/old-github-feed/main/old-feed.user.js
// @description Restores the Following/For You buttons to let you pick your feed
// @author Gerrit Birkeland
// @match https://github.com/
// @match https://github.com/dashboard

https://github.com/reireias/dotseeker

grep -r -E -v -h '^\s*#' files | grep --color=none -E "^\s*alias " | sed -e 's/#.*//g' -e 's/^\s*//g' -e 's/\s*$//g' | sort | uniq -c | sort -nr
 90 alias ls='ls --color=auto'
 87 alias grep='grep --color=auto'
 59 alias fgrep='fgrep --color=auto'

59 alias egrep='egrep --color=auto'

@evdcush
evdcush / typecatcher_fix.md
Created March 6, 2024 09:13
FIX: Typecatcher Ubuntu package for installing fonts from Google fonts

Your error:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/typecatcher_lib/Application.py", line 30, in on_activate
    self.window = TypeCatcherWindow.TypeCatcherWindow()
  File "/usr/lib/python3/dist-packages/typecatcher_lib/Window.py", line 47, in __new__
    builder = get_builder('TypeCatcherWindow')
  File "/usr/lib/python3/dist-packages/typecatcher_lib/helpers.py", line 44, in get_builder
    builder.add_from_file(ui_filename)
 File "/usr/lib/python3/dist-packages/typecatcher_lib/Builder.py", line 86, in add_from_file
@evdcush
evdcush / clean-url-readme-tab.github.com.tamper.js
Created March 2, 2024 00:48 — forked from vogler/clean-url-readme-tab.github.com.tamper.js
GitHub: remove `?tab=readme-ov-file` from URL
// ==UserScript==
// @name GitHub: remove `?tab=readme-ov-file` from URL
// @description GitHub: remove `?tab=readme-ov-file` from URL
// @namespace https://gist.github.com/vogler
// @downloadURL https://gist.github.com/vogler/74edff6de37c3a13eeff8c99c6bed910/raw/clean-url-readme-tab.github.com.tamper.js
// @version 0.1
// @author Ralf Vogler
// @match https://github.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.com
// @grant none
Tampermonkey:
https://github.com/orgs/community/discussions/66260
https://github.com/Gerrit0/old-github-feed
https://github.com/wangrongding/github-old-feed
Discussions:
https://github.com/orgs/community/discussions/66249
@evdcush
evdcush / pep20_by_example.py
Created May 15, 2023 07:23 — forked from evandrix/pep20_by_example.py
PEP 20 (The Zen of Python) by example
#!/usr/bin/env python
"""
=====================================
PEP 20 (The Zen of Python) by example
=====================================
Usage: %prog
:Author: Hunter Blanks, hblanks@artifex.org / hblanks@monetate.com
@evdcush
evdcush / CUDA_Compilers.md
Created April 3, 2023 03:45 — forked from ax3l/CUDA_Compilers.md
CUDA Compilers
@evdcush
evdcush / pycurses.py
Created January 22, 2023 10:37 — forked from claymcleod/pycurses.py
Python curses example
import sys,os
import curses
def draw_menu(stdscr):
k = 0
cursor_x = 0
cursor_y = 0
# Clear and refresh the screen for a blank canvas
stdscr.clear()
@evdcush
evdcush / logseq_install_update.sh
Last active March 8, 2024 00:46
Handy shell script to install and update Logseq on Linux
#!/usr/bin/env bash
# This script comes from Joplin, MIT License Copyright Laurent Cozic:
# https://github.com/laurent22/joplin/blob/dev/Joplin_install_and_update.sh
# Modified here by github.com/evdcush to instead install and update Logseq.
set -e
trap 'handleError' ERR