Skip to content

Instantly share code, notes, and snippets.

View nerdalertdk's full-sized avatar

nerdalertdk nerdalertdk

View GitHub Profile
@nerdalertdk
nerdalertdk / jessie_to_buster.sh
Created March 20, 2025 11:53 — forked from apazga/jessie_to_buster.sh
Debian Jessie to Buster (Raspberry)
# Do not run as a script
# Commands should be run manually step by step
# Check current version
lsb_release -a
# Look for partially installed packages
sudo dpkg --audit
# Check for hold packages (should be empty)
@dev01d
dev01d / .env
Last active March 4, 2023 14:20
System-wide Traefik Reverse Proxy
EMAIL=
DOMAIN0=
DOMAIN1=
API_EMAIL=
API_TOKEN=
@GabLeRoux
GabLeRoux / .env.example
Last active February 12, 2024 15:40 — forked from HeshamMeneisi/docker-compose
Mount S3 as Docker Volume (docker-compose)
AWS_S3_BUCKET=
AWS_S3_ACCESS_KEY_ID=
AWS_S3_SECRET_ACCESS_KEY=
@jbaranski
jbaranski / Img2MBTilesWithGDAL.md
Created August 1, 2020 14:52
Convert an image (like JPG or TIF) to MBTiles using GDAL

Here are the steps needed to convert an image (like JPG or TIF) to MBTiles using GDAL:

  1. Download and install GDAL (https://gdal.org/, https://anaconda.org/conda-forge/gdal):

       conda install -c conda-forge gdal
    

    Installing GDAL is kind of a pain in the ass, especially on Windows. I'm assuming you'll be able to work out whatever issues you run into here.

  2. Download example jpg and tif map images we can work with:

@symisc
symisc / auto_blur_faces.php
Last active August 21, 2024 17:48
Apply a blur filter automatically for each detected face using the PixLab Rest API (PHP Sample)
<?php
/*
* PixLab PHP Client which is just a single class PHP file without any dependency that you can get from Github
* https://github.com/symisc/pixlab-php
*/
require_once "pixlab.php";
# Detect all human faces in a given image via `facedetect` and blur all of them via `mogrify`.
# https://pixlab.io/cmd?id=facedetect & https://pixlab.io/cmd?id=mogrify for additional information.
@akhil-reni
akhil-reni / README.md
Created May 31, 2020 14:10
Recon using spyse

Search ASN number using organization name

curl -X GET "https://api.spyse.com/v2/data/as/search?limit=100&search_params=%7B%22as_org%22%3A%5B%7B%22operator%22%3A%22contains%22%2C%22value%22%3A%22Oath%20Holdings%20Inc.%22%7D%5D%7D" -H "accept: application/json" -H "Authorization: Bearer token"

Fetch domains using ASN

curl -X GET "https://api.spyse.com/v2/data/as/domain?limit=100&amp;asn=10310" -H "accept: application/json" -H "Authorization: Bearer token"
@apazga
apazga / jessie_to_buster.sh
Last active March 20, 2025 11:53
Debian Jessie to Buster (Raspberry)
# Do not run as a script
# Commands should be run manually step by step
# Check current version
lsb_release -a
# Look for partially installed packages
sudo dpkg --audit
# Check for hold packages (should be empty)
@abaxo
abaxo / install-config.yaml
Created April 12, 2020 19:32
Config example for OKD 4.4
apiVersion: v1
baseDomain: example.com
compute:
- architecture: amd64
hyperthreading: Enabled
name: worker
platform: {}
replicas: 2
controlPlane:
architecture: amd64
# Apply the metallb manifests to Kubernetes
kubectl apply -f https://raw.githubusercontent.com/google/metallb/v0.8.1/manifests/metallb.yaml
# Apply a metallb configuration to Kubernetes
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: ConfigMap
metadata:
namespace: metallb-system
name: config
@ageis
ageis / .bashrc 02-25-2020
Last active May 10, 2024 02:34
@ageis's ~/.bashrc 🖥️ with numerous useful functions, aliases and one-liners. ⚠️ NOTE: many paths in sourced scripts and environment variables are specific to my system, but if you dig in I hope you'll find something you can use!
#!/bin/bash
# ~/.bashrc: executed by bash(1) for non-login shells.
# kevin gallagher (@ageis) <[email protected]>
# normally I divide this into separate files: .bashrc, .bash_profile, .bash_aliases and .bash_functions (also .bash_logout), but it's all concatenated here.
ulimit -s unlimited
export MYUID=$(id -u)
export USER="$(id -un)"
if [[ "$TILIX_ID" ]] || [[ "$VTE_VERSION" ]]; then