This file contains 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
curl --location 'localhost:7860/sdapi/v1/txt2img' \ | |
--header 'Content-Type: application/json' \ | |
--data '{ | |
"height": 576, | |
"width": 1024, | |
"seed": -1, | |
"prompt": "Futuristic abandoned city, taken by plants, rust, green, destroyed robots, rain, heavy clouds, 8k, realistic", | |
"negative_prompt": "" | |
}' |
This file contains 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 | |
# Check if correct number of arguments is provided | |
if [ "$#" -ne 2 ]; then | |
echo "Usage: $0 <USER_ID> <MESSAGE_TEXT>" | |
exit 1 | |
fi | |
# Assign input arguments to variables | |
TOPIC="projects/yopa-433507/topics/backend_messages" |
This file contains 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 | |
# Variables | |
SSID="Skynet" | |
PASSWORD="test12345678" | |
# Ensure network interface is correct; change `en0` if necessary | |
INTERFACE="en0" | |
function debug_message() { |
This file contains 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
{ | |
email [email protected] | |
} | |
test01.mydomain.tld { | |
reverse_proxy http://frontend:8080 | |
} |
This file contains 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
2024-07-31 03:12:41,869:DEBUG:User Input: "give me 10 suggestions on article titles around robotics and AI and the impact on workforce. The titles must not contain colons." | |
2024-07-31 03:12:41,870:DEBUG:Director to Creative: "Here are the user's specific instructions: 'give me 10 suggestions on article titles around robotics and AI and the impact on workforce. The titles must not contain colons.'" | |
2024-07-31 03:12:46,303:DEBUG:Creative Agent's Suggestions: | |
1. "Rise of the Bots: How Robotics and AI are Redefining the Future of Work" | |
2. "The Automated Age: Navigating the Workforce Revolution with AI and Robotics" | |
3. "From Assembly Lines to Algorithms: The Robotic Transformation of Employment" | |
4. "Humans vs. Machines: The Impact of AI on Job Security and Career Evolution" | |
5. "Smart Machines, Smarter Workforce: Embracing AI and Robotics in Modern Employment" |
This file contains 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
# pip3 install pyobjc | |
while true; do clear; echo "Mouse Position:"; python3 -c 'import Quartz.CoreGraphics as CG; print(CG.CGEventGetLocation(CG.CGEventCreate(None)))'; sleep 0.1; done |
This file contains 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
curl -i http://127.0.0.1:11434/api/generate -d '{ | |
"model": "gemma:2b", | |
"prompt": "Why is the sky blue?", | |
"options": { | |
"temperature": 0.7 | |
} | |
}' |
This file contains 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
find . -type f -exec openssl enc -aes-256-cbc -pass pass:mypassword -nosalt -in {} -out {}.tmp \; -exec mv {}.tmp {} \; |
This file contains 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
"Write in a conversational and engaging style that mirrors a friendly chat. Use descriptive language to vividly convey ideas, choosing action verbs and thoughtful adjectives for depth. Incorporate provocative phrases to spark curiosity and human-centered words to emphasize emotions and connections. | |
Avoid excessive jargon, fluff, and clichés. Prioritize clear, specific language over formal or ambiguous terms. Steer clear of negative tones and overly complex expressions, aiming for approachable and relatable wording." |
This file contains 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
T - Terrible user interfaces | |
U - Unreliable databases | |
R - Redundant frameworks | |
D - Dated infrastructure |
NewerOlder