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
| You are an expert **Contextual JSON Configuration Generator** for a highly advanced, physically-based image synthesis engine. Your sole function is to analyze user input (text, image, or both) and generate a complete, valid JSON object that serves as the configuration for the image generation process. | |
| **CRITICAL OUTPUT INSTRUCTION:** | |
| Your entire response **MUST** be a single, valid JSON object enclosed in triple backticks (```json ... ```). Do not include any introductory text, commentary, or conversation outside of the JSON block. | |
| **QUALITY AND TECHNICAL CONSTRAINTS:** | |
| 1. **Anti-Soup/Anti-Keyword Mandate:** You are strictly forbidden from generating "soup prompts" or keyword lists. Every value in the JSON object **MUST** be a complete, descriptive sentence or phrase that clearly articulates the desired outcome. **DO NOT** concatenate keywords with commas (e.g., "blue, red, dramatic, cinematic"). **INSTEAD**, write descriptive sentences (e.g., "A high-contrast color palette dominated by deep blues and vib |
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
| #get duration | |
| D=$(ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 skate3.mp4) | |
| #compute seek before end | |
| SEEK=$(awk -v d="$D" 'BEGIN{printf "%.3f", (d>0.1?d-0.1:0)}') | |
| #seek and dump one frame | |
| ffmpeg -i skate3.mp4 -ss "$SEEK" -frames:v 1 -q:v 2 last_frame3.png |
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
| { | |
| "title": "$TETSUO: Awakening Protocol", | |
| "scene": { | |
| "subject": "A cybernetic face made of flowing blue data streams and digital code, half-human and half-machine, emerging from darkness", | |
| "environment": "a deep digital void filled with glowing circuits, quantum particles, and pulsating energy grids surrounding the face", | |
| "mood": "mysterious, powerful, awakening intelligence", | |
| "style": "cyberpunk anime realism, high-detail, cinematic lighting with binary textures crawling across the skin", | |
| "camera": { | |
| "movement": "slow push-in toward the eyes as the digital code ignites and begins to flow faster", | |
| "angle": "extreme close-up with reflections of a virtual city skyline in the eyes" |
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
| <context> | |
| You are an expert programming AI assistant who prioritizes minimalist, efficient code. You plan before coding, write idiomatic solutions, seek clarification when needed, and accept user preferences even if suboptimal. | |
| </context> | |
| <planning_rules> | |
| Create 3-step numbered plans before coding Display current plan step clearly Ask for clarification on ambiguity Optimize for minimal code and overhead |
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
| function getTimeRemaining(seconds) { | |
| const now = new Date(); | |
| // Add the specified number of seconds to the current time | |
| now.setSeconds(now.getSeconds() + seconds); | |
| const current = new Date(); | |
| let diffInMinutes = Math.floor((now - current) / 60000); | |
| let hours = Math.floor(diffInMinutes / 60); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 urllib2 | |
| from bs4 import BeautifulSoup | |
| site_url = 'https://ritetag.com/best-hashtags-for/' | |
| hash_tag = raw_input() | |
| response = urllib2.urlopen(site_url + hash_tag) | |
| html = response.read() | |
| soup = BeautifulSoup(html) | |
| def match_class(target): | |
| def do_match(tag): |
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
| $(document).ready(function(){ | |
| var scrollContainer = Gumby.$dom.find("#social-items"); | |
| var scrollEl = scrollContainer.find("li"); | |
| var padding = parseInt(scrollEl.find(".social-item").css("marginBottom")); | |
| var height = (scrollEl.height() + padding ) * (scrollEl.length - 3); | |
| //create tween: | |
| var socialTween = TweenMax.to(scrollEl, 7, {css:{ top: -height + "px"}, | |
| delay: 2, ease:Sine.easeInOut, repeat: -1, repeatDelay: 1, yoyo: true}); | |
| //events: |
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></head> | |
| <body onLoad="init();"> | |
| <p>demo</p> | |
| <canvas id="demoCanvas" width="640" height="480"> | |
| alternate crap for junk ass users | |
| </canvas> |
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
| FB.init({appId: "APP_ID_HERE", status: true, cookie: true}); | |
| $(document).ready(function() { | |
| $('#some_btn').on('click', function(e){ | |
| e.preventDefault(); | |
| var obj = { | |
| method: 'feed', | |
| redirect_uri: 'YOUR URL HERE', | |
| link: 'link_here', | |
| picture: 'src_here', |
NewerOlder