Skip to content

Instantly share code, notes, and snippets.

View blacksmithop's full-sized avatar
😃
Trying things differently

Abhinav blacksmithop

😃
Trying things differently
View GitHub Profile
@blacksmithop
blacksmithop / beautiful.rest.api.docs.in.markdown.md
Created November 30, 2024 16:23 — forked from azagniotov/beautiful.rest.api.docs.in.markdown.md
Example to create beautiful REST API docs in Markdown, inspired by Swagger API docs.

Thought I should post my guide on how to do this, as I've struggled with this for quite some time now. I wanted something to bypass the NAT/router as I did not have the option of port-forwarding. I will also be moving quite some in the upcoming year, so dynamic IP was almost a given. And obviously I wanted it to be cheap. This does it all.

This is free, no port-forwarding required and no static IP required. Wildcard domain and SSL certificate supported. It works with Cloudflare tunnels, Cloudflare DNS, Nginx Proxy Manager and obviously TrueNAS SCALE.

I am not a professional, if you see a flaw in this design, please let me know!

Requirements:

  • Domain name at Cloudflare
@blacksmithop
blacksmithop / grappling_hook.js
Created August 10, 2025 12:51
Deobfuscated Grappling Hook
let playerPosition, player, hookPosition, deltaX = 0, deltaY = 0, deltaZ = 0, timer = 0;
function onPlayerUsedThrowable(playerId, itemId, hookId) {
playerPosition = api.getPosition(playerId);
}
function onPlayerJoin(playerId) {
api.sendMessage(playerId, 'Welcome, this grappling hook code is made by x_Drxth');
}
@blacksmithop
blacksmithop / common.css
Last active November 30, 2025 10:32
Criminds - Common
body {
background: #0f0f14;
color: #e5e7eb;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 14px;
line-height: 1.6;
}
.user-information-container {
background: linear-gradient(180deg, #1a1a24 0%, #16161f 100%);
@blacksmithop
blacksmithop / inventory.css
Last active November 30, 2025 10:32
Criminds - Inventory
.inventory-grid {
display: grid;
gap: 16px;
margin-bottom: 32px;
}
.inventory-header {
font-size: 14px;
font-weight: 600;
color: #9ca3af;

Torn City Merits Checklist

Easy Merits Checklist

  • 1. Domino effect - Defeat a player with the domino honor bar
    An easy target is L3MILK[1999595] Stat Total: 104

  • 2. Pocket money - Make an investment in the bank
    You'll get the merit as soon as you deposit any amount in the bank.