Skip to content

Instantly share code, notes, and snippets.

View RellikJaeger's full-sized avatar
:octocat:
Learning...

Rellik Jaeger RellikJaeger

:octocat:
Learning...
View GitHub Profile
@RellikJaeger
RellikJaeger / fbshield.py
Created July 20, 2019 22:08 — forked from silverwolfceh/fbshield.py
Turn on or off facebook shield (profile picture guard)
import requests
import json
USER_TOKEN = "" #Fill your fb user token (open https://facebook.com/me, ctrl +u and copy access token
SHIELD_ENABLE = "true" #Change to false if turn off shield
def get_userid(token):
url = "https://graph.facebook.com/me?access_token=%s" % token
@RellikJaeger
RellikJaeger / IDM Cleaner.bat
Last active August 31, 2021 04:22 — forked from CHEF-KOCH/IDM Cleaner.bat
Internet Download Manager fake serial leftovers remover
IDM Cleaner.bat
:: IDM Registry Cleaner
:: Completely cleans registry of all IDM fake serial leftovers
@ECHO OFF
TITLE IDM Registry Cleaner
COLOR 0E
ECHO :: IDM Registry Cleaner
ECHO :: Compeletely cleans registry of all IDM fake serial leftovers
ECHO.
@RellikJaeger
RellikJaeger / README.md
Created May 27, 2020 10:00 — forked from CodingDoug/README.md
Patterns for security with Firebase Authentication: offload work to Cloud Functions

This is the runnable sample code from the blog post [Patterns for security with Firebase Authentication: offload work to Cloud Functions][1]. It discusses offloading work from a client app to Cloud Functions using an authentication trigger.

  1. Create a new Firebase project
  2. Enable email/password authentication
  3. Provision Cloud Firestore and apply the rules given in this gist
  4. Use the Firebase CLI to create a workspace for Functions using TypeScript
  5. Deploy the given HTML and JavaScript to Firebase Hosting (the CLI emulator will also work).
  6. Deploy the function code to Cloud Functions using the Firebase CLI
@RellikJaeger
RellikJaeger / git-overwrite-branch.sh
Created July 25, 2020 21:42 — forked from ummahusla/git-overwrite-branch.sh
Git overwrite branch with another branch
# overwrite master with contents of feature branch (feature > master)
git checkout feature # source name
git merge -s ours master # target name
git checkout master # target name
git merge feature # source name
@RellikJaeger
RellikJaeger / Random-Game-Ideas.txt
Created August 18, 2020 01:12 — forked from tommyettinger/Random-Game-Ideas.txt
Randomly generated indie game ideas
This random game idea generator was a collaboration between David O'Toole (dto)
and myself (Tommy Ettinger). The generator is a Clojure program that is available
to fork and tweak at http://ideone.com/0MG8ED .
@RellikJaeger
RellikJaeger / Add Open with Sublime Text 3 to Context Menu.bat
Last active October 14, 2021 21:48 — forked from jackielii/OpenWithSublimeText3.bat
Add "Open with Sublime Text 3" to Windows Explorer Context Menu (including folder and current directory)
@echo off
set path=%ProgramFiles%\Sublime Text 3\sublime_text.exe
:: File
reg add "HKCR\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
reg add "HKCR\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%path%,0" /f
reg add "HKCR\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%path% \"%%1\"" /f
:: Folder
reg add "HKCR\Folder\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
@RellikJaeger
RellikJaeger / LICENSE.md
Created October 13, 2020 06:02 — forked from mrchief/LICENSE.md
Add "Open with Sublime Text 2" to Windows Explorer Context Menu (including folders)

MIT License

Copyright (c) [year] [fullname]

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:

@RellikJaeger
RellikJaeger / Remove Open with Sublime Text from Context Menu.bat
Last active March 13, 2024 17:38
Remove "Open with Sublime Text" from Windows Explorer Context Menu (Please run as administrator)
@echo off
rem delete it for all file types
reg delete "HKCR\*\shell\Sublime" /f
reg delete "HKCR\*\shell\Open with Sublime Text" /f
reg delete "HKCR\*\shell\Open with Sublime Text 2" /f
reg delete "HKCR\*\shell\Open with Sublime Text 3" /f
rem delete it for folders
reg delete "HKCR\Folder\shell\Sublime" /f
@RellikJaeger
RellikJaeger / gist:ad7bff64b35a63a7c88d7c144eaee6eb
Created October 21, 2020 21:53 — forked from y-gagar1n/gist:8469484
DateTime format patterns
DateTime.ToString() Patterns
All the patterns:
0 MM/dd/yyyy 08/22/2006
1 dddd, dd MMMM yyyy Tuesday, 22 August 2006
2 dddd, dd MMMM yyyy HH:mm Tuesday, 22 August 2006 06:30
3 dddd, dd MMMM yyyy hh:mm tt Tuesday, 22 August 2006 06:30 AM
4 dddd, dd MMMM yyyy H:mm Tuesday, 22 August 2006 6:30
5 dddd, dd MMMM yyyy h:mm tt Tuesday, 22 August 2006 6:30 AM
@echo off
title System Path Reset by Rellik Jaeger.
echo WARNING: This script will reset your system paths to default minimal system paths!
echo Your currently installed or assigned additional paths will be lost!
echo Open cmd and type "echo %%path%%" without quotes to check your current
echo system variable paths before running this script.
echo Copy the cmd output results to a txt file for backup purpose.
echo Use at your own risk!!!
echo.
echo Press Ctrl + C to stop.