View .zshrc.personal.zsh
## Common | |
export EDITOR="nano" | |
## ZSH | |
prompt grml-large | |
zstyle :prompt:grml-large:left:setup items jobs history shell-level date time newline user at host path vcs virtual-env newline percent | |
# git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions | |
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh | |
# git clone https://github.com/zsh-users/zsh-history-substring-search.git ~/.zsh/zsh-history-substring-search | |
source ~/.zsh/zsh-history-substring-search/zsh-history-substring-search.zsh |
View 01_iptables_by_second_fry.sh
#!/bin/bash | |
### Читаем: | |
### https://wiki.archlinux.org/index.php/Simple_stateful_firewall | |
### https://www.booleanworld.com/depth-guide-iptables-linux-firewall/ | |
### https://javapipe.com/blog/iptables-ddos-protection/ | |
### Подготовка. | |
# ulogd! |
View init-2b-arp.sh
#!/bin/sh | |
# (c) Copyright 2019 oadhesiv | |
# MIT license | |
# rgbg vavg hxenqra f tvgn, fzryb fgni zvahf fbebx qin | |
ping -c 2 -b $(ip -o -4 addr show dev en0 | awk '{print $6}') | |
arp -i en0 -n | grep . | awk '{print $1}' |
View eve-pi-planets.js
/** | |
* Scripts for pages alike https://eve-marketdata.com/pi.php?step=PIPlanner2&type_name=Broadcast+Node&solarsystem_name=Resbroko | |
*/ | |
var dict = { | |
'Aqueous Liquids': ['Barren', 'Gas', 'Ice', 'Oceanic', 'Storm', 'Temperate'], | |
'Autotrophs': ['Temperate'], | |
'Base Metals': ['Ice', 'Oceanic', 'Temperate'], | |
'Reactive Metals': ['Ice', 'Oceanic', 'Temperate'], // FIXME | |
'Carbon Compounds': ['Barren', 'Oceanic', 'Temperate'], | |
'Complex Organisms': ['Oceanic', 'Temperate'], |