Skip to content

Instantly share code, notes, and snippets.

View neuthral's full-sized avatar
🦌
bubbling

neuthral neuthral

🦌
bubbling
View GitHub Profile
echo -en "\e]P0232323" #black
echo -en "\e]P8882B99" #darkgrey
echo -en "\e]P1D75F5F" #darkred
echo -en "\e]P9E33636" #red
echo -en "\e]P287AF5F" #darkgreen
echo -en "\e]PA98E34D" #green
echo -en "\e]P3D7AF87" #brown
echo -en "\e]PBFFD75F" #yellow
echo -en "\e]P48787AF" #darkblue
echo -en "\e]PC7373C9" #blue
#!/bin/sh
image_name="keybaseio/client:latest"
contname="keybase"
nodename="--hostname=${contname}"
runname="--name=${contname}"
run_rm="--rm=true"
# build_rm="--force-rm=true"
ports=""
volumes="-v ~/.keybase:/home/keybase/.config/keybase"
with_tty="--tty"
@neuthral
neuthral / mpv.conf
Created August 7, 2022 18:22
mpv.conf
# ~/.config/mpv/mpv.conf
#The default profile which sets some recommended settings
profile=gpu-hq
#The called API
#Use "opengl" if you have compatibility issues
gpu-api=vulkan
vo=gpu #tct
#Decoding API for 8bit h264 (or whatever your CPU supports) content
#Only should be used when you get many frame drops
@neuthral
neuthral / oh-my-plugins.md
Created August 7, 2022 18:21
fresh install of linux oh my zsh & plugins

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
@neuthral
neuthral / nc_udp.md
Created August 7, 2022 18:08
NetCat test UDP ports

To test if udp port is responding, use netcat.

An example from the man page:

nc -v -u -z -w 3 example.host 20-30

Send UDP packets to ports 20-30 of example.host, and report which ones did not respond with an ICMP packet after three seconds. Of course, if a firewall is DROPing, which is normally the case when dealing with internet-faced gateways, you won't receive an ICMP response.

@neuthral
neuthral / newTrackon.list
Created August 7, 2022 18:06
List of trackers
udp://p4p.arenabg.com:1337/announce
udp://explodie.org:6969/announce
http://tracker1.itzmx.com:8080/announce
udp://tracker.birkenwald.de:6969/announce
udp://tracker.moeking.me:6969/announce
http://tracker.bt4g.com:2095/announce
udp://tracker.beeimg.com:6969/announce
udp://opentracker.i2p.rocks:6969/announce
http://open.acgnxtracker.com:80/announce
udp://fe.dealclub.de:6969/announce
[
"https://ipfs.io/ipfs/:hash",
"https://:hash.ipfs.dweb.link",
"https://gateway.ipfs.io/ipfs/:hash",
"https://ipfs.infura.io/ipfs/:hash",
"https://ninetailed.ninja/ipfs/:hash",
"https://ipfs.globalupload.io/:hash",
"https://10.via0.com/ipfs/:hash",
"https://ipfs.eternum.io/ipfs/:hash",
"https://hardbin.com/ipfs/:hash",

Keybase proof

I hereby claim:

  • I am neuthral on github.
  • I am greenlion (https://keybase.io/greenlion) on keybase.
  • I have a public key ASBxkjeTDfLFboh9h35hqNAYxfJepggbh59TYgHuFc23Nwo

To claim this, I am signing this object:

@neuthral
neuthral / layout.blade.php
Created September 5, 2019 13:58
Telescope/resources/views/layout.blade.php - assets dirty fix
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta Information -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="csrf-token" content="{{ csrf_token() }}">
<link rel="shortcut icon" href="telescope.ico">
<title>Telescope{{ config('app.name') ? ' - ' . config('app.name') : '' }}</title>
@neuthral
neuthral / getBlockLists.sh
Created July 2, 2019 16:47 — forked from johntyree/getBlockLists.sh
Make one large blocklist from the bluetack lists on iblocklist.com
#!/usr/bin/env sh
# Download lists, unpack and filter, write to stdout
curl -s https://www.iblocklist.com/lists.php \
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \
| xargs wget -O - \
| gunzip \
| egrep -v '^#'