Skip to content

Instantly share code, notes, and snippets.

@TheZoc
TheZoc / Setting up guide for ArchLinux on Raspberry Pi.md
Last active February 16, 2025 00:45
This is a guide to setup Arch Linux in Raspberry Pi 4, using macOS as the auxiliary system.

Raspberry Pi Setup Guide

This guide will use either a macOS or an ArchLinux base system, to prepare a microSD card with Arch Linux for Raspberry Pi.

If someone managed to do the initial setup using Windows, please let me know, so I can add to this guide.

This guide will be verbose at times for some simple tasks. This is intended to help people just starting out, so it's not confusing. If something confuses you, let me know and I'll try my best to answer it.

@sub-mod
sub-mod / Entitled_builds.md
Last active June 26, 2023 12:42
Entitled Builds on non-RHEL hosts
@rajathithan
rajathithan / router-down.py
Last active October 12, 2022 23:41
Router down
# Author - Rajathithan Rajasekar
import base64
import json
from datetime import datetime
from google.cloud import storage
import requests
def process_log_entry(data, context):
data_buffer = base64.b64decode(data["data"])
@sampathsris
sampathsris / passport-ntlm-ad.js
Created August 16, 2018 04:12
Windows integrated authentication with Passport.js in pure JavaScript (without using IISNode or mod_auth_sspi).
const express = require('express');
const session = require('express-session');
const passport = require('passport');
const ntlm = require('express-ntlm');
const ActiveDirectory = require('activedirectory');
const CustomStrategy = require('passport-custom');
const PORT = process.env.PORT || 8080;
const adconfig = {