Skip to content

Instantly share code, notes, and snippets.

View listout's full-sized avatar

Brahmajit Das listout

View GitHub Profile
@listout
listout / log.txt
Created October 27, 2023 10:19
Output log
~/Documents/esp-prjs/spp_server 8s
>> idf.py flash monitor
Executing action: flash
Serial port /dev/ttyUSB0
Connecting.....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting....
Detecting chip type... ESP32
Running ninja in directory /home/bdas/Documents/esp-prjs/spp_server/build
Executing "ninja flash"...
@listout
listout / 4chin.css
Created April 10, 2023 19:28
My 4chan style sheet
:root {
--main-bg: #1a1b26;
--main-fg: #c0caf5;
--post-bg: #1a1b26;
--border: #24283b;
--second-bg: #161620;
--name: #7aa2f7;
--grey: #565f89;
--placeholder: #c0caf578;
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7000
load:0x40078000,len:15452
ho 0 tail 12 room 4
load:0x40080400,len:3840
0x40080400: _init at ??:?
entry 0x4008064c
@listout
listout / dwm_config_pulseaudio.h
Created October 21, 2021 09:35 — forked from palopezv/dwm_config_pulseaudio.h
dwm volume control with hardware multimedia keys (pulseaudio)
/**
* dwmconfig.h
* Hardware multimedia keys
*/
/* Somewhere at the beginning of config.h include: */
/*
You obviously need the X11 development package installed, but here is the upstream copy
of this header if you can't bother using the contents of your own hard drive. ;-P
https://cgit.freedesktop.org/xorg/proto/x11proto/tree/XF86keysym.h
@listout
listout / .gitignore
Last active August 16, 2021 17:58 — forked from kogakure/.gitignore
Git: .gitignore file for LaTeX projects
*.aux
*.glo
*.idx
*.log
*.toc
*.ist
*.acn
*.acr
*.alg
*.bbl
@listout
listout / cnn_imp.ipynb
Created July 25, 2021 07:33
cnn_imp.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@listout
listout / Don't use Vim.md
Created July 18, 2021 16:44 — forked from romainl/Don't use Vim.md
Don't use Vim for the wrong reasons

Don't use Vim

Don't do the crime, if you can't do the time.

-- Anthony Vincenzo "Tony" Baretta

Vim is an amazing text editor. I love it. Really, I wouldn't [organize][organize] a Vim advent calendar if I didn't. But, as amazing as it is, Vim is not for everyone. It can't solve all your problems, or be a TUI version of your favorite IDE, or make you a better programmer, or land you that dream job in the Bay Area. But Vim can help you be more mindful, focused, and efficient, as long as you approach it with the right mindset.

Don't get me wrong, I certainly welcome you to try Vim, but I'm not a proselyte. I don't thrive on newbies. I just want you to use the right tool for the job and not waste your—and anyone's—time on a fruitless quest.

@listout
listout / pass.md
Created June 25, 2021 18:44 — forked from abtrout/pass.md
Using password-store with git repository synching

Password-store keeps your passwords (or any other sensitive information) saved in GnuPG encrypted files organized in ~/.password-store. For more information about GPG, consult the GNU Privacy Handbook.

Getting started

To get started, install pass and generate a keypair.

$ brew install pass
$ gpg --gen-key
$ gpg --list-keys
@listout
listout / non-defaultfont.tex
Created January 13, 2021 05:47
Change font in latex wtih xelatex engine
\usepackage{fontspec}
\setmainfont[
ItalicFont={TeX Gyre Chorus},
]{TeX Gyre Pagella}
% other options are \setmonofont, \setromanfont, \setsansfont
% https://www.overleaf.com/learn/latex/XeLaTeX
@listout
listout / yaml
Last active January 27, 2022 15:02
my .clang-format
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
#AlignEscapedNewlines: Left # Unknown to clang-format-4.0
AlignOperands: true
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false