Skip to content

Instantly share code, notes, and snippets.

@Zodiac1978
Zodiac1978 / links.md
Last active June 24, 2025 00:32
Collection of websites/articles about the FAIR project (Federated and Independent Repositories)
@brunofragax
brunofragax / gist:323cb34b7ebda352dcfbc9fef9ea227f
Created June 20, 2025 00:51
instagram_investigator_cli.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Script de OSINT para investigação de perfis do Instagram
Script criado para o Aulão Semanal #086 com foco em Investigação de Contas do Instagram.
Para acompanhar minhas aulas de investigação digital, haking e privacidade, acesse: https://aulao.brunofraga.com/
Autor: Bruno Fraga @brunofragax
Versão: I don't know - script rapido - criado com manus.ai em 15min - porém efetivo)
"""
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class ReassignBoneWeigthsToNewMesh : MonoBehaviour {
public Transform newArmature;
public string rootBoneName = "Hips";
public bool resetPose = false;
public bool PressToReassign;
---
description:
globs:
alwaysApply: false
---
# Frontend Testing Guidelines
## Testing Philosophy and Core Principles
### ✅ DO: Focus on Behavior-Driven Testing
import hashlib as hasher
import datetime as date
# Define what a Snakecoin block is
class Block:
def __init__(self, index, timestamp, data, previous_hash):
self.index = index
self.timestamp = timestamp
self.data = data
self.previous_hash = previous_hash
@valferon
valferon / postgres_manager.py
Created March 29, 2018 02:35
Python script to take care of postgres backup and restore of data
#!/usr/bin/python3
import argparse
import logging
import subprocess
import os
import tempfile
from tempfile import mkstemp
import configparser
import gzip
@mcu8
mcu8 / README.md
Last active June 24, 2025 00:23
Running A Hat in Time Editor on Linux

UPDATE 2025-05-24:

This method sucks, the editor is very unstable and barely usable because of it - you'd probably be better off just using a KVM virtual machine + a Windows installation until Wine figures out the implementation of the Windows Presentation Framework (which will probably never happen cuz is already obsolete and no one is likely to care about it at this point). Sure, it's way cooler to run it natively, but atm... sadly, not recommending it :(

Running A Hat in Time Modding Tools on Linux

Tested on Proton-GE 25 and Manjaro Linux

(WIP, may include more details for beginners later)

You need to install protontricks first! (I used yay -s protontricks since I'm using ArchLinux-based distro)

import struct Foundation.UUID
import os
import libkern
public enum MemoryLeaks {
public static func listActiveMarkers() -> Array<Marker> {
let markersRegistryCopy: Dictionary<AnyHashable, WeakMarker> = markersRegistryLock
.withLock { Self.markersRegistry }
return markersRegistryCopy.values.compactMap(\.marker)
@cablej
cablej / default.md
Created June 21, 2025 18:46
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.
@Dziurwa14
Dziurwa14 / codes.md
Last active June 24, 2025 00:20
Discord error codes

Error Codes

All collected Discord error codes, categorized by type (first 2 digits).

Unknown API Object

Code Message
10001 Unknown Account
10002 Unknown Application
10003 Unknown Channel
10004 Unknown Guild