Skip to content

Instantly share code, notes, and snippets.

View jacc's full-sized avatar
☁️

Jack LaFond jacc

☁️
View GitHub Profile
@jacc
jacc / docker-compose.yaml
Last active June 9, 2024 02:38
Latest Plausible configuration for Coolify
services:
plausible:
image: ghcr.io/plausible/community-edition:v2.1.1
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
environment:
- DATABASE_URL=postgres://postgres:$SERVICE_PASSWORD_POSTGRES@plausible_db/plausible
- BASE_URL=$SERVICE_FQDN_PLAUSIBLE_8000
- SECRET_KEY_BASE=$SERVICE_BASE64_64_PLAUSIBLE
- TOTP_VAULT_KEY=$SERVICE_REALBASE64_TOTP
depends_on:
@jacc
jacc / convert.js
Created June 27, 2021 20:29
Function to convert Hypixel network experience to a level in JS/TS
// Code adapted from https://github.com/HypixelDev/PublicAPI/blob/master/Java/src/main/java/net/hypixel/api/util/ILeveling.java
const BASE = 10_000
const GROWTH = 2_500
console.log(BASE + GROWTH)
const REVERSE_PQ_PREFIX = -(BASE - 0.5 * GROWTH) / GROWTH;
const REVERSE_CONST = REVERSE_PQ_PREFIX * REVERSE_PQ_PREFIX;
const GROWTH_DIVIDES_2 = 2 / GROWTH;

Keybase proof

I hereby claim:

  • I am jacc on github.
  • I am lafond (https://keybase.io/lafond) on keybase.
  • I have a public key ASAQAxmEJKiJIvqgNISuQB9JGrRvkVSAkS-3wDSvV5bppgo

To claim this, I am signing this object:

TypeScript 4 hrs 36 mins ████████████████████▉ 99.9%
JavaScript 0 secs ░░░░░░░░░░░░░░░░░░░░░ 0.1%
Porter Robinson █████░░░░░░░░░░░░ 66 plays
Eden ██▉░░░░░░░░░░░░░░ 39 plays
Ian ██▊░░░░░░░░░░░░░░ 37 plays
Origami Angel █▎░░░░░░░░░░░░░░░ 18 plays
ISOxo █▏░░░░░░░░░░░░░░░ 15 plays
Knock2 █▏░░░░░░░░░░░░░░░ 15 plays
[Kyle Davis] ▊░░░░░░░░░░░░░░░░ 10 plays
Dreams We've Had ▋░░░░░░░░░░░░░░░░ 9 plays
Childish Gambino ▌░░░░░░░░░░░░░░░░ 8 plays
Freddie Dredd ▍░░░░░░░░░░░░░░░░ 6 plays
@jacc
jacc / header.png
Last active March 22, 2021 22:26
🗞 List of all my projects!
header.png
@jacc
jacc / projects.md
Last active April 18, 2021 14:36
All my design/development projects!

📰 Here's an ongoing list of everything I've worked on.

iOS jailbreaking based

Developement

  • Sileo - Front-end APT client as a replacement to Cydia. I implemented the export feature of both the source list and the installed tweak list.
  • Sileo Documentation - I wrote some documentation for the Sileo API for users to develop their own repos to share code with end-users.
  • Eveho (Dynastic Repo) - What originally got me recruited to the Sileo team. Eveho allows end users to easily export their sources and tweak lists directly from Sileo without any hassle.
  • Wiivamp (Dynastic Repo) - Allows users to play different types of Wii music inside of their apps. Originally started off as a joke tweak and quickly became downloaded thousands of times.
  • unc0ver dark - De
@jacc
jacc / Hello.png
Last active May 16, 2021 17:30
👋🏻 Hello there! Learn about me here.
Hello.png
@jacc
jacc / post.py
Last active December 27, 2018 19:32
Post to DBL using discord.py instead of using DBLPy
import requests
url = "https://discordbots.org/api/bots/<your bot id>/stats"
payload = {"server_count": str(len(bot.guilds))}
headers = {"Authorization": 'dbl token'}
r = requests.post(url, data=payload, headers=headers)
await print("[+] Guild change detected, posting guild count to DBL")

Keybase proof

I hereby claim:

  • I am jacc on github.
  • I am jacc (https://keybase.io/jacc) on keybase.
  • I have a public key whose fingerprint is F371 E686 D144 0170 9904 D814 D21E 12BC 3A2B 4E9C

To claim this, I am signing this object: