Skip to content

Instantly share code, notes, and snippets.

View b3n10's full-sized avatar
🏠
Working from home

b3n10

🏠
Working from home
View GitHub Profile
@b3n10
b3n10 / ip6tables_setup.bash
Created February 1, 2024 07:15 — forked from velizarn/ip6tables_setup.bash
Basic setup for ip6tables - drop all traffic except local, ICMP and DHCPv6 traffic.
#!/bin/bash
# http://serverfault.com/questions/410321/debian-ip6tables-rules-setup-for-ipv6/410327#410327
# http://ipset.netfilter.org/iptables.man.html
# https://www.sixxs.net/wiki/IPv6_Firewalling
# https://www.cyberciti.biz/faq/ip6tables-ipv6-firewall-for-linux/
# https://gist.github.com/thomasfr/9712418
# https://gist.github.com/SnakeDrak/f4150f6e517e5a1d525f
# http://www.thegeekstuff.com/2011/06/iptables-rules-examples
# http://www.thegeekstuff.com/scripts/iptables-rules
@b3n10
b3n10 / userChrome.css
Created May 14, 2020 09:59
userChrome.css
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
* {
font-size: 14px;
}
#toolbar-menubar,
#toggle_toolbar-menubar,
/*#toolbar-context-menu,*/
#PanelUI-help,
@b3n10
b3n10 / firefox_about_config
Created May 14, 2020 09:37
Firefox about config
toolkit.legacyUserProfileCustomizations.stylesheets = true
browser.in-content.dark-mode = true
ui.systemUsesDarkTheme = 1
browser.cache.disk.enable = false
browser.cache.memory.enable = true
browser.cache.memory.capacity = 1000000
@b3n10
b3n10 / mutt_keybindings
Created May 13, 2020 15:56
Mutt Keybindings
bind pager j next-line
bind pager k previous-line
bind attach,index,pager \CD next-page
bind attach,index,pager \CU previous-page
bind pager g top
bind pager G bottom
bind attach,index g first-entry
bind attach,index G last-entry
bind index,pager O sidebar-open
bind index,pager B sidebar-toggle-visible
@b3n10
b3n10 / mutt_colors
Created May 13, 2020 15:55
Mutt Colors
# Colours for items in the index
color index brightcyan black ~N
# Hmm, don't like this.
# color index brightgreen black "~N (~x byers.world)|(~x byers.x)|(~x langly.levallois123.axialys.net)|(~x the.earth.li)"
color index brightyellow black ~F
color index black green ~T
color index brightred black ~D
mono index bold ~N
mono index bold ~F
mono index bold ~T
@b3n10
b3n10 / muttrc
Last active June 4, 2020 08:27
Config for Mutt web client
set imap_user = #
set imap_pass = #
set folder = imaps://<replace-with-domain-name>
set spoolfile = +INBOX
mailboxes =INBOX
# necessary for replying
set realname = $imap_user
set from = $imap_user@<replace-with-domain-name>
@Entity
@PrimaryKey
Application
Boolean
Bundle
Bundle().apply
Button
Calendar
CheckBox
@b3n10
b3n10 / rifle.conf
Last active December 9, 2018 19:17
~/.config/ranger/rifle.conf
# vim: ft=cfg
#
# This is the configuration file of "rifle", ranger's file executor/opener.
# Each line consists of conditions and a command. For each line the conditions
# are checked and if they are met, the respective command is run.
#
# Syntax:
# <condition1> , <condition2> , ... = command
#
# The command can contain these environment variables:
@b3n10
b3n10 / center-vertical-horizontal.markdown
Last active January 17, 2021 00:39
center vertical & horizontal