Skip to content

Instantly share code, notes, and snippets.

Avatar

atErik

View GitHub Profile
@atErik
atErik / atErik.css
Last active Jun 10, 2020
atErik.css - Apply/override/change default CSS presentation with this CSS file
View atErik.css
/* <style type="text/css"> /* change/override default presentation styles */
.UatErik50 { /* Square */
float: left;
position: relative;
width: 30%;
padding-bottom: 30%;
margin: 1.66%;
overflow: hidden;
}
.UatErik51 { /* Content */
@atErik
atErik / Server3-D10/etc/nftables.conf
Last active Aug 16, 2019
Server3-D10/etc/nftables.conf
View Server3-D10/etc/nftables.conf
#!/usr/sbin/nft -f
#
# /etc/nftables.conf file in SRVR3 "srvr3.example.com" Server
#
#
# This server includes these IP-addresses & associated functions:
# SRVR3.IPv4.ADRS : ssh-server, dns/nameServer, mail-server, webServer
# SRVR3:IPv6:ADRS1 : ssh-server, dns/nameServer, mail-server, webServer
# SRVR3:IPv6:ADRS3 : ssh-server, dns/nameServer, mail-server, webServer
# SRVR3:IPv6:ADRS5 : dns-Server, webServer
@atErik
atErik / Server3-D10/etc/ssh/sshd_config
Created Aug 16, 2019
Server3-Debian10 / etc / ssh / sshd_config : SSH server's configuration file sshd_config
View Server3-D10/etc/ssh/sshd_config
# $OpenBSD: sshd_config,v 1.103 2018/04/09 20:41:22 tj Exp $
#
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
#
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
#
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options override the
@atErik
atErik / MacBook1/Users/macUsr/.ssh/config
Last active Aug 16, 2019
macOS MacBook computer 1 : below is the ~/.ssh/config file from an admin type user "macUsr"
View MacBook1/Users/macUsr/.ssh/config
# This is the ssh client config file for a specific user. See
# "man ssh_config"(5) for more information.
#
#
#
# Lines begin with the "#" symbol are comments/notes
#
#
# DEFAULT
# Authentication:
@atErik
atErik / sshd.conf
Last active Mar 22, 2018
A comparatively stronger & safer & secured sshd_config for SSH Server
View sshd.conf
# Created by atErik, tErik.
# Copyright 2011-2015 atErik.
# a4t4erik AT out4look dot co4m, a4t4erik0 AT 4gmail dot co4m
# (Remove all prev & above "4").
# Released under GPL (GNU Public License).
#
#
# 1st created & used on 2011.
# Improved and changed, when necessary.
# 1st released to public under GPL on March 6th, 2015.
@atErik
atErik / gpg.conf
Created Mar 5, 2015
A comparatively stronger & safer & secured gpg.conf
View gpg.conf
# Created by atErik / tErik.
# Copyright 2011-2015, atErik.
# a4t4erik AT out4look dot co4m, t4erik AT sfk4 dot co4
# (Remove "4" from above, for address).
# Released under GPL (GNU Public License).
#
#
# First modified original gpg.conf on 2011.
# Then continued to tranfer modifications on top of other new versions.
# Changed & improved options, when it was necessary.
@atErik
atErik / ReadMe_HowTo_UseExtrnlStorgWithThundrbrdGpgForEmail.txt
Created Feb 20, 2015
How To Use External/Portable Storage Based Thunderbird & GPG, For GPG Encrypted And/Or Signed Email Communication
View ReadMe_HowTo_UseExtrnlStorgWithThundrbrdGpgForEmail.txt
How To Use External+Portable Storage Based Standalone/Portable Thunderbird &
GPG, For (GPG Encrypted And/Or GPG Signed) Email Communication in Windows:
External Storage can be: USB-drives, (Flash) Memory Sticks/Cards/Media, etc,
OR, any Sub-Folder/Sub-Directory inside your own
computer.
|--------|---------|---------|---------|---------|---------|---------|---------|
0 10 20 30 40 50 60 70 80
@atErik
atErik / firewall-iptables-script.sh
Last active Mar 1, 2018
A "iptables" secure/safer firewall rules creator, bash shell script. See description inside script file.
View firewall-iptables-script.sh
#!/bin/bash
# Codes are still not completed, wait for this line to go away.
#
# An "iptables" secure/safer firewall rules creator, shell script.
# For server host/base, with multiple guest OS VMs & Containers.
#
# If you need to Add/Change/Update/Modify firewall rules,
# THEN ALWAYS CHANGE FIREWALL RULES HERE, FIRST,
# Then this shell script will create a firewall ruleset for your
# computer which you approved here & need.
@atErik
atErik / closepm.pl
Created Nov 29, 2014
Close IRC PM Dialog/Window By Sender's Name
View closepm.pl
# Description : Close a IRC PM Dialog Window By Using Sender's Name.
# A Perl script, to use with XChat based IRC client software.
#
# Original Script Author : culb ( nightfrog )
# First version developed on : 2014-04-29, around 23:18 UTC-08:00.
# Modified by : tErik.
# Last Modified on : 2014-07-28, around 23:35 UTC-08:00
#
# Usage:
# For example, an annoying irc-bot "gribble" is repeatedly sending you
@atErik
atErik / close_specific_02.pl
Last active Aug 29, 2015
Close IRC PM Dialog/Window By Name, perl script 02 - originally developped by culb (nightfrog)
View close_specific_02.pl
#Author culb ( nightfrog )
#Description:
#Close a PM dialog by name
#
#Version: 1
# This paragraph (with 4 lines) of comments are added here by tErik.
# These codes were shared by user nightfrog, on Apr 29, 2014 around 23:45
# UTC-08:00, in #xchat irc channel at irc.freenode.net, with user tErik.
# Actually it is now version 1.01