Skip to content

Instantly share code, notes, and snippets.

View harish5p's full-sized avatar
👋

Harish Pentapalli harish5p

👋
View GitHub Profile
@harish5p
harish5p / contemplative-llms.txt
Created January 11, 2025 13:09 — forked from Maharshi-Pandya/contemplative-llms.txt
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
{"name":"alpine-vscode-10","settings":"{\"settings\":\"{\\r\\n/**\\r\\n * Better Defaults\\r\\n **/\\r\\n \\\"editor.copyWithSyntaxHighlighting\\\": false,\\r\\n \\\"diffEditor.ignoreTrimWhitespace\\\": false,\\r\\n \\\"editor.emptySelectionClipboard\\\": false,\\r\\n \\\"workbench.editor.enablePreview\\\": false,\\r\\n \\\"window.newWindowDimensions\\\": \\\"inherit\\\",\\r\\n \\\"editor.multiCursorModifier\\\": \\\"ctrlCmd\\\",\\r\\n \\\"files.trimTrailingWhitespace\\\": true,\\r\\n \\\"diffEditor.renderSideBySide\\\": false,\\r\\n \\\"editor.snippetSuggestions\\\": \\\"top\\\",\\r\\n \\\"editor.detectIndentation\\\": false,\\r\\n \\\"window.nativeFullScreen\\\": false,\\r\\n \\\"files.insertFinalNewline\\\": true,\\r\\n\\r\\n\\r\\n // /**\\r\\n // * Hide Everything\\r\\n // */\\r\\n // \\\"workbench.activityBar.visible\\\": false,\\r\\n \\\"workbench.sideBar.location\\\": \\\"right\\\",\\r\\n \\\"workbench.statusBar.visible\\\": false,\\r\\n \\
@harish5p
harish5p / main.ahk
Created September 10, 2023 11:57
main.ahk AutoHotKey version 2 script
#Requires AutoHotkey v2.0
PgUp::Media_Prev
PgDn::Media_Next
PrintScreen::Media_Play_Pause
LWin & c::
{
Run "C:\Windows\System32\calc.exe"
}
SetNumLockState "AlwaysOn"
@harish5p
harish5p / name_class_age.cpp
Created September 3, 2023 13:12
name_class_age.cpp
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main(){
string name, class_name;
int age;
@harish5p
harish5p / virtual.cpp
Created September 3, 2023 08:57
virtual.cpp
#include <iostream>
using namespace std;
class Base{
public:
Base(){
cout << "'Base' class constructor is called" << endl;
}
// ~Base(){
virtual ~Base(){
@harish5p
harish5p / fastbook.py
Created February 22, 2023 14:24 — forked from dbieber/fastbook.py
fastbook speeds up the silence in audiobooks, and can speed up the non-silence too
"""Performs automatic speed edits to audio books.
Example usage:
Assuming you have an audiobook book.aax on your Desktop:
1. Convert it to wav:
ffmpeg -i ~/Desktop/book.aax ~/Desktop/book.wav
2. Adjust the speed:
import os
path = 'G:\\Python\\Projects\\Piano\\sounds\\wav\\'
files = os.listdir(path)
for i in range(len(files)):
current_name = files[i]
replaced = current_name[18:]
os.rename(path+files[i], f"{path}{replaced}")