Skip to content

Instantly share code, notes, and snippets.

View sunnydsouza's full-sized avatar

Sunny D sunnydsouza

View GitHub Profile
kl note: Here is the Deep Research prompt I used in the Cursor Storybook video: https://youtu.be/gXmakVsIbF0
For background, this is a real-world tech feasibility task I am working on where I am trying to build out a realistic-looking fake website for an AI browsing agent to use to complete tasks. I found this random site that was close enough to what I wanted so I used it as a shortcut instead of taking the time to write out a full PRD or anything.
...above this was just the transcript and the initial guidance...
Act as a technical fellow and create a detailed, step-by-step guide to recreating this software using a modern stack. Here is the cursorrules for this repository:
# .cursorrules
Components & Naming
@sunnydsouza
sunnydsouza / obsidian-ios-sync.md
Created April 22, 2024 09:33 — forked from agmm/obsidian-ios-sync.md
How to sync Obsidian Notes on iOS

⚠️ To prevent data loss make sure you understand how rclone sync and rclone copy work.

How to sync Obsidian Notes on iOS

  1. Download iSH from the AppStore

  2. Open iSH and install rclone and nano with the following command:

apk add rclone nano
import requests
import pandas as pd
GITHUB_USERNAME = 'your-username'
GITHUB_TOKEN = 'your-github-token'
def fetch_repos(url, headers):
response = requests.get(url, headers=headers)
if response.status_code != 200:
raise Exception(f"GitHub API Error: {response.status_code} {response.json()}")
import requests
# Replace 'your-username' with your actual GitHub username
# Replace 'your-github-token' with your actual GitHub personal access token
USERNAME = "your-username"
TOKEN = "your-github-token"
# The GitHub API endpoint for user repositories
GITHUB_REPO_API = f"https://api.github.com/users/{USERNAME}/repos"
@sunnydsouza
sunnydsouza / ssl-config-generation-localhost.md
Created November 28, 2023 06:35 — forked from ganeshan/ssl-config-generation-localhost.md
SSL TLS certificate generation instructions using mkcert for Java / Spring Boot apps

SSL Certificate Generation

Keystore & mkcert

  • PKCS12 is the industry standard, however, java has a proprietary format specific for Java called JKS, we will stick with PKC12 for our keystore.
  • Managing the generation of certs and trust store system wide, mkcert is an incredibly useful tool

Install mkcert

brew install mkcert
@sunnydsouza
sunnydsouza / remove_home_assistant_alexa.js
Created November 27, 2023 16:08 — forked from nbogojevic/remove_home_assistant_alexa.js
Remove all Home Assistant devices from Alexa
// Paste in development console
$x('//div[contains(text(), "Home Assistant")]')
.map((innerDiv) => innerDiv.parentNode.parentNode)
.map((parentDiv) => parentDiv.getElementsByTagName("button")[0])
.forEach((button) => {
fetch(
`https://alexa.amazon.fr/api/phoenix/appliance/${encodeURIComponent(button.getAttribute(
"appliance-id"
))}`,
{
@sunnydsouza
sunnydsouza / install_wlan_dongle.sh
Created December 2, 2022 11:41 — forked from MBing/install_wlan_dongle.sh
install TP-Link-WN725N Nano USB Wifi on Raspberry Pi with Kernel 5.10+
# DO NOT PUT THE WIFI DONGLE IN THE DEVICE BEFORE MENTIONED EXPLICITLY BELOW
# Brief note, after this the UI will not show the usb dongle,
# the wifi does work and I get an IP address, so all works,
# but I don't go into detail of making it show on the Raspbian UI.
# (for this purpose I don't care about the UI)
# For the use of this I connected my device to an ethernet connection and through the Router could see the IP which I can SSH into.
## STEP 1: Prepare machine and install packages needed
{
"MAJOR_IN": {
"static": {
"2/7": "Testing Day",
"1/1": "New Year's Day",
"1/26": "Republic Day",
"5/1": "Labor Day",
"3/17": "Independence Day",
"4/22": "Earth Day",
"7/4": "Independence Day",
@sunnydsouza
sunnydsouza / README.md
Created May 30, 2019 04:46 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.