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 / 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
@RellikJaeger
RellikJaeger / ffmpeg-compress-mp4
Created December 21, 2020 21:38 — forked from lukehedger/ffmpeg-compress-mp4
Compress mp4 using FFMPEG
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4
@RellikJaeger
RellikJaeger / gist:76c368c578522b5723e3336025e996bd
Created December 25, 2020 18:52 — forked from Flet/gist:5447732
Sublime Text: Eclipse Shortcuts keymap
[
{ "keys": ["f12"], "command": "htmlprettify"},
{ "keys": ["f1"], "command": "fold" },
{ "keys": ["f2"], "command": "unfold" },
{ "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
{ "keys": ["ctrl+space"], "command": "auto_complete" },
{ "keys": ["ctrl+space"], "command": "replace_completion_with_auto_complete", "context":
[
{ "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },