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 flickrapi | |
import json | |
import time | |
import os | |
from datetime import datetime | |
# Get API credentials from environment variables | |
API_KEY = os.environ.get('FLICKR_API_KEY') | |
API_SECRET = os.environ.get('FLICKR_API_SECRET') |
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
const RATE_LIMIT_DELAY = 2000; // Delay between each item collection (2 seconds) | |
const PAGE_CHANGE_DELAY = 5000; // Delay before changing page (5 seconds) | |
async function clearTraktCollection() { | |
// Collect current page | |
const items = $(".grid-item"); | |
console.log(`Processing ${items.length} items on current page`); | |
// Process items one by one with delay | |
for (let i = 0; i < items.length; i++) { |
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
Audio Summary Generator. Return valid JSON only. Process transcript content. Omit empty keys. Use names if identified. Follow schema exactly: | |
{ | |
"transcript": { | |
"type": "object", | |
"required": ["title", "summary", "sentiment"], | |
"properties": { | |
"title": {"type": "string", "desc": "Main topic title"}, | |
"summary": {"type": "string", "desc": "Max 10-15% of transcript length"}, | |
"main_points": {"type": "array", "items": {"type": "string", "desc": "Key takeaways (≤5, 100w each, ul)"}}, | |
"action_items": {"type": "array", "items": {"type": "string", "desc": "Mentioned tasks as: 'ISO8601_due_date Task_detailed_description'"}}, |
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
name | attributes | ||
---|---|---|---|
[email protected] | Success Simulator | {"description": "Simulates successful email delivery"} | |
[email protected] | Bounce Simulator | {"description": "Simulates a hard bounce scenario"} | |
[email protected] | Out-of-Office Simulator | {"description": "Simulates an out-of-office auto-reply (soft bounce)"} | |
[email protected] | Complaint Simulator | {"description": "Simulates a recipient complaint"} | |
[email protected] | Suppression List Simulator | {"description": "Simulates an address on the suppression list"} |
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
{author_sort:uppercase():.1}/{author_sort}/{title} |
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 flickrapi | |
import time | |
import os | |
from dotenv import load_dotenv | |
# Load environment variables from .env file | |
load_dotenv() | |
# Get environment variables | |
api_key = os.environ.get("FLICKR_API_KEY") |
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
# Miryoku shifted home row hjkl | |
map j scrollLeft | |
map k scrollDown | |
map l scrollUp | |
map ' scrollRight |
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
/feed/ https://blog.mitcdh.au/index.xml 301 | |
/feed https://blog.mitcdh.au/index.xml 301 | |
/rss/ https://blog.mitcdh.au/index.xml 301 | |
/rss https://blog.mitcdh.au/index.xml 301 | |
/blog/* https://blog.mitcdh.au/:splat 301 |
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
body .gist-file { | |
border-color: var(--syntax-highlighting-background) !important; | |
.gist-data { | |
background-color: var(--syntax-highlighting-background) !important; | |
border-bottom: none; | |
table, | |
tr, | |
td { |
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
<div class="photo-box"> | |
<a href="https://www.flickr.com/photos/83515912@N03/53444202842" target="_blank"> | |
<img src="https://c1.staticflickr.com/66/65535/53444202842_2286302d06_b.jpg" alt="R0000560" loading="lazy"> | |
</a> | |
<a href="https://www.flickr.com/photos/83515912@N03/53444202807" target="_blank"> | |
<img src="https://c1.staticflickr.com/66/65535/53444202807_4f2452d4f7_b.jpg" alt="R0000561" loading="lazy"> | |
</a> | |
<a href="https://www.flickr.com/photos/83515912@N03/53444202782" target="_blank"> | |
<img src="https://c1.staticflickr.com/66/65535/53444202782_41f0b5171f_b.jpg" alt="R0000568" loading="lazy"> | |
</a> |
NewerOlder