Skip to content

Instantly share code, notes, and snippets.

View idoleat's full-sized avatar
🛌
zzZ

C.W. Chien idoleat

🛌
zzZ
View GitHub Profile
@idoleat
idoleat / idoleat_CSGO_config.cfg
Created December 3, 2019 19:31
My CSGO config
//resolution 1600x900
mat_monitorgamma 1.6
cl_crosshair_drawoutline "0"
cl_crosshair_dynamic_maxdist_splitratio "0.35"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_friendly_warning "1"
cl_crosshair_outlinethickness "1"
cl_crosshair_sniper_show_normal_inaccuracy "0"
@idoleat
idoleat / gnome-shell.css
Last active May 9, 2020 09:47
A better taste of vimix theme - light ruby. Whole white top bar. TRUE bright theme. Usage: backup the original file in /usr/shared/theme/vimix-light-ruby/gnome-shell/gnome-shell.css and replace that with this file. Wala! Welcome to the New World.
/* This stylesheet is generated, DO NOT EDIT */
/* Copyright 2009, 2015 Red Hat, Inc.
*
* Portions adapted from Mx's data/style/default.css
* Copyright 2009 Intel Corporation
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
* version 2.1, as published by the Free Software Foundation.
*
@idoleat
idoleat / My-Atom-JsTsPackages-List.sh
Last active August 27, 2021 11:22
Packages I use for JavaScript and a little TypeScript development
# packages I use for JavaScript and a little TypeScript development
apm install atom-easy-jsdoc
apm install atom-live-server
apm install atom-typescript
apm install linter
apm install linter-ui-default
# atom-community series
apm install atom-ide-base
@idoleat
idoleat / .vimrc
Last active July 16, 2022 11:24
My .vimrc with lovely theme
" Auto install VimPlug
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
if empty(glob(data_dir . '/autoload/plug.vim'))
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
"======= VimPlug Section ==========
call plug#begin('~/.vim/plugged')
@idoleat
idoleat / init.vim
Created September 11, 2022 12:08
My init.vim for neovim
"======= VimPlug Section ==========
call plug#begin()
" That status bar la
" Plug 'vim-airline/vim-airline'
" Plug 'vim-airline/vim-airline-themes'
" File manager
" Plug 'scrooloose/nerdtree'
" Plug 'Xuyuanp/nerdtree-git-plugin'
@idoleat
idoleat / init.lua
Last active November 10, 2022 12:03
Change init.vim to init.lua
vim.cmd("set encoding=UTF-8")
vim.cmd("set number")
vim.cmd("set ruler")
vim.cmd("set visualbell")
vim.cmd("set wrap")
vim.cmd("set tabstop=4")
vim.cmd("set shiftwidth=4")
vim.cmd("set expandtab")
-- make sure the packer plugin manager is installed
@idoleat
idoleat / FFA.cfg
Last active May 11, 2023 04:16
A CSGO config file to quick setup free for all map, including free to buy weapons.
// Server config
sv_cheats 1
game_type 0
game_mode 1
mp_limitteams 0
mp_autoteambalance 0
mp_roundtime 60
mp_roundtime_defuse 60
mp_maxmoney 60000
mp_startmoney 60000
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#define my_sizeof(type) \
({ \
__typeof__(type) _a[2]; \
(size_t) & _a[1] - (size_t)&_a[0]; \
})
@idoleat
idoleat / frappe.ron
Created June 23, 2023 04:01
Gitui: Modified catppuccin frappe theme
(
selected_tab: Reset,
command_fg: Rgb(76, 79, 105), //original 198, 208, 245
selection_bg: Rgb(98, 104, 128),
selection_fg: Rgb(198, 208, 245),
cmdbar_bg: Rgb(230, 233, 239), //original 41, 44, 60
cmdbar_extra_lines_bg: Rgb(230, 233, 239),
disabled_fg: Rgb(180, 183, 191), //original 131, 139, 167
diff_line_add: Rgb(166, 209, 137),
diff_line_delete: Rgb(231, 130, 132),
@idoleat
idoleat / catppuccin_frappe_mod.toml
Last active August 5, 2023 07:43
My helix config and modified catppuccin_frappe, everforest_dark theme
inherits = "catppuccin_frappe"
"ui.bufferline.active" = { fg = "blue", bg = "surface0", modifiers = ["bold",] }