Skip to content

Instantly share code, notes, and snippets.

View mrevjd's full-sized avatar
🏠
Working from home

Evan Davies mrevjd

🏠
Working from home
View GitHub Profile
@ipenywis
ipenywis / cursor-memory-bank-rules.md
Last active March 18, 2026 16:56
Cursor Memory Bank

Cursor's Memory Bank

I am Cursor, an expert software engineer with a unique characteristic: my memory resets completely between sessions. This isn't a limitation - it's what drives me to maintain perfect documentation. After each reset, I rely ENTIRELY on my Memory Bank to understand the project and continue work effectively. I MUST read ALL memory bank files at the start of EVERY task - this is not optional.

Memory Bank Structure

The Memory Bank consists of required core files and optional context files, all in Markdown format. Files build upon each other in a clear hierarchy:

flowchart TD
Draziw.Button.Mines
ag.video_solutions.wedotv
ahf.dummynation
ai.socialapps.speakmaster
air.com.beachbumgammon
air.com.freshplanet.games.SongPop2
air.com.gamesys.mobile.slots.jpj
air.com.goodgamestudios.empirefourkingdoms
air.com.kitchenscramble.goo
air.com.lalaplay.rummy45
export const getThumbnail = (id, size = 300) =>
`https://drive.google.com/thumbnail?id=${id}&sz=${size}`;
export const getIcon = (mimeType) =>
`https://drive-thirdparty.googleusercontent.com/256/type/${mimeType}`;
export const getFile = (id) => `https://drive.google.com/uc?id=${id}`;
const downloadFile = (id) =>
@mrevjd
mrevjd / gtk.css
Created September 19, 2021 01:31 — forked from imitablerabbit/gtk.css
Gnome terminal padding. ~/.config/gtk-3.0/gtk.css
VteTerminal,
TerminalScreen,
vte-terminal {
padding: 10px 10px 10px 10px;
-VteTerminal-inner-border: 10px 10px 10px 10px;
}
@phaseOne
phaseOne / SelfManageCredentialsAndRequireMFA.json
Created April 7, 2021 21:05
AWS IAM Policy to self-manage Credentials and require MFA, but allow the user to change their password on first login
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowViewAccountInfo",
"Effect": "Allow",
"Action": [
"iam:GetAccountPasswordPolicy"
],
"Resource": "*"
@tschoonj
tschoonj / test-aws-bucket-monitoring.py
Last active February 25, 2022 10:14
Monitor AWS S3 buckets for new files from Python with boto3
import boto3
import os
import sys
import string
import random
import logging
import time
import json
import urllib
from threading import Thread
@egrath
egrath / set-cursor.sh
Last active May 8, 2025 21:35
Set the Cursor Theme and Size for GTK, GNOME and Xorg
#!/bin/bash
if [ $# -eq 0 ]; then
echo usage: $(basename $0) icon-name
exit 0
fi
THEME=${1}
SIZE=36
FROM ubuntu
RUN apt-get update
RUN apt-get install nginx -y
COPY index.html /var/www/html/
EXPOSE 80
CMD ["nginx","-g","daemon off;"]
@Anime4000
Anime4000 / readme.md
Last active July 2, 2025 19:36
Linux Mail Server Postfix Dovecot Virtual User, no sql database

Linux Mail Server

In this guide, I will show you how to make a Linux Mail Server in fast and easy way. This guide was taken from tiq's tech-blog for recent version, Linux distro I using is Ubuntu 20.04 LTS

Certificate

Make sure you have Certificate and Key file ready to use.

You can use existing Web Server SSL certificate, since we going to use same domain, example.com.

If you plan to use mx.example.com or mail.example.com you need create another one for these.

@rithvikvibhu
rithvikvibhu / LICENSE
Last active March 11, 2026 09:17
Get tokens for Google Home Foyer API
MIT License
Copyright (c) 2020 Rithvik Vibhu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions: