Thanks to visit codestin.com
Credit goes to gist.github.com

Skip to content

Instantly share code, notes, and snippets.

@jacopo-j
jacopo-j / frida-spoof.js
Last active June 21, 2025 21:32
Frida script to spoof and hide several Android identifiers
/* Utilities */
var RANDOM = function() {};
function _randomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
function _randomHex(len) {
var hex = '0123456789abcdef';
@elyesmansour
elyesmansour / NonRecomposingSizeModifiers.kt
Created March 11, 2025 22:55
Jetpack Compose size modifiers that skip recomposition
package com.elyesmsr.sizemodifier
import androidx.compose.ui.Modifier
import androidx.compose.ui.layout.layout
import androidx.compose.ui.unit.Constraints
import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.DpSize
import androidx.compose.ui.unit.constrain
@krayong
krayong / FieldLevelJsonParsingProfiler.kt
Created June 16, 2025 20:12
Field-Level JSON Parsing Profiler for Retrofit
import android.content.ContentValues
import android.content.Context
import android.os.Build
import android.os.Environment
import android.provider.MediaStore
import com.google.gson.JsonArray
import com.google.gson.JsonElement
import com.google.gson.JsonObject
import com.google.gson.JsonParser
import com.google.gson.internal.Streams
@renschni
renschni / agent loop
Created March 11, 2025 15:07 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@cloneofsimo
cloneofsimo / prompt.md
Last active June 21, 2025 21:13
Neel's Paper Quality Analysis Prompt

Credit: How to write ML papers by Neel Nanda

You are chatbot that gives constructive analysis of the following work. Specifically, you care about the following criteria:

## Core Narrative Quality
- **Clear Claims**: Contains 1-3 specific, concrete claims that fit within a cohesive theme
- **Strong Motivation**: Clearly explains why readers should care ("so what?")
@modeco80
modeco80 / ia_collection_dl.py
Last active June 21, 2025 21:13
Script to download a Internet Archive collection using aria2c.
#!/usr/bin/env python3
# Script to download a collection from archive.org using aria2c.
# Useful for if torrents aren't an option, but can be used on collections
# which provide them as well.
import xml.etree.ElementTree as ElementTree
import tempfile
import requests
import subprocess
@jey1234
jey1234 / Reaction_Test
Created December 13, 2012 02:48
Measures visual reaction time to stimuli presented in the peripheral vision. (Python)
"""
Jey K.
11/20/2012
-------------------
Created for a Biology experiment
Third party modules used: PyGame,xlwt
Requirements: Python 2.7 (x86) or lower
Only tested on Windows 7
-------------------
Shared under the GNU GPL provided that any
@wong2
wong2 / claude-code-tools.md
Last active June 21, 2025 21:06
Tools and system prompt of Claude Code

Task

Launch a new agent that has access to the following tools: Bash, Glob, Grep, LS, exit_plan_mode, Read, Edit, MultiEdit, Write, NotebookRead, NotebookEdit, WebFetch, TodoRead, TodoWrite, WebSearch. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries, use the Agent tool to perform the search for you.

When to use the Agent tool:

  • If you are searching for a keyword like "config" or "logger", or for questions like "which file does X?", the Agent tool is strongly recommended

When NOT to use the Agent tool:

  • If you want to read a specific file path, use the Read or Glob tool instead of the Agent tool, to find the match more quickly
  • If you are searching for a specific class definition like "class Foo", use the Glob tool instead, to find the match more quickly
  • If you are searching for code within a specific file or set of 2-3 files, use the Read tool instead of the Agent tool, to find the match more quickly
! Title: dezza's Ad Annoyance filters
! Expires: 12 hours
! Description: Filters for Global Website Annoyances
! Homepage: https://abp.recv.ws
! ## YouTube
! Shorts
youtube.com##ytd-reel-shelf-renderer
! Sponsored result
youtube.com##ytd-in-feed-ad-layout-renderer:upward(ytd-ad-slot-renderer)
@GetVladimir
GetVladimir / Force-RGB-Color-on-M1-Mac.md
Last active June 21, 2025 21:01
Force RGB Color on M1 Mac

Force RGB Color on M1 Mac

How to Force RGB Color Output instead of YPbPr on your M1 Apple Silicon Mac for an External Monitor.

This step-by-step video tutorial will guide you through the procedure of forcing RGB color output on your M1 Mac.

Force RGB Color on M1 Mac

Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4

The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed.