Skip to content

Instantly share code, notes, and snippets.

View NNBnh's full-sized avatar
⚠️
TypeError: Cannot read property 'status' of undefined.

NNB NNBnh

⚠️
TypeError: Cannot read property 'status' of undefined.
View GitHub Profile
@NNBnh
NNBnh / Bmap-Kakoune.kbd.json
Last active December 24, 2021 15:40
Bmap Kakoune
[
{
"name": "Bmap Kakoune",
"author": "NNB"
},
[
{
"c": "#E02C6D",
"p": "CHICKLET",
"a": 5,
@NNBnh
NNBnh / Bmap-Kakoune-menu.kbd.json
Last active December 24, 2021 15:40
Bmap Kakoune menu
[
{
"name": "Bmap Kakoune menu",
"author": "NNB"
},
[
{
"p": "CHICKLET",
"a": 5,
"f": 2
@NNBnh
NNBnh / starship-installer
Created January 13, 2021 14:27
Install Starship prompt quickly
#!/bin/sh
# Values
TMPDIR="${TMPDIR:-/tmp}"
# Start
curl -fsSL https://starship.rs/install.sh --create-dirs --output "$TMPDIR/starship-installer"
chmod +x "$TMPDIR/starship-installer"
font = "Bmono 12"
geometry = "0x0-62-62"
separator_height = 2
padding = 2
horizontal_padding = 2
frame_width = 2
markup = full
format = "<b>%s</b>\n%b"
icon_path = ""
@NNBnh
NNBnh / hosts-installer
Created February 27, 2021 10:24
Install Hosts ad-block quickly
#!/bin/sh
# Values
TMPDIR="${TMPDIR:-/tmp}"
# Start
curl -fsSL 'https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts' --create-dirs --output "$TMPDIR/hosts" \
&& printf '%s' "127.0.1.1 $(hostname)" >> "$TMPDIR/hosts" \
#!/bin/sh
# __________
# / ___/ ___/____ ___ ____ _____ ____ _
# \__ \\__ \/ __ `__ \/ __ `/ __ \/ __ `/
# ___/ /__/ / / / / / / /_/ / / / / /_/ /
# /____/____/_/ /_/ /_/\__,_/_/ /_/\__,_/
#
# File: ssmana
@NNBnh
NNBnh / projectStatus.md
Last active March 16, 2023 09:55
My project status indicator explains

Project status

My project status indicator explains.

Development completed

Indicator:
Development completed

![Development completed](https://img.shields.io/badge/development-completed-%23FFC387.svg?labelColor=585858&amp;style=for-the-badge&amp;logoColor=FFFFFF "Development completed")
@NNBnh
NNBnh / bookmarks2artists.py
Last active December 12, 2021 17:14
Script I use to convert artists bookmarks into ___booru artist's names (remember to customize this script to fit your bookmarks file).
import json, requests
with open('bookmarks.json') as file:
bookmarks = json.load(file)
saved = []
error = {}
for bookmark in bookmarks:
url = bookmark['uri']
@NNBnh
NNBnh / init.vim
Last active November 23, 2021 06:16
My last Neovim config
"
" █ █ ███
" █ █ ███
" █ █ ████
" █ █ ████
"
" File: init.vim
" Description: Vim config that SuperB
" Author: NNB
@NNBnh
NNBnh / wm.md
Created May 3, 2022 08:02
My old windows manager ranking