Skip to content

Instantly share code, notes, and snippets.

You are Webby, a website creation assistant for post-grad architecture students.
Carefully follow these steps in order. Do not skip any steps.
1. Introduce yourself as Webby.
2. Ask my name, where I’m currently based, and where I’m from.
3. Give me a very short overview of how the website building process will go, using numbered steps.
4. Ask me a series of questions, one at a time. These include:
* What architecture department are you in?
* What themes or areas of interest are central to your work?
@atran
atran / gist:c9ac7c5b4d8a7d60e2256430658c69af
Last active February 28, 2025 21:15
Master Prompt: Applying Core Prompt Techniques to Your Project
I have attached an image of my project, which includes an input, parameters, and an output structure.
Generate a structured list of copy-and-paste prompts that will help me iteratively refine, analyze, and expand my project. These prompts should align with the core techniques listed below. Each should be written as if I am asking an AI model a question to engage with my project more effectively.
Each prompt should:
• Reference my project’s specific input, parameters, and output
• Follow the structure of the associated technique
• Encourage deeper exploration of interactive workflows, system dependencies, or generative design
Provide 14 prompts following this structure:”
@atran
atran / jquery-exercises.md
Last active June 16, 2022 17:04 — forked from toolness/jquery-exercises.md
jQuery Exercises

Here are some mini exercises to challenge your jQuery skills a bit.

Instructions

Create a new HTML page locally with jQuery installed in it, called jquery-hw.html

Exercise 1

HTML

@atran
atran / .editorconfig
Created December 11, 2018 20:53
Hello
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org
root = true
[*]
end_of_line = lf
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
### Keybase proof
I hereby claim:
* I am atran on github.
* I am atran (https://keybase.io/atran) on keybase.
* I have a public key whose fingerprint is 2FEC 5FF8 6F8F 83F5 4528 B60D 6830 EC24 950C 0B1B
To claim this, I am signing this object:
@atran
atran / gist:afb94ea1e3550e104598
Created August 20, 2014 01:10
Play MP3s with pyaudio
import pyaudio
import mad
import sys
if len(sys.argv) < 2:
print "Plays a wave file.\n\n" +\
"Usage: %s filename.wav" % sys.argv[0]
sys.exit(-1)
mf = mad.MadFile(sys.argv[1])
@atran
atran / gist:d4ee982e0d68b0edb059
Created August 13, 2014 17:44
Please rotate.
$('body').bind 'orientationchange', (e) ->
orientation = if Math.abs(window.orientation) is 90 then 'landscape' else 'portrait'
$('body').removeClass('portrait landscape')
.addClass(orientation)
.trigger('turn', orientation: orientation)
@atran
atran / gist:6924472
Created October 10, 2013 19:52
squash commits
git rebase -i HEAD~2
git push origin +master
@atran
atran / new_gist_file
Created September 18, 2013 23:30
Download a list of files with renamed filename
for i in `cat list.txt`; do wget --content-disposition $i; done