Skip to content

Instantly share code, notes, and snippets.

View vancassa's full-sized avatar

Vanessa vancassa

View GitHub Profile
@vancassa
vancassa / contemplative-llms.txt
Created January 7, 2025 14:01 — 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
https://greasyfork.org/en/scripts/38582-wanikani-open-framework
https://greasyfork.org/en/scripts/13475-wanikani-ultimate-timeline
https://greasyfork.org/en/scripts/377336-wanikani-heatmap
https://greasyfork.org/en/scripts/388692-confusionguesser
https://github.com/mwil/wanikani-userscripts/raw/master/wanikani-similar-kanji/wk_niai.user.js
https://greasyfork.org/en/scripts/377575-wanikani-progress-percentages
https://community.wanikani.com/t/userscript-reorder-omega/56250
https://greasyfork.org/en/scripts/33818-wanikani-fast-abridged-wrong-multiple-answer
https://greasyfork.org/en/scripts/35063-wanikani-double-check
struct MorphingAnimationView: View {
@State private var isStop: Bool = false
@State private var isPlay: Bool = false
var body: some View {
VStack {
ZStack {
RoundedRectangle(cornerRadius: isStop ? 30 : 5)
.frame(width: isStop ? 60 : 250, height: 60)
.foregroundStyle(isStop ? Color.blue.gradient : Color.purple.gradient)
let re;
re = /hello/i;
// Metacharacter Symbols
re = /^h/i; // ^ => Must start with
re = /rld$/i; // $ => Must end with
re = /^hello$/i; // Has to start with 'hello' and end with 'hello';
re = /^h.llo$/i; // Matches with any ONE character
re = /h*llo/i; // Wildcard => Matches any character 0 or more times
re = /gre?a?y/i; // Optional character; matches "grey" and "gray"
@vancassa
vancassa / curl.md
Created June 24, 2019 10:10 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@vancassa
vancassa / Tailwind and React.md
Last active June 5, 2020 02:34
Tailwind react

Install Tailwind CSS

yarn add tailwindcss --dev

Create Tailwind configuration file

./node_modules/.bin/tailwind init tailwind.js

Create Tailwind CSS source file /src/css/tailwind.src.css and write Tailwind directives

@tailwind base;
@vancassa
vancassa / hide accessibly
Last active April 25, 2019 03:06
only show for screen reader
.visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
height: auto;
margin: 0;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
white-space: nowrap;
@vancassa
vancassa / gist:772070b347709751b7eeb0a93a5e4ee9
Created November 17, 2018 06:23
Branching out from the old branch
git rebase --onto newparent oldparent
git push -f
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 10.
"Vanessa"
"Wed 7 Nov 2018, 9:30:55 am"
"-------"
"Date","Booking Code","Pick Up","Intermediate Drop Off","Drop Off","Ride Distance (km)","Booking Type","Vehicle Plate","Tag","Trip Code / Trip Description","Currency","Fare"
"Tue 2 Oct 2018, 9:27:31 am","ADR-13440769-5-044","My office address","","Customer 1 address","12.61","JustGrab","SLD8503A","Work","- / -","SGD","13"
"Tue 2 Oct 2018, 5:44:21 pm","ADR-13440769-5-045","Customer 1 address","","My office address Rd","14.33","JustGrab","SJS6028M","Work","- / -","SGD","21"
"Tue 9 Oct 2018, 4:42:21 pm","ADR-13440769-5-046","Customer 5 address","","My office address Rd","9","JustGrab","SMA9121R","Work","- / -","SGD","13"
"Mon 15 Oct 2018, 12:59:42 pm","ADR-13440769-5-047","My office address","","MAX Atria Singapore Expo Hall 1","29.78","JustGrab","SJL1277E","Work","- / -","SGD","24"
"Tue 16 Oct 2018, 1:53:07 pm","ADR-13440769-5-048","My office address","","Customer 2 address","23.91","JustGrab","SLP866S","Work","- / -","SGD","20"
"Tue 16 Oct 2018, 6:54:57 pm","ADR
@vancassa
vancassa / Tc Source Control
Created October 9, 2018 03:49
Setting up source control for TwinCAT
Git Credential Manager for Windows
https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.18.0
TC3 Source Control Manual
https://download.beckhoff.com/download/document/automation/twincat3/TC3_SourceControl_EN.pdf