Skip to content

Instantly share code, notes, and snippets.

View manutheblacker's full-sized avatar
🎯
Focusing

Emmanuel A. manutheblacker

🎯
Focusing
View GitHub Profile
@manutheblacker
manutheblacker / error.txt
Created June 18, 2025 12:09
error player_name is not defined
[code]
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/navigate_dinner_room_summer_book_tina_1_mission.rpy", line 24, in script
mc "No! No, no, no! I swear!"
NameError: name 'player_name' is not defined
-- Full Traceback ------------------------------------------------------------
@manutheblacker
manutheblacker / README.md
Created May 27, 2025 17:20 — forked from SoftCreatR/README.md
This is a proof of concept (PoC) for Hetzner's "Heray" Proof of Work (PoW) Captcha. Please note that this is neither functional nor the original code. It simply demonstrates how the system could work based on observed patterns and assumptions.

Proof of Concept for Hetzner's "Heray" PoW Captcha

This is a proof of concept (PoC) for Hetzner's "Heray" Proof of Work (PoW) Captcha. Please note that this is neither functional nor the original code. It simply demonstrates how the system could work based on observed patterns and assumptions.

Overview

Hetzner's "Heray" PoW Captcha likely requires the client to solve a computational puzzle as a form of CAPTCHA, where a specific condition must be met for the challenge to be accepted. The solution involves generating a specific mainbytes value based on given uuid and hsum values.

Process

@manutheblacker
manutheblacker / package.json
Created May 10, 2025 03:01
debug sveltekit node adapter
{
"name": "tiyalo",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"prepare": "svelte-kit sync || echo ''",
@manutheblacker
manutheblacker / README.md
Created April 12, 2025 16:41
How to rollback migrations in Drizzle ?

Use the following command :

npx drizzle-kit drop
@manutheblacker
manutheblacker / import-products.csv
Created January 22, 2025 10:25
Template of WooCommerce to Import
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 7 columns, instead of 1 in line 5.
sku,name,images,price,description,categories,tags
game-case-bag-deluxe,Bag for game console - Deluxe,https://demos.homescriptone.com/doko/wp-content/uploads/sites/2/2024/07/1.1_PoductTile_NintendoSwitchCommuterCaseDeluxeEliteEdition_enNOE.jpg,25.00,Case for game console nintendo switch,Game Consoles Case,Nintendo
game-case-bag-deluxe-ac,Bag for game console - AC Deluxe,https://demos.homescriptone.com/doko/wp-content/uploads/sites/2/2024/07/299324b-3701625900450-mockup.jpg,75.00,Case for game console nintendo switch,Game Consoles Case,Nintendo
game-case-bag-deluxe-ged,Bag for game console - Deluxe - Green Edition,https://demos.homescriptone.com/doko/wp-content/uploads/sites/2/2024/07/ssd.jpg,35.00,Case for game console nintendo switch,Game Consoles Case,Nintendo
game-case-bag-deluxe-as,Bag for game console - Deluxe - AnC,https://demos.homescriptone.com/doko/wp-content/uploads/sites/2/2024/07/pdjdusvuaty3sfbaj5wy.jpg,45.00,Case for game console nintendo switch,Game Consoles Case,Nintendo
game-case-bag-deluxe-pl
@manutheblacker
manutheblacker / table.csv
Last active January 22, 2025 10:09
WooCommerce import CSV TABLE Reference
CSV Column Name Maps to product property Example Notes
ID id 100 Defining this will overwrite data for that ID on import.
Type type simple, variation, virtual Product Type. Valid values: simple, variable, grouped, external, variation, virtual, downloadable. Multiple types can be used, CSV separated.
SKU sku my-sku Required. Auto-generated if missing.
Name name My Product Name Required.
Published status 1 1 for published, 0 for private, -1 for draft.
Is featured? featured 1 1 or 0
Visibility in catalog catalog_visibility visible Supported values: visible, catalog, search, hidden
Short description short_description This is a product.
Description description This is more information about a product.
@manutheblacker
manutheblacker / code.py
Created June 13, 2024 20:41
move a column of data to a specific position in openpyxl
import os
import sys
from openpyxl import Workbook
def main():
wb = Workbook()
ws1 = wb.active
ws1.title = "1st Hour"
ws1['A1'] = 'worry'
@manutheblacker
manutheblacker / code.php
Created April 2, 2024 16:25
WIP : Create a PDF using Postscript and PHP
<?php
// Define the file name
$filename = 'example.pdf';
$pdf_content = '%!PS-Adobe
/Helvetica findfont 12 scalefont setfont
0 0 moveto
@manutheblacker
manutheblacker / package.json
Created March 3, 2024 04:36
How to build a modern Svelte apps using Routify and Django
{
"name": "x456",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
@manutheblacker
manutheblacker / help.md
Created February 7, 2024 09:51
How to prevent spam registration in WooCommerce ?

Make sure to block the REST API endpoints of WooCommerce allowing user creation.