Skip to content

Instantly share code, notes, and snippets.

@catbaron0
catbaron0 / gcd.py
Last active December 24, 2023 17:07
Download gcores radio albums
"""
Usage:
Download one radio:
python gcd.py -radio RADIO_ID
python gcd.py -r RADIO_ID
Download radios from an album:
python gcd.py -a ALBUM_ID
python gcd.py -album ALBUM_ID
@catbaron0
catbaron0 / lizhi_notification.py
Last active April 30, 2021 13:53
Notify the comments from lizhi
import argparse
import requests
import re
import time
import subprocess
import emoji
import time
from datetime import datetime
import logging
@catbaron0
catbaron0 / SurfingkeysDraculaThemeAttempt.txt
Last active August 23, 2022 05:03 — forked from emraher/SurfingkeysDraculaThemeAttempt.txt
Surfingkeys Dracula Theme Attempt
// an example to create a new mapping `ctrl-y`
mapkey('<Ctrl-y>', 'Show me the money', function() {
Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).');
});
// an example to replace `T` with `gt`, click `Default mappings` to see how `T` works.
map('gt', 'T');
// an example to remove mapkey `Ctrl-i`
unmap('<Ctrl-i>');
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" Plugin 'Valloric/YouCompleteMe'
Plugin 'nathanaelkane/vim-indent-guides'
@catbaron0
catbaron0 / cloudSettings
Last active December 10, 2019 01:35
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-12-10T01:35:35.189Z","extensionVersion":"v3.4.3"}