Skip to content

Instantly share code, notes, and snippets.

View JesseEisen's full-sized avatar
🎯
Focusing

LinKang Chen JesseEisen

🎯
Focusing
View GitHub Profile
@tallguyjenks
tallguyjenks / logseq-Gruvbox.css
Last active July 20, 2024 21:10
Logseq Gruvbox
@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;700&family=Fira+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
:root {
--background: #282828;
--light-background: #3c3836;
--lighter-background: #504945;
--dark-background: #3c3836;
--darker-background: #1d2021;
--foreground: #ebdbb2;
--current-line: #504954;
@Gavinok
Gavinok / .zshrc
Last active January 26, 2021 14:57
my current .zshrc as of Mon 30 Nov 2020
## HISTORY
HISTFILE="${XDG_CACHE_HOME}/zsh_history"
HISTSIZE=1000
SAVEHIST=1000
#go to the directory without using cd
setopt autocd
export NNN_OPENER='open'
# Reclaim CTRL-S for use, e.g., with Vim (see: man stty)
@Gavinok
Gavinok / grap.ms
Last active July 23, 2022 17:03
Example file for using grap with groff and other troff implementations
.ft CW
groff -G -ms -Tpdf grap.ms > grap.pdf
.ft
.NH
Simple example
.LP
.G1
54.2
49.4
@siddharthkp
siddharthkp / settings.json5
Last active September 14, 2020 12:31
vscode cleanup
{
"breadcrumbs.enabled": false,
"editor.minimap.enabled": false, // removes minimap
"editor.renderWhitespace": "none", // removes whitespace chars
"editor.renderIndentGuides": false, // removes indent guides
"editor.overviewRulerBorder": false, // removes border from overview ruler (located on the right, same position as the scrollbar)
"editor.hideCursorInOverviewRuler": true, // hides cursor mark in the overview ruler
"editor.lineNumbers": "off", // hide line numbers
"editor.renderLineHighlight": "none", // removes line highlight
@subfuzion
subfuzion / README.md
Last active May 11, 2024 17:03
vim/neovim configuration

I recently switched over to neovim (see my screenshots at the bottom). Below is my updated config file.

It's currently synchronized with my .vimrc config except for a block of neovim-specific terminal key mappings.

This is still a work in progress (everyone's own config is always a labor of love), but I'm already extremely pleased with how well this is working for me with neovim. While terminal mode isn't enough to make me stop using tmux, it is quite good and I like having it since it simplifies my documentation workflow for yanking terminal output to paste in a markdown buffer.

These days I primarily develop in Go. I'm super thrilled and grateful for fatih/vim-go,

@subfuzion
subfuzion / curl.md
Last active July 30, 2024 05:24
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@honkskillet
honkskillet / byte-sizetuts.md
Last active July 18, 2024 08:32
A series of golang tutorials with youtube videos.
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.

How to install pandoc from source on CentOS 6.x

  • Make a directory for the Haskell installation, I like to use /opt/haskell:

    $ sudo mkdir /opt/haskell
    $ sudo chown $USER /opt/haskell
    
  • Install [GHC 7.6.3][1].

@morhekil
morhekil / nginx.conf
Created August 14, 2014 12:18
Full request/response body logging in nginx
http {
log_format bodylog '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent" $request_time '
'<"$request_body" >"$resp_body"';
lua_need_request_body on;
set $resp_body "";
body_filter_by_lua '