Skip to content

Instantly share code, notes, and snippets.

View ineersa's full-sized avatar

ineersa ineersa

View GitHub Profile
@ineersa
ineersa / claude-code-prompt.txt
Created August 22, 2025 03:16 — forked from agokrani/claude-code-prompt.txt
Claude Code System Prompt
'system':
[
{
'type': 'text',
'text': "You are Claude Code, Anthropic's official CLI for Claude.",
'cache_control': {'type': 'ephemeral'}
},
{
'type': 'text',
'text': 'You are an interactive CLI tool that helps users with software engineering tasks.
@ineersa
ineersa / DefaultKeyBinding.dict
Created October 3, 2024 18:06 — forked from trusktr/DefaultKeyBinding.dict
My DefaultKeyBinding.dict for Mac OS X
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict
This file remaps the key bindings of a single user on Mac OS X 10.5 to more
closely match default behavior on Windows systems. This makes the Command key
behave like Windows Control key. To use Control instead of Command, either swap
Control and Command in Apple->System Preferences->Keyboard->Modifier Keys...
or replace @ with ^ in this file.
Here is a rough cheatsheet for syntax.
Key Modifiers
import gc
import logging
import matplotlib.pyplot as plt
import pandas as pd
import seaborn as sns
from keras.applications import EfficientNetV2M
from keras.callbacks import EarlyStopping, ReduceLROnPlateau, ModelCheckpoint, LearningRateScheduler
from keras.optimizers import Adam
from keras.utils import to_categorical
def extract_features(landmarks):
distances = calculate_pairwise_distances(landmarks)
angles = []
num_points = len(landmarks) // 2
for i in range(num_points):
for j in range(num_points):
for k in range(num_points):
if i != j and i != k and j != k:
angle = calculate_angle([landmarks[2*i], landmarks[2*i + 1]],
[landmarks[2*j], landmarks[2*j + 1]],
var input = [
'00100',
'11100',
'11000',
'11011',
'11011',
];
let gamma = '';
for (let i=0; i<input[0].length; i++) {
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min
}
function getCard() {
var cards = ['2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K', 'A'];
return cards [getRandomInt(0, cards.length - 1)]
}
function getSumm(arr) {
var sum = 0;
<?php
class AuthControl extends ActionFilter
{
public $denyCallback;
/**
* @inheritdoc
*/
public function beforeAction($action)
{
@ineersa
ineersa / Druid-Feral-PvP.lua
Created May 12, 2017 11:36 — forked from StinkyTwitch/Druid-Feral-PvP.lua
OLD FH Feral PvP Script
--Druid Feral Rotation (PvP)--
--Created By Mhswarior--
-- Constants--
UPDATE_INTERVAL = math.random(.2,.4) -- in seconds
LAST_UPDATE = GetTime()
EmpoweredRip = false
EmpoweredRake = false
InitFrame = CreateFrame("Frame")
<?xml version="1.0" encoding="utf-8" ?><SHAMAN><Ability><Name>scripts</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions><Lua>
local Enabled = false
-- Use chain or nope
local Cleave = true
-- INIT VARIABLES
local tTarget = &amp;quot;target&amp;quot;
local fTarget = &amp;quot;focus&amp;quot;
local a1 = &amp;quot;arena1&amp;quot;
--local rooms = cjson.decode(redis.call('GET', 'searchRoom'))
--local rates = cjson.decode(redis.call('GET', 'searchRates'))
--local currentRedisData = cjson.decode(redis.call('GET', 'currentRedisData'))
--local currentRoomsData = cjson.decode(redis.call('GET', 'currentRoomsData'))
--local searchParams = cjson.decode(redis.call('GET', 'searchParams'))
local searchParams = {days = {'20160701', '20160702', '20160703', '20160704', '20160705', '20160706', '20160708', '20160709'}}
local util = {}
local refFields = {
fields = {
quantity = 'a',