Skip to content

Instantly share code, notes, and snippets.

View atErik's full-sized avatar

atErik

View GitHub Profile
@atErik
atErik / HexChat-USB.cmd
Last active August 29, 2015 14:10
Windows Batch Script, For Portable HexChat With Portable Perl Support
@echo off
@rem | | | | | | | |
@rem A windows batch/cmd script to run HexChat from USB/Portable drive, with
@rem portable perl support. HexChat is IRC Client/communication software.
@rem This script also allows to run a second HexChat in same computer,
@rem without conflicting with system/default/full installed/other HexChat.
@rem HexChat is based on XChat software.
@rem |
@rem When installing HexChat, you must select "Portable" option, if you want
@rem to run HexChat from a USB drive or from your own choice of sub-folder,
@atErik
atErik / close_specific.pl
Created November 29, 2014 08:02
Close IRC PM Dialog/Window By Name - originally developped by culb (nightfrog)
#Author culb ( nightfrog )
#Description:
#Close a PM dialog by name
#
#Version: 1
# This paragraph of comment is added here by tErik.
# These codes were shared by user nightfrog, on Apr 29, 2014 around 23:18
# UTC-08:00, in #xchat irc channel at irc.freenode.net, with user tErik.
# This script was created because, because tErik has requested in #xchat irc
@atErik
atErik / close_specific_02.pl
Last active August 29, 2015 14:10
Close IRC PM Dialog/Window By Name, perl script 02 - originally developped by culb (nightfrog)
#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
@atErik
atErik / closepm.pl
Created November 29, 2014 08:59
Close IRC PM Dialog/Window By Sender's Name
# 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 / firewall-iptables-script.sh
Last active March 1, 2018 10:35
A "iptables" secure/safer firewall rules creator, bash shell script. See description inside script file.
#!/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 / ReadMe_HowTo_UseExtrnlStorgWithThundrbrdGpgForEmail.txt
Created February 20, 2015 12:21
How To Use External/Portable Storage Based Thunderbird & GPG, For GPG Encrypted And/Or Signed Email Communication
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 / gpg.conf
Created March 5, 2015 19:16
A comparatively stronger & safer & secured 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 / sshd.conf
Last active March 22, 2018 11:16
A comparatively stronger & safer & secured sshd_config for SSH Server
# 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 / MacBook1/Users/macUsr/.ssh/config
Last active April 9, 2022 23:29
macOS MacBook computer 1 : below is the ~/.ssh/config file from an admin type user "macUsr"
# 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 / Server3-D10/etc/ssh/sshd_config
Created August 16, 2019 04:53
Server3-Debian10 / etc / ssh / sshd_config : SSH server's configuration file 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