Skip to content

Instantly share code, notes, and snippets.

@o9-9
o9-9 / git_basics.md
Created April 23, 2025 14:43 — forked from cblunt/git_basics.md
A simple git cheatsheet for reference.

Quick Summary

cd my_project

git init .
git add . # add everything
git commit -m 'Initial commit'

... make some changes ...

@o9-9
o9-9 / Coral Reef (multi-caret).xml
Created April 23, 2025 14:20 — forked from rdipardo/Coral Reef (multi-caret).xml
Coral Reef Notepad++ Theme
<?xml version="1.0" encoding="UTF-8" ?>
<!--//
Coral Reef
A vibrant dark theme adapted from clean-jsdoc
<https://clean-jsdoc.github.io/clean-jsdoc>
Revised: 2024-12-16
(c) 2022 Robert Di Pardo
@o9-9
o9-9 / A_Profile_BJSS.ps1
Created April 23, 2025 14:15 — forked from i-e-b/A_Profile_BJSS.ps1
My sample Powershell profile script
Set-PSReadlineOption -BellStyle None
# Clone `https://github.com/dahlbyk/posh-git.git` to C:\Gits
Import-Module 'C:\Gits\posh-git\src\posh-git.psd1'
set-executionpolicy Unrestricted process
$baseDir = Split-Path -parent $MyInvocation.MyCommand.Definition
#. "$baseDir\hand.ps1"
# General actions
function edit ($file) { & "${env:ProgramFiles(x86)}\Notepad++\notepad++.exe" $file }
@o9-9
o9-9 / cursor-agent-system-prompt.txt
Created April 20, 2025 19:45 — forked from sshh12/cursor-agent-system-prompt.txt
Cursor Agent System Prompt (March 2025)
You are a powerful agentic AI coding assistant, powered by Claude 3.5 Sonnet. You operate exclusively in Cursor, the world's best IDE.
You are pair programming with a USER to solve their coding task.
The task may require creating a new codebase, modifying or debugging an existing codebase, or simply answering a question.
Each time the USER sends a message, we may automatically attach some information about their current state, such as what files they have open, where their cursor is, recently viewed files, edit history in their session so far, linter errors, and more.
This information may or may not be relevant to the coding task, it is up for you to decide.
Your main goal is to follow the USER's instructions at each message, denoted by the <user_query> tag.
<communication>
1. Be conversational but professional.
@o9-9
o9-9 / Online code utilities.md
Created April 20, 2025 19:21 — forked from fghber/Online code utilities.md
Online code utilities

Web IDEs

ideone Ideone is an online compiler and debugging tool which allows youto compile source code and execute it online in more than 60 programming languages and share links to the code.
repl.it Like ideaone, can also install missing Python packages.
Onlilne GDB Online compiler and debugger forC, C++, Python, Java, PHP, Ruby, Perl, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog, and more.
Coding Ground Advanced IDEs for C/C++, C#, GO, Java, PHP, Perl, Python, Octave/MATLOAB, R, Ruby, Scala, and compiler/interpreter for many other languages and frameworks.
JDOODLE very similar to ideone but a somewhat different set of languagse/compilers.

Dedicated:

@o9-9
o9-9 / 00-New setup.md
Created April 20, 2025 16:11 — forked from cderv/00-New setup.md
New computer setup
# installed by winget
winget install PowerShell-Preview
winget install git
git config --global user.name "Christophe Dervieux"
git config --global user.email christophe.dervieux@gmail.com
winget install rstudio
winget install vscode
winget install -e R
winget install Github.GithubDesktop
"Code Gen Instruction": {
"prefix": "instruction-codegen",
"body": [
"\t\"github.copilot.chat.codeGeneration.instructions\": [",
"\t\t{",
"\t\t\t\"text\": \"use JavaScript for all code. use camelCase for variable names, PascalCase for class names. Use spaces for indentation. Use single quotes for strings. Use 2 spaces for indentation.\"",
"\t\t}",
"\t],"
]
@o9-9
o9-9 / 7ZipDefault.bat
Created April 20, 2025 04:28 — forked from Techlogist/7ZipDefault.bat
This batch script set 7-Zip as the default application to open the specified compressed file extensions.
REM License: GNU General Public License v2.0
REM Author: Miguel
REM Website: www.techlogist.net
REM Post: https://techlogist.net/scripts-terminal/batch/how-to-set-7zip-as-the-default-application-to-open-certain-compressed-files-type-via-script/
REM Description: This script makes 7Zip the default app for the following extensions:
REM .7z, .zip, .rar, .gz, .tgz, .tar
REM OS/Language/Region: Windows/EN-US
REM Notes:
REM 1) Does not require administrator rights to make changes for current logged in user but displays "Access Denied"
REM 2) If ran as administrator will change for all users.
@o9-9
o9-9 / settings.json
Created April 18, 2025 21:17 — forked from mrmartineau/settings.json
vscode settings.json
{
"[handlebars]": {
"editor.formatOnSave": false
},
"[markdown]": {
"editor.quickSuggestions": {
"comments": "off",
"other": "on",
"strings": "off"
}