Skip to content

Instantly share code, notes, and snippets.

View dw5's full-sized avatar
:atom:
Hardly Working

dw5

:atom:
Hardly Working
View GitHub Profile
@dw5
dw5 / private_fork.md
Created August 7, 2023 17:12 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

1 sudo apt update && sudo apt dist-upgrade
2 git clone
3 sudo apt install git
4 sudo apt install neofetch screenfetch
7 git clone https://github.com/keybase/client
8 cd client/packaging/linux
9 ls
10 bash build_binaries.sh
11 KEYBASE_BUILD_ARM_ONLY=1
12 bash build_binaries.sh
@dw5
dw5 / GeoIP Block NGINX Ubuntu 20.04.md
Created January 29, 2023 15:14 — forked from dunderrrrrr/GeoIP Block NGINX Ubuntu 20.04.md
Allow or block GeoIP in Nginx on Ubuntu 20.04

GeoIP Block NGINX Ubuntu 20.04

Block or filter IPs based on location in Nginx (tested on 1.18.0) on Ubuntu 20.04.

Install Nginx modules

To make use of the geographical filtering, we must first install the Nginx GeoIP module as well as the GeoIP database containing the mappings between visitors’ IP addresses and their respective countries. To do so, let’s execute:

$ sudo apt install libnginx-mod-http-geoip geoip-database
@dw5
dw5 / db-os.txt
Last active November 10, 2023 15:15
windows
linux
macos / darwin
haikuos / beos
riscos / custom
Atlas-OS / winnt
ReviOS / winnt
reactos / winnt foss
Redox (https://redox-os.org/) / rust, unix like - custom
serenityos / unix like - custom
# NGiNX reverse proxy configuration for Jellyfin
#
# Use this configuration on NGiNX running on the same server as your Jellyfin instance. Replace the values as needed.
# LetsEncrypt is enabled and configured using `certbot`: install it via apt on Debian (`sudo apt install certbot`) or
# your package manager of choice. To start, make only the first section (port 80) active, then once that configuration
# is active, run Certbot for the first time to request your cert. Then, add the second section (port 443) and reload.
# With this config left in place, Certbot's automatic renewal will work and automatically replace the cert and
# reload NGiNX as needed, without interrupting your Jellyfin instance.
#
# Certbot request command:
@dw5
dw5 / phpdangerousfuncs.md
Created August 17, 2021 20:39 — forked from mccabe615/phpdangerousfuncs.md
Dangerous PHP Functions

Command Execution

exec           - Returns last line of commands output
passthru       - Passes commands output directly to the browser
system         - Passes commands output directly to the browser and returns last line
shell_exec     - Returns commands output
\`\` (backticks) - Same as shell_exec()
popen          - Opens read or write pipe to process of a command
proc_open      - Similar to popen() but greater degree of control
pcntl_exec - Executes a program
@dw5
dw5 / disposable-email-provider-domains
Created August 14, 2021 13:21
List of disposable email provider domains
0815.ru
0wnd.net
0wnd.org
10minutemail.co.za
10minutemail.com
123-m.com
1fsdfdsfsdf.tk
1pad.de
20minutemail.com
21cn.com
<table class="table table-remaining">
<tbody><tr>
<td>Iš viso mokėti:</td>
<td align="right"><div class="remaining_text"><span class="remaining">15.71 €</span></div><button onclick="window.location=&quot;/mokejimai/&quot;;" class="btn btn-mezon">Peržiūrėti/Mokėti</button></td>
</tr>
</tbody></table>
@dw5
dw5 / stslte-notes.md
Created May 12, 2021 19:33 — forked from JamesHagerman/stslte-notes.md
My notes about running srsLTE

srsLTE notes

These are notes I've taken while rying to get srslte up and running. This is messy, sorry...

Working solution - LimeSDR + SoapySDR + srsLTE

Dependencies:

sudo apt install tree vim git g++ make cmake pkg-config libpython-dev python-numpy swig libi2c-dev libusb-1.0-0-dev libfftw3-dev libmbedtls-dev libboost-program-options-dev libconfig++-dev libsctp-dev gnuradio
@dw5
dw5 / Google Translate Core files
Last active April 22, 2021 11:50 — forked from pi0/Core files
Google translate Offline Language Files
https://dl.google.com/translate/offline/v3/r1/c.zip
https://dl.google.com/translate/offline/v3/r1/profiles.txt