Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 26, 2024 14:57
Complete Recent Discord Quest

Complete Recent Discord Quest

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools
  5. Go to the Console tab
  6. Paste the following code and hit enter:
let wpRequire;
@ddanner97
ddanner97 / inheritance.c
Created May 16, 2021 00:42
CS50x Lab 5: Inheritance
// Simulate genetic inheritance of blood type
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
// Each person has two parents and two alleles
typedef struct person
{
@GMoncrieff
GMoncrieff / how_i_work.md
Last active April 26, 2024 14:55
How I do ML with geospatial data

How I do machine learning with geospatial data

I have a couple of AI/ML projects related to mapping things, often conservation related, with remote sensing data. Some details and packages will vary, but the process below describes how I generally approach these types of problems. Some of these tools I have only touched briefly, but I like them, and this is more an outline of how I would like to approach a new project than a retrospective look at my previous work.

We use AWS, so it makes sense to use datasets and services that are already hosted on AWS. The data discovery and loading part of this process would look somewhat different if we were using Azure and Planetary Computer, and very different if we were using GCP and Earth Engine.

Compute

All of my analysis will be done using python on an AWS VM in the same region as my data on S3, Probably using VSCode on Sagemaker or [JupyterLab](https://docs.aws.amazo

@qoomon
qoomon / conventional_commit_messages.md
Last active April 26, 2024 14:55
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default

@0xdevalias
0xdevalias / beeper-custom-theme-styles.md
Last active April 26, 2024 14:55
Custom themes/CSS styling hacks/overrides for Beeper (universal chat app aggregator, built on top of matrix)
@patrickstorm
patrickstorm / prompt.md
Last active April 26, 2024 14:54
ChatGPT Time-Blocking Prompt

Act as my assistant and plan out my work day. I start my workday around 10am and end at 5pm. Leave room for a short lunch and two ten minutes breaks throughout the day. Items marked with a * are high priority. Not every task will fit into the schedule. I want you to provide a reason why each of the events are scheduled at that specific time.

Required events:

  • 10:30am - Scrum (20 min)
  • Go for a run (1hr before 3pm)
  • Lunch (30 min before 1pm)

Tasks:

  • * Storybook ticket (1hr)
  • Finish AI presentation (1.5hr)