Skip to content

Instantly share code, notes, and snippets.

View atErik's full-sized avatar

atErik

View GitHub Profile
@atErik
atErik / mt7621a.dtsi
Created March 19, 2022 03:49
mt7621a.dtsi - 01
/*
* Device Tree Source for MT7621
*
* Copyright (C) 2018 OpenWrt
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <dt-bindings/interrupt-controller/mips-gic.h>
===================================================================
MT7621 stage1 code Dec 16 2019 17:45:55 (ASIC)
CPU=500000000 HZ BUS=166666666 HZ
==================================================================
Change MPLL source from XTAL to CR...
do MEMPLL setting..
MEMPLL Config : 0x11000000
3PLL mode + External loopback
=== XTAL-40Mhz === DDR-1200Mhz ===
PLL2 FB_DL: 0xe, 1/0 = 769/255 39000000
@atErik
atErik / atErik.css
Last active June 10, 2020 13:55
atErik.css - Apply/override/change default CSS presentation with this CSS file
/* <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 August 16, 2019 08:31
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 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
@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 / 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 / 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 / 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 / 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.