Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Base64Url Decompress</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pako/2.1.0/pako.min.js"></script>
</head>
<body>
@cristoslc
cristoslc / LLM Architecture Prompts.md
Last active August 15, 2023 14:44
LLM Architecture Prompts

OFTEN ASK (every few steps in a conversation; definitely when moving between steps of the process; or any time you're not sure what to do)

Please concisely summarize our purpose, process, progress, and next steps. Tell me what you're thinking before you do it. Describe your intent and thought process. Do not output any code until we have discussed it.

Phase 1: Domain Model in Mermaid

Purpose: Help me develop system architecture diagrams.

Process: Using mermaid syntax, develop a DDD Domain Model diagram.

Confirm your understanding at each step. Tell me what you're thinking before you do it. Describe your intent and thought process. Do not output any code until we have discussed it.

try
tell application "zoom.us"
activate
end tell
tell application "System Events"
# Get the frontmost app's *process* object.
set frontAppProcess to first application process whose frontmost is true
end tell
delay 0.5
tell application "System Events"
--set visible of every process whose visible is true and name is not in {"Finder", name of current application} to false
set visible of every process whose visible is true and name is not "Finder" and frontmost is false to false
end tell
@cristoslc
cristoslc / keybase.md
Created February 9, 2017 15:27
KeyBase identity proof

Keybase proof

I hereby claim:

  • I am cristoslc on github.
  • I am cristoslc (https://keybase.io/cristoslc) on keybase.
  • I have a public key ASDa19TUVVZ9PUB7ougCsStOQaHwG8VXn967bkF2Tfgd-Qo

To claim this, I am signing this object:

@cristoslc
cristoslc / slideshareInclude.html
Created June 25, 2014 20:34
Snippet to include most recent decks from slideshare
<div id="slideshareEmbed">
</div>
<script>
var userName = 'cristoslc1';
var page = 'http://www.slideshare.net/rss/user/' + userName;
var url = 'http://x.cris.lc/php/getPageContents.php?url=' + page;
jQuery.get(url).done( function(data) { getSlideshareEmbed(data); } );
function getSlideshareEmbed(xml) {
@cristoslc
cristoslc / .htaccess
Last active August 29, 2015 14:02 — forked from ScottPhillips/.htaccess
.htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/