View tokyo-rs-simple-bot.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const USERNAME = "rotate-bot"; | |
const ws = require('ws'); | |
const client = new ws(`wss://combat.sege.dev/socket?key=${USERNAME}&name=${USERNAME}`); | |
client.on('open', () => { | |
console.log('Connected!'); | |
setInterval(() => { | |
client.send(JSON.stringify({ |
View hiccup.vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Hiccup Theme for Vim | |
" Author: Huy Tran | |
" License: BSD 3 Clauses | |
" Put this file to: colors/hiccup.vim | |
highlight clear | |
if exists('syntax_on') | |
syntax reset | |
endif |
View .wezterm.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local wezterm = require 'wezterm' | |
local config = {} | |
if wezterm.config_builder then | |
config = wezterm.config_builder() | |
end | |
config.color_scheme = 'One Half Black (Gogh)' | |
config.font = wezterm.font 'Berkeley Mono' |
View Fleetjetbrain-color-theme.ics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<scheme name="Fleetjetbrain-color-theme" parent_scheme="Darcula" version="1"> | |
<colors> | |
<option name="CONSOLE_BACKGROUND_KEY" value="1E1F22" /> | |
<option name="LINE_NUMBERS_COLOR" value="D6D6DD" /> | |
<option name="SELECTION_BACKGROUND" value="163761" /> | |
<option name="CARET_ROW_COLOR" value="292929" /> | |
<option name="WHITESPACES" value="737373" /> | |
<option name="CARET_COLOR" value="D6D6DD" /> | |
<option name="INDENT_GUIDE" value="737373" /> | |
<option name="SELECTED_INDENT_GUIDE" value="737373" /> |
View .ideavimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mapleader=" " | |
set ideajoin | |
set clipboard+=unnamed | |
set clipboard+=ideaput | |
inoremap jk <ESC> | |
nnoremap <C-j> 10jzz | |
nnoremap <C-k> 10kzz | |
nnoremap H h |
View zed-keymap.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"context": "Editor", | |
"bindings": { | |
"cmd-b": "editor::GoToDefinition", | |
"cmd-shift-b": "editor::GoToTypeDefinition", | |
"cmd-r": "project_symbols::Toggle", | |
"cmd-0": "workspace::ToggleLeftSidebar", | |
"ctrl-0": "outline::Toggle" | |
} |
View pomodoro.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
############################################################################## | |
# Installation: | |
# First, run the following command to install the required dependencies: | |
# pip3 install rumps | |
# Then, copy the script to /usr/bin/local/tmr | |
############################################################################## | |
import rumps |
View tien-len-mien-nam-by-bing-gpt.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Step 1: Import the random module | |
import random | |
# Step 2: Define a class for cards | |
class Card: | |
def __init__(self, rank, suit): | |
self.rank = rank # an integer from 3 to 15 (3 is lowest and 15 is highest) | |
self.suit = suit.lower() # a string from "spades", "clubs", "diamonds", or "hearts" | |
def __str__(self): |
View WaveFox Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
userChrome.ChromeTabs-Enabled true | |
userChrome.DarkTheme.TabFrameColor.Black.Enabled true | |
userChrome.DarkTheme.TabFrameType.Shadow.Enabled true | |
userChrome.DragSpace.Top.Fullscreen.Enabled true | |
userChrome.DragSpace.Top.Maximized.Enabled true | |
userChrome.DragSpace.Top.Windowed.Enabled true | |
userChrome.TabCorners.Option10.Enabled true | |
userChrome.Toolbar.Transparency.Low.Enabled true |
View helix-config.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[editor] | |
true-color = true | |
color-modes = true | |
idle-timeout = 75 | |
[editor.indent-guides] | |
render = true | |
[editor.cursor-shape] | |
insert = "bar" |
NewerOlder