Skip to content

Instantly share code, notes, and snippets.

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

Astrid IAmJSD

🏠
Working from home
View GitHub Profile
This file has been truncated, but you can view the full file.
From b067cd75e453b1d70f648a0201b0261e36162526 Mon Sep 17 00:00:00 2001
From: Jake Gealer <[email protected]>
Date: Tue, 16 Jun 2020 14:49:55 +0100
Subject: [PATCH] Remove all master/slave terminology from Git
---
Documentation/Makefile | 2 +-
Documentation/MyFirstContribution.txt | 32 +-
Documentation/MyFirstObjectWalk.txt | 4 +-
Documentation/SubmittingPatches | 24 +-

Keybase proof

I hereby claim:

  • I am jakemakesstuff on github.
  • I am jakemakesstuff (https://keybase.io/jakemakesstuff) on keybase.
  • I have a public key ASBVi2gjHaWleF4bVX1bKRl4co23NFL6Bt216Bs5F_6kaAo

To claim this, I am signing this object:

MagicCap 2.0 Changelogs

@MattIPv4 and I worked many hours to get this release out. Make sure to thank Matt for all of the mainly visual changes!

New Functionality

  • Added clipboard capture. This allows you to upload what is in your clipboard.
  • Added the ability to use emojis in filenames.
  • Added new editors to the region selector:
    • Pixelate
  • Rectangle
image: "docker:latest"
services:
- "docker:dind"
stages:
- build
- deploy
variables:
DOCKER_DRIVER: overlay
@IAmJSD
IAmJSD / firestore_secrets.py
Created December 24, 2018 14:51
A Python secrets system using Google Firestore. Removes the need for configs that expose sensitive data or even environment variables.
from google.cloud import firestore
# Imports go here.
db = firestore.Client()
# Defines the Firestore client.
class SecretsManager:
"""Handles secrets from the Firestore DB."""
def __getitem__(self, key):

Keybase proof

I hereby claim:

  • I am jakemakesstuff on github.
  • I am jakemakesstuff (https://keybase.io/jakemakesstuff) on keybase.
  • I have a public key ASAUPDjp4KUH9AvRArvUcjk8tmqrdAEw9_0CCcJbe5Tpiwo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am jakemakesstuff on github.
  • I am jakemakesstuff (https://keybase.io/jakemakesstuff) on keybase.
  • I have a public key ASAUPDjp4KUH9AvRArvUcjk8tmqrdAEw9_0CCcJbe5Tpiwo

To claim this, I am signing this object:

@IAmJSD
IAmJSD / key_bakery_3.0.py
Created October 7, 2018 14:30
The source code for the Rethink version of The Key Bakery. The required environment variables are PASSWORD (If using a Rethink password), TOKEN (for the Discord token), SERVER_ID (the server ID you are using it in) and APPLICATION_CHANNEL_ID (the channel key applications go to). I will not give support for this, I am only open sourcing.
import discord
import os
import logging
import datetime as dt
import random
import asyncio
import re
import rethinkdb as r
# Imports go here.
@IAmJSD
IAmJSD / ramsaybot.py
Created September 11, 2018 17:02
A Gordon Ramsay style bot.
import discord
import random
import logging
import os
# Imports go here.
ramsay_quotes = [
"YOU FUCKING DONKEY!",
"What are you? AN IDIOT SANDWICH.",
"GET OUT!",
@IAmJSD
IAmJSD / pycharm_git_commit_push.ahk
Created July 22, 2018 12:41
Saves a file in PyCharm and commits/pushes to Git
^]::
WinGetActiveTitle, WindowName
If InStr(WindowName, "PyCharm") {
Send, ^s
RegExMatch(WindowName, "[A-Z]:\\(([a-zA-Z0-9\.]){1,}(\\){0,}){1,}", FoundRegex)
if FoundRegex {
FormatTime, PCTimeFormatted
ToRun := "git.exe commit -a -m " . """" . "Save and commit from Jake's AHK script [PC time/date " . PCTimeFormatted . "]" . """"
RunWait, %ToRun%, %FoundRegex%, Hide
Run, git push, %FoundRegex%, Hide