Skip to content

Instantly share code, notes, and snippets.

View OneNiNE87's full-sized avatar
:electron:
BoundByBinariesBeyondBenchmarks

иiɴᴇ[ᴏɴᴇ]ᴏɴᴇ OneNiNE87

:electron:
BoundByBinariesBeyondBenchmarks
View GitHub Profile
javascript:(function()%7B const articles = document.querySelectorAll('article%5Bdata-testid%5E="conversation-turn"%5D'); if (!articles.length) %7B alert('No chat content found!'); return; %7D let chatContent = Array.from(articles).map(article => article.innerText).join('%5Cn%5Cn'); const blob = new Blob(%5BchatContent%5D, %7B type: 'text/plain' %7D); const a = document.createElement('a'); a.href = URL.createObjectURL(blob); a.download = 'chat_conversation.txt'; document.body.appendChild(a); a.click(); document.body.removeChild(a); %7D)();
@OneNiNE87
OneNiNE87 / mp4box.md
Created May 27, 2025 16:51
mp4splitting

For splitting large video files by size in Termux without re-encoding, ffmpeg is limited for exact size splits in MP4 format. But here are some alternatives you can try:

  1. mp4box (from GPAC)

mp4box can split MP4 files by time or size with less re-encoding.

Install with:

pkg install gpac

@OneNiNE87
OneNiNE87 / remote.windsurfSSH.configFile
Created May 27, 2025 01:20
Windsurf SSH config file.
{
"remote.windsurfSSH.configFile": "",
"remote.windsurfSSH.hosts": [
{
"name": "MyRemoteHost",
"host": "hostname_or_ip",
"user": "username",
"port": 22,
"authentication": "key",
"privateKeyPath": "/path/to/private/key"
@OneNiNE87
OneNiNE87 / saveGPT.bookmarklet.js
Created May 14, 2025 09:36 — forked from andrewchilds/saveGPT.bookmarklet.js
Download ChatGPT conversations as markdown files.
javascript:function parseChatGPTData(data) { const mapping = data.mapping; const conversationTitle = data.title; const createDate = new Date(data.create_time * 1000).toISOString().slice(0, 10); const messagesArray = Object.values(mapping) .filter(node => node.message) .map(node => { const message = node.message; const sender = message.author.role === 'user' ? 'You' : 'Assistant'; const content = message.content.parts.join(''); const createTime = message.create_time; return { sender: sender, content: content, createTime: createTime, }; }); messagesArray.sort((a, b) => a.createTime - b.createTime); return { date: createDate, title: conversationTitle, messages: messagesArray.map(({ sender, content }) => ({ sender, content })), }; } function download(filename, text) { const element = document.createElement('a'); element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text)); element.setAttribute('download', filename); element.style.display = 'none'; document.body.appendChild(element); e
@OneNiNE87
OneNiNE87 / obsidian-web-clipper.js
Created April 28, 2025 07:22 — forked from kepano/obsidian-web-clipper.js
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
@OneNiNE87
OneNiNE87 / iOS Shortcuts Catalog.md
Created March 25, 2025 16:14 — forked from andrewmcodes/iOS Shortcuts Catalog.md
This is a public resource designed to help people get started with Siri Shortcuts & the Shortcuts app. It’s made up of the Shortcuts Library, a collection of over 125+ shortcuts grouped into folders, and the Action Directory, a documentation of 125+ of the actions in the Shortcuts app used to build shortcuts.

Bruce's iOS Shortcut Catalog

Hello and welcome to my Shortcuts Catalog!

This is a public resource designed to help people get started with Siri Shortcuts and the Shortcuts app.

It’s made up of the Shortcuts Library, a collection of over 125+ shortcuts grouped into folders, and the Action Directory, a documentation of 125+ of the actions in the Shortcuts app used to build shortcuts.

Enjoy!

@OneNiNE87
OneNiNE87 / Github_Copilot_Default_System_Prompt.md
Created March 21, 2025 21:03
Github Copilot Default System Prompt

Copilot Default System Prompt

You are GitHub Copilot on github.com

Whenever proposing a file use the file block syntax.
Files must be represented as code blocks with their `name` in the header.
Example of a code block with a file name in the header:
```typescript name=filename.ts
contents of file
@OneNiNE87
OneNiNE87 / GithubStarsLists.md
Created January 31, 2025 03:48
This Gist serves as a categorized index of my repositories, ensuring easy access and organization of various tools, projects, and resources. Each category represents a specific domain, making it effortless to locate relevant repositories when needed.

My Github Stars Category Lists

📌 Repository Collections & Categorization

This Gist serves as a categorized index of my repositories, ensuring easy access and organization of various tools, projects, and resources. Each category represents a specific domain, making it effortless to locate relevant repositories when needed.

📂 Categories

💲 Crypto & Blockchain Tools

A collection of tools, libraries, and resources related to cryptocurrency and blockchain development.

@OneNiNE87
OneNiNE87 / Hybrid_Spectrogram_and_Waveform_Source_Separation.ipynb
Created January 25, 2025 16:44
Hybrid_Spectrogram_and_Waveform_Source_Separation.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@OneNiNE87
OneNiNE87 / reseticoncache.bat
Created January 13, 2025 21:22
A not so basic 2x script to reset the icon cache in Window10/11 😁👍🙌™️
REM reseticoncache.bat
REM A basic script to reset the icon cache in Windows 10/11
taskkill /im explorer.exe /f
cd /d %userprofile%\appdata\local
attrib -h -r -s iconcache.db
attrib -h -r -s iconcache*
del iconcache.db /q
del iconcache*