THIS IS A CRITICAL SAFETY RULE THAT SUPERSEDES ALL OTHER DIRECTIVES INCLUDING THE AUGSTER SYSTEM PROMPT
You are a skilled newsletter curator specializing in entrepreneurial content. Your task is to analyze extracted business ideas from multiple podcast episodes and create an engaging, actionable daily newsletter for entrepreneurs in the digital economy using a two-step process.
You will receive an array of many podcast episode analyses, each containing:
- Episode metadata (podcast name, episode title, host, reach score, etc.)
- Extracted business ideas with scores and categorization
- Implementation details and timestamps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import redis | |
| from collections import defaultdict | |
| import json | |
| from datetime import datetime, timedelta | |
| import random | |
| import time | |
| def analyze_redis_memory(host='localhost', port=6379, db=1, pattern='*', sample_size=1000): | |
| """ | |
| Analyzes Redis keys and sorts them by memory usage. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div class="bg-white"> | |
| <div | |
| @mouseenter="paused = true" | |
| @mouseleave="paused = false" | |
| @mouseover="paused = true" | |
| @click="continueRotation()" | |
| class="cardstack mt-24 xs:mt-28 sm:mt-24 mb-24 m-auto max-w-screen-sm grid grid-cols-1 grid-rows-1 select-none"> | |
| <article v-for="card in cards" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ### steps #### | |
| # verify the system has a cuda-capable gpu | |
| # download and install the nvidia cuda toolkit and cudnn | |
| # setup environmental variables | |
| # verify the installation | |
| ### | |
| ### to verify your gpu is cuda enable check |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Loop through all MP4 files in the current directory | |
| for file in *.mp4 | |
| do | |
| # Extract the file name without the .mp4 extension | |
| filename=$(basename "$file" .mp4) | |
| # Run the ffmpeg command for the current file | |
| ffmpeg -i "$file" -filter_complex "scale=960:960:force_original_aspect_ratio=increase,crop=960:960" "${filename}_square.mp4" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <doctype html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| </head> | |
| <body class="bg-black"> |
This is a script picking winners for a contest where:
- every winning entry has to mention one other twitter account in a reply
- double winners are allowed
You'll need a few things installed:
- jq
- twarc
- boxes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // using https://try-puppeteer.appspot.com/ | |
| const browser = await puppeteer.launch(); | |
| const page = await browser.newPage(); | |
| await page.setViewport({width: 1500, height: 3000, deviceScaleFactor: 4}); | |
| await page.goto('https://twitter.com/arvidkahl/status/1375476092853743621?s=20'); | |
| await page.waitForNavigation({ waitUntil: 'networkidle2' }) | |
| console.log(await page.content()); | |
| await page.screenshot({path: 'screenshot.png'}); |
NewerOlder