Skip to content

Instantly share code, notes, and snippets.

View slashtechno's full-sized avatar
🚀
Floating through space 🌌 🌎

Angad Behl slashtechno

🚀
Floating through space 🌌 🌎
View GitHub Profile
@wbhouston
wbhouston / git.md
Last active May 17, 2025 23:54 — forked from zefhemel/git.md

#meta

git = {}
gitConfig = config.get("git", {})
git.autoSync = gitConfig.autoSync or false
git.autoCommitMinutes = gitConfig.autoCommitMinutes or 5
git.autoSyncDelay = gitConfig.autoSyncDelay or 60
git.skipInitialSync = gitConfig.skipInitialSync or false

g.co, Google's official URL shortcut (update: or Google Workspace's domain verification, see bottom), is compromised. People are actively having their Google accounts stolen.

Someone just tried the most sophisticated phishing attack I've ever seen. I almost fell for it. My mind is a little blown.

  1. Someone named "Chloe" called me from 650-203-0000 with Caller ID saying "Google". She sounded like a real engineer, the connection was super clear, and she had an American accent. Screenshot.

  2. They said that they were from Google Workspace and someone had recently gained access to my account, which they had blocked. They asked me if I had recently logged in from Frankfurt, Germany and I said no.

  3. I asked if they can confirm this is Google calling by emailing me from a Google email and they said sure and sent me this email and told me to look for a case number in it, which I saw in

@Syderitic
Syderitic / Secure_Encrypted_Storage_Setup.md
Last active December 2, 2025 15:00
Secure Encrypted Storage Setup with LUKS2, TPM2, FIDO2, and Btrfs

Secure Encrypted Storage Setup with LUKS2, TPM2, FIDO2, and Btrfs

Disclaimer: Use this guide at your own discretion. The author is not responsible for any data loss or security breaches that may occur. Always ensure you understand each step and its implications before proceeding.

This guide walks you through setting up a secure external drive, perfect for backing up sensitive data, securely handing over large data sets, or storing important files. It covers creating an encrypted drive that’s easy to unlock with trusted devices, such as a security key, while remaining highly secure if misplaced. Ideal for safeguarding personal data or business files, it offers practical recovery steps to ensure access even if you change devices.

By following this guide, you will have established a secure and user-friendly encrypted storage solution that leverages:

  • LUKS2 Encryption: Provides robust disk encryption.
  • TPM2 Integration: Enables automatic unlocking on trusted hardware.
  • FIDO2 Tokens: Offers flexible acc
@mecaneer23
mecaneer23 / get-url.sh
Created June 19, 2024 20:34
Run in a git directory to print the most recent github commit link for that directory
get-recent-commit-url() {
echo "$(git remote get-url origin)/commit/$(git log -n 1 | grep commit | awk '{print $2}')"
}
get-recent-commit-url
@onespaceman
onespaceman / STYLES.css
Last active August 19, 2025 10:35
silverbullet theme
html {
--crust: #dce0e8;
--mantle: #e6e9ef;
--base: #eff1f5;
--surface0: #ccd0da;
--surface1: #bcc0cc;
--surface2: #acb0be;
--overlay0: #9ca0b0;
--overlay1: #8c8fa1;
--overlay2: #7c7f93;
@maxwofford
maxwofford / xoxc.js
Created January 10, 2024 16:38
Pull the XOXC token from Slack
// open slack in the browser and paste this into your console for the XOXC token
localConfig = JSON.parse(localStorage.getItem('localConfig_v2'))
localConfig.teams[localConfig.lastActiveTeamId].token
@irazasyed
irazasyed / outbound-email-with-cloudflare.md
Last active November 19, 2025 18:28
Using Gmail SMTP with Cloudflare Email Routing: A Step-by-Step Guide

Using Gmail SMTP with Cloudflare Email Routing: Step-by-Step Guide

Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.

Step 1: Enable 2-Factor Authentication

To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.

Step 2: Create an App Password for Mail

@thegamecracks
thegamecracks / README.md
Last active May 8, 2024 01:20
Using python -m to invoke modules as scripts

Using python -m to invoke modules as scripts

Note

Hey there! This gist has been rewritten in my GitHub blog. You should read that instead!

Prologue

You might have seen the -m flag used in various python commands online,

@alx-alexpark
alx-alexpark / canvas-discussion-css-exploit.md
Last active August 20, 2024 04:33
A low severity exploit in Canvas by Instructure

Funny CSS Exploit in Canvas

Notice: You can share this, however be cautious because it might be patched

⚠️Having this exploit something that few people know about reduces all our chances of getting in trouble⚠️

Vendor: Instructure
Product: Canvas
Versions affected: Unknown (No version indication on website) (Working as of Feb 6 2023)
Attack type: Remote
Severity: Low
Impact: