Skip to content

Instantly share code, notes, and snippets.

@aquila0101
aquila0101 / LPIC-101 400-1
Created September 2, 2024 19:58 — forked from ntwobike/LPIC-101 400-1
Sample questions for LPIC -101-400 part-1
QUESTION 1
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
A. /etc/keys
B. /proc/keys
C. /etc/inittab
D. /proc/inittab
E. /etc/reboot
QUESTION 2
Which of the following information is stored within the BIOS? (Choose TWO correct answers.)
@aquila0101
aquila0101 / factorio_headless_aws_guide.md
Created August 4, 2024 01:13 — forked from Igneous01/factorio_headless_aws_guide.md
How to setup a Factorio Headless Server

[LINUX] Factorio Headless Server Guide for AWS EC2

So, with credit to the Factorio wiki and cbednarski's helpful gist, I have been able to successfully setup a Factorio headless server on AWS EC2 using the Amazon Linux 2 AMI (HVM), SSD Volume Type AMI.

This guide was done using the Amazon Linux 2 AMI image for EC2, and Factorio 1.19.0. However it is possible for this guide to also work on other linux AMI images.

Prerequisites

  • AWS Account
  • Licensed copy of factorio
  • That's it!
@aquila0101
aquila0101 / snowstats.sh
Created July 19, 2024 20:28 — forked from Atrate/snowstats.sh
Quick script to get the statistics of traffic on Tor Project's Snowflake proxy instance running locally on docker
#!/bin/bash --posix
docker logs snowflake-proxy 2>&1 | grep --color=auto 'Traffic Relayed' | awk '
{
# Extract the download and upload values
down[1] = $14
down[2] = $15
gsub(/[^a-zA-Z]/, "", down[2])
up[1] = $17
up[2] = $18