Skip to content

Instantly share code, notes, and snippets.

View jsjoeio's full-sized avatar

Joe Previte jsjoeio

View GitHub Profile
@jsjoeio
jsjoeio / index.txt
Created December 20, 2023 23:50
Haskell teacher prompt
you are a world class Haskell engineer.
you are going to interview me on the following questions. I want you to only reply as the interviewer. Do not write all the conversation at once. I want you to only do the interview with me. Do not write explanations. ask me the questions one bye one like an interviewer does and wait for my answers.
I want you to ask me the following questions related to Haskell/Postgres.
1. What about using count?
2. What are the tradeoffs between using count vs selectList and then counting
3. fromJust is a bit dangerous. Why is that?
@jsjoeio
jsjoeio / prompt.txt
Created August 21, 2023 03:02
AI-Assisted Leetcode Prompt
There are two steps:
1. asking ChatGPT to solve the problem.
2. asking ChatGPT to act like the interviewer and quiz you on the solution.
---
"solve the following question with typescript:
<paste entire description of leetcode problem here>
@jsjoeio
jsjoeio / hello.txt
Created July 9, 2023 22:36
Joe Previte - email that landed first dev job
On Jun 18, 2017, at 2:10 PM, Joe Previte <redacted> wrote:
Hi <redacted>,
Thanks for the quick response via Slack. As for pertinent information, here's a brief summary:
-I am proficient in Adobe Photoshop, Illustrator, and Premiere (3 years of design and 4 years of video-editing)
-I have been learning to program since December and I plan to start a tech career in design/development in August. Here's my portfolio, which I am currently building up. I will have finished the freeCodeCamp Front-End certificate before August and have multiple projects to demonstrate my skills.
-I have a degree in Global and Intercultural Understanding from U of A(I speak Spanish and Italian fluently, also studied Portuguese and some Mandarin)
-I'm interested in foreign languages, education, and the outdoors.
@jsjoeio
jsjoeio / prompt.md
Last active June 30, 2023 20:10
ChatGPT Prompt to Level Up Your Software Engineering Vocabulary in English

give me 5 examples of usage of the word ‘’ in a sentence in the context of software engineering

@jsjoeio
jsjoeio / keybindings.json
Created February 17, 2022 22:29
Latest keybindings
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "cmd+p",
"command": "workbench.action.showAllSymbols"
},
{
"key": "ctrl+t",
"command": "-workbench.action.showAllSymbols"
},
@jsjoeio
jsjoeio / reproduce.ts
Last active January 25, 2022 22:23
code-server reproduce script
// A script to reproduce issues in code-server quickly
async function main(args: string[]) {
const issueNum = args[0] || "1234"
console.log(`🔍 Reproducing code-server issue #${issueNum}`)
console.log(`🔗 https://github.com/coder/code-server/issues/${issueNum}`)
console.log(`📁 Creating temporary extensions directory...`)
// create temp directory
@jsjoeio
jsjoeio / migrate-posts.ts
Last active December 26, 2021 05:27
Migrate Content in Gatsby Site to Astro Site
/*
README
I wrote this script to migrate all my blog posts from my Gatsby site to my Astro site.
Sharing in case it helps anyone with their own migration.
Context: my Gatsby site had the blog posts under `/content` and in there, each post had
a directory and inside that it had an `index.md` and images.
@jsjoeio
jsjoeio / notes.md
Last active November 3, 2021 14:31
Julian's Writing Workshop - 11/2/2021 - Notes

Raw Notes

These are my unstructured notes from the workshop. Read with caution (they're biased to my own interpretation).

Notes

1,000,000 Julian.com visitors

Part 1: What's your objective for your article?

Part 2: pair it with an objective

@jsjoeio
jsjoeio / index.ts
Created August 7, 2021 15:18
adjustDate
import {
subHours,
subMinutes,
} from "date-fns"
export const DEFAULT_CUSTOM_DAY_START = "00:00:00"
declare const _dateAdjusted: unique symbol
export type DateAdjustedToCustomDayStart = Date & {
readonly [_dateAdjusted]: Date
}
@jsjoeio
jsjoeio / readme.md
Last active August 6, 2021 00:33
Talking to Users - Cheatsheet

Talking to Users - Cheatsheet

These are my notes for talking to users (customers) as an indie hacker.

Startup School's Approach

A summary of the Startup School video "How to Talk to Users" which takes from The Mom Test strategy.

These notes provided by Masa, abirdwhale Kakinoki Masato in the form of a YouTube comment here.

3 common errors that we make when we try to conduct user interviews (The Mom Test)