Skip to content

Instantly share code, notes, and snippets.

🔥
Makin'

Jerakin

🔥
Makin'
Block or report user

Report or block Jerakin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Jerakin
Jerakin / Pokemon5E_Resources.MD
Last active Oct 30, 2019
Resource list for Pokemon5e
View Pokemon5E_Resources.MD

Description: Huge resource for rollable wild pokemon tables if you guys want, its region type specific.
Link: https://docs.google.com/spreadsheets/d/1FkLHvQpa0BKDYcjkB7jcJZmfcQojzchvsE26h3B85V8/edit?usp=sharing
Author: tkdrubberbandman#8426

Description: A collection of realistically drawn Pokemon by arvalis
Link: https://www.deviantart.com/arvalis/gallery/39915677/Realistic-Pokemon
Author: arvalis

Description: Creating your own maps using a tile set.
Link: https://imgur.com/a/7ugTa and https://www.mapeditor.org/

@Jerakin
Jerakin / Emulate_Scrolling_Middle_Button.ahk
Created Oct 9, 2019
Enables you to use any key with cursor movement to emulate a scrolling middle button. Written for Trackball mice.
View Emulate_Scrolling_Middle_Button.ahk
;;
;; Emulate_Scrolling_Middle_Button.ahk
;; Author: Erik Elmore <erik@ironsavior.net>
;; Version: 1.1 (Aug 16, 2005)
;;
;; Enables you to use any key with cursor movement
;; to emulate a scrolling middle button. While
;; the TriggerKey is held down, you may move the
;; mouse cursor up and down to send scroll wheel
;; events. If the cursor does not move by the
@Jerakin
Jerakin / Makefile
Created Sep 23, 2019
Example python Makefile
View Makefile
clean:
rm -rf *.egg-info
rm -rf dist
build:
python setup.py bdist_wheel
install:
pip install ./dist/getbob-$(shell cat "./getbob/__init__.py" | grep -Eo -m 1 "[0-9\.ab]{5,}")-py3-none-any.whl
View gameanalytics.com | Python script for creating CSV files with data grouped by the event category.
#!/usr/bin/python
from __future__ import print_function
import os.path
import csv
import json
import sys
import gzip
import ntpath
_json_loads = None
View collect_images.py
import json
import time
import requests
import shutil
import re
p = r".\pokemon_order.json"
dirty_reg = re.compile("filehistory-selected[^\"]*.*?(cdn\.bulbagarden\.net/upload[^\"]*)")
View resize_atlas.py
# builtin imports
import argparse
from pathlib import Path
from math import ceil
# 3d Party imports
import deftree
from PIL import Image
View CitiesName.py
import random
base = ["Alumel","Pewter","Billon","Muntz","Tumbago","Elinvar","Terne","Nisil", "Sterling"]
sufix = ["ad", "ton", "field", "borough", "pool", "ham", "ford", "ness" "sby", "caster", "stead", "rine", "dra", "wich",
"side", "ster", "wick", "mouth", "gill", "ith", "cliff", "wall", "mere", "city", "town"]
for i in range(100):
a = random.randint(0, len(base)-1)
b = random.randint(0, len(sufix)-1)
@Jerakin
Jerakin / url.lua
Created Jan 10, 2019
Allows you to store urls centrally
View url.lua
-- Setting
-- url.set("MAIN", msg.url("."))
--
-- Shorthand set
-- url.MAIN = msg.url(".")
--
--
-- Getting
-- url.get("MAIN")
--
View defold_version.json
{
"versions": [
{
"sha1": "e07f3bb9e8c970eceda8dce8efd5905fd67fa720",
"version": "1.2.162"
},
{
"sha1": "45635ad26f85009c52905724e242cc92dd252146",
"version": "1.2.161"
},
@Jerakin
Jerakin / lfsextend.lua
Last active Feb 9, 2019
Extending the lfs scope with some handy functions
View lfsextend.lua
-- Copied and adapted from
-- https://github.com/ToxicFrog/luautil/blob/master/lfs.lua
local windows = package.config:sub(1,1) == "\\"
local other_sep
local sep
local dirsep
You can’t perform that action at this time.