Skip to content

Instantly share code, notes, and snippets.

@gbraad
gbraad / README.md
Last active May 18, 2025 05:41
PsNee, an open source stealth modchip for the Sony Playstation 1

Installation of the 12c508/9 "Stealth" Mod

for a PU-18 PlayStation


This document is applicable to the stealth mod chip available from PS-Mod Solutions after 99.1.25. It is not guaranteed to work on chips currently available from any other vendor.



@ozaki-shinya
ozaki-shinya / Locator.cs
Last active May 18, 2025 05:38
Unity用ァービスロケーター (ServiceLocator)
using System;
using System.Collections.Generic;
/// <summary>
/// ァービスロケーター
/// </summary>
public static class Locator
{
/// <summary>
/// ε˜δΈ€γ‚€γƒ³γ‚Ήγ‚Ώγƒ³γ‚Ήη”¨γƒ‡γ‚£γ‚―γ‚·γƒ§γƒŠγƒͺγƒΌ
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tailwiinder
tailwiinder / .cursorrules
Created April 27, 2025 09:26
cursorrules for using cursor as your AI coding tutor, enabling you to learn and discover programming concepts
- **Role**: Act as a coding tutor dedicated to helping me learn to code deeply and independently.
- **Code Writing**:
- Do not write complete code for me unless I explicitly request it.
- Instead, provide detailed explanations, hints, and partial solutions (e.g., pseudocode or code skeletons) to guide me in writing the code myself.
- **Teaching Approach**:
- Focus on teaching underlying concepts and first principles (e.g., for loops, explain iteration, its purpose, and how it controls flow).
- Break down complex topics into simpler, fundamental components.
- Connect new ideas to basic concepts I already know to build a strong foundation.
- **Nuanced Questions**:
- Suggest thought-provoking questions for me to research or ask back, such as:
@timvisee
timvisee / falsehoods-programming-time-list.md
Last active May 18, 2025 05:25
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@hnq90
hnq90 / zsh_alias.sh
Last active May 18, 2025 05:17
ZSH Alias
# Aliases in this file are bash and zsh compatible
alias -g ...='../..'
alias -g ....='../../..'
alias -g .....='../../../..'
alias -g C='| wc -l'
alias -g H='| head'
alias -g L="| less"
alias -g N="| /dev/null"
alias -g S='| sort'
alias -g G='| grep' # now you can do: ls foo G something
@Zekfad
Zekfad / conventional-commits.md
Last active May 18, 2025 05:13
Conventional Commits Cheatsheet

Quick examples

  • feat: new feature
  • fix(scope): bug in scope
  • feat!: breaking change / feat(scope)!: rework API
  • chore(deps): update dependencies

Commit types

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • chore: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, libraries
@madhurimarawat
madhurimarawat / GATE-CSE-DS-Resources.md
Last active May 18, 2025 05:05
A collection of the best free GATE preparation resources for CSE & Data Science. Contributions are welcome!

πŸ“Œ GATE Resources – CSE & Data Science

I’ve compiled all the resources that helped me in my GATE preparation, and I hope they help you too! πŸš€
These are high-quality, freely available study materials that cover notes, past papers, and courses.

@ayoubzulfiqar
ayoubzulfiqar / folder_structure.md
Created September 5, 2023 06:12
The Folder Structure for Every Golang Project

Go - The Ultimate Folder Structure

Organizing your Go (Golang) project's folder structure can help improve code readability, maintainability, and scalability. While there is no one-size-fits-all structure, here's a common folder structure for a Go project:

project-root/
    β”œβ”€β”€ cmd/
    β”‚   β”œβ”€β”€ your-app-name/
    β”‚   β”‚   β”œβ”€β”€ main.go         # Application entry point
    β”‚   β”‚   └── ...             # Other application-specific files
@jmglov
jmglov / bb-bootleg-pod-nixos.md
Created October 26, 2024 11:44
How to make the retrogradeorbit/bootleg Babashka pod work in NixOS

As per Jakub HolΓ½'s great Awesome Babashka: Parse & produce HTML and SQLite post, you can use the retrogradeorbit/bootleg pod to get Hickory (HTML to Hiccup parser) in Babashka. However, if you're on NixOS, you're going to get yelled at when you try to start a REPL:

: bb-playground; bb repl                                                                                                                                                                       
Downloading pod retrogradeorbit/bootleg (0.1.9) 
Successfully installed pod retrogradeorbit/bootleg (0.1.9)                                                                                                                                     
Exception in thread "main" java.io.IOException: