Skip to content

Instantly share code, notes, and snippets.

View aamaanaa's full-sized avatar
๐Ÿ’ป
๐š†๐šŠ๐š๐šŒ๐š‘๐š’๐š—๐š ๐šŠ๐š—๐š’๐š–๐šŽ

NotAqua aamaanaa

๐Ÿ’ป
๐š†๐šŠ๐š๐šŒ๐š‘๐š’๐š—๐š ๐šŠ๐š—๐š’๐š–๐šŽ
View GitHub Profile
# [Sid Meierโ€™s Civilizationยฎ VI]
# FiraxisBugReporter.exe
# 52.216.233.181, 52.216.166.5, 52.216.165.21
#0.0.0.0 s3.amazonaws.com # required for other stuff as well (websites and software)
# LaunchPad.exe
# Block: 180.213.167.255, 54.209.151.59, 52.72.178.179
0.0.0.0 2klauncher.2kcoretech.online # Graphics/advertising
0.0.0.0 cdn.2kgames.com # Graphics again/advertising
0.0.0.0 d19mxcar6gop8d.cloudfront.net
0.0.0.0 telemetry.api.2kcoretech.online
@aamaanaa
aamaanaa / NOTES.md
Last active July 25, 2025 07:26
Fedora notes

Fedora notes

These are my personal notes. It does not mean it is for you. I will update this from time to time.

Installing spotify

Install spotify:

sudo dnf install lpf-spotify-client -y

Add our user to pkg build group:

@aamaanaa
aamaanaa / gomutex.md
Last active January 30, 2025 11:02
Golang Linux & Mac Mutex | Lock file | Only allow one instance of your go app on unix based systems (mac os, Linux)
package utils

import (
    "errors"
    "golang.org/x/sys/unix"
    "os"
)

const lockFile = "/tmp/.test.lock"
@aamaanaa
aamaanaa / gist:20a55dcf98b094583196c662b03f7bbe
Created October 27, 2022 12:03
Linux write access to /var/www/html/project
You will need to add you user to the 'apache' group first. Log out afhter you have done that.
$ sudo mkdir /var/www/html/project
$ sudo chown -R $USER:apache /var/www/html/project
$ sudo chmod -R 775 /var/www/html/project