Skip to content

Instantly share code, notes, and snippets.

View mariabitsch's full-sized avatar

Maria Bitsch mariabitsch

  • Copenhagen, Denmark
  • 03:25 (UTC +01:00)
View GitHub Profile
@Mohamed3on
Mohamed3on / Claude Code Statusline.md
Last active December 19, 2025 11:05
Claude Code statusline with colors, token usage, cost, and more

Claude Code Statusline

A colorful, informative statusline for Claude Code CLI.

statusline

Features

  • Directory (blue) - Current working directory
  • Node version (green ⬢) - Shows when package.json exists
@vgrichina
vgrichina / CLAUDE.md
Last active December 11, 2025 08:08
My user CLAUDE.md

Using Gemini CLI for Large Codebase Analysis

When analyzing large codebases or multiple files that might exceed context limits, use the Gemini CLI with its massive context window. Use gemini -p to leverage Google Gemini's large context capacity.

File and Directory Inclusion Syntax

Use the @ syntax to include files and directories in your Gemini prompts. The paths should be relative to WHERE you run the gemini command:

@intellectronica
intellectronica / chatgpt-plus-cheat-sheet.md
Last active July 17, 2025 04:11
ChatGPT Plus - Cheat Sheet

ChatGPT Plus Models Cheat Sheet

Model Quota (Plus Subscription) Typical Use Cases
GPT-4o 80 messages per 3 hours ([help][1]) Multimodal, high-quality conversational AI
o4-mini 300 messages per day ([help][2]) Coding, math/science problems, tool-based tasks
o4-mini-high 100 messages per day ([help][2]) Frequent, moderate-complexity tool-assisted work
o3 200 messages per week ([help][2]) General-purpose reason
@iammerrick
iammerrick / PinchZoomPan.js
Last active April 22, 2024 02:54
React Pinch + Zoom + Pan
import React from 'react';
const MIN_SCALE = 1;
const MAX_SCALE = 4;
const SETTLE_RANGE = 0.001;
const ADDITIONAL_LIMIT = 0.2;
const DOUBLE_TAP_THRESHOLD = 300;
const ANIMATION_SPEED = 0.04;
const RESET_ANIMATION_SPEED = 0.08;
const INITIAL_X = 0;
@bellbind
bellbind / .profile
Last active December 18, 2019 10:17
[nodejs][nvm] bash function of node with full `Intl` locales support by automatic installing the prebuilt "icu4c-data" package
[ -s $HOME/.nvm/nvm.sh ] && . $HOME/.nvm/nvm.sh # This loads NVM
function node {
rawnode=$(which node)
icu4cdata=$(dirname $(dirname $rawnode))/lib/node_modules/icu4c-data
[[ -d $icu4cdata ]] || npm install -g icu4c-data@$($rawnode -e '
console.log((v => v.icu_ver_major + v.icu_endianness)(
process.config.variables));')
NODE_ICU_DATA=$icu4cdata $rawnode "$@"
}
@gaearon
gaearon / index.js
Last active January 21, 2025 08:07
Breaking out of Redux paradigm to isolate apps
import React, { Component } from 'react'
import Subapp from './subapp/Root'
class BigApp extends Component {
render() {
return (
<div>
<Subapp />
<Subapp />
<Subapp />
@plugn
plugn / Encode SVG SCSS.markdown
Created December 7, 2015 16:16
Encode SVG SCSS
var pureRender = (Component) => {
Object.assign(Component.prototype, {
shouldComponentUpdate (nextProps, nextState) {
return !shallowEqual(this.props, nextProps) ||
!shallowEqual(this.state, nextState);
}
});
};
module.exports = pureRender;
@Preetam
Preetam / Infimum.tmTheme
Created May 19, 2014 02:55
A minimal Sublime color scheme based on shades of gray
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>gutterSettings</key>
<dict>
<key>background</key>
<string>#FFFFFF</string>
<key>divider</key>
<string>#000000</string>
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active December 26, 2025 10:04
A badass list of frontend development resources I collected over time.