aspe:keyoxide.org:QMHCMT55EODYTEBQ5C7QOAFN6A
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
| #!/usr/bin/env python3 | |
| """Test which Copilot models support Responses API vs Chat Completions. | |
| Usage: | |
| python3 scripts/test-copilot-models.py | |
| Requires: gh CLI authenticated (uses `gh auth token` for credentials). | |
| """ | |
| import json |
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
| export {}; | |
| for (let date = new Date('2021-06-19'); date <= new Date(); date.setDate(date.getDate() + 1)) { | |
| const formattedDate = date.toISOString().split('T')[0]; | |
| const url = `https://www.nytimes.com/svc/wordle/v2/${formattedDate}.json`; | |
| const response = await fetch(url).then(u => u.json()); | |
| console.log(`${response.print_date} ${response.solution}`) | |
| } |
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
| javascript:(()%3D%3E%7Bif(window.bskyTrustedUsersInitialized)return%20void%20console.log(%22Trusted%20Users%20script%20already%20initialized%22)%3Bwindow.bskyTrustedUsersInitialized%3D!0%3Bconst%20e%3D%22bsky_trusted_users%22%2Ct%3D%22bsky_verification_cache%22%2Cn%3D()%3D%3E%7Bconst%20t%3DlocalStorage.getItem(e)%3Breturn%20t%3FJSON.parse(t)%3A%5B%5D%7D%2Co%3Dt%3D%3E%7BlocalStorage.setItem(e%2CJSON.stringify(t))%7D%2Cr%3De%3D%3E%7Bconst%20t%3Dn()%3Bt.includes(e)%7C%7C(t.push(e)%2Co(t))%7D%2Cs%3De%3D%3E%7Bconst%20t%3Dn().filter((t%3D%3Et!%3D%3De))%3Bo(t)%7D%2Ci%3D()%3D%3E%7Bconst%20e%3DlocalStorage.getItem(t)%3Breturn%20e%3FJSON.parse(e)%3A%7B%7D%7D%2Cc%3De%3D%3E%7BlocalStorage.setItem(t%2CJSON.stringify(e))%7D%2Cd%3De%3D%3Ei()%5Be%5D%7C%7Cnull%2Cl%3De%3D%3Ee%26%26Date.now()-e.timestamp%3C864e5%2Ca%3De%3D%3E%7Bconst%20t%3Di()%3Bt%5Be%5D%26%26(delete%20t%5Be%5D%2Cc(t)%2Cconsole.log(%60Removed%20%24%7Be%7D%20from%20verification%20cache%60))%7D%3Blet%20p%3D%5B%5D%2Cu%3Dnull%3Bconst%20m%3Dasync%20e%3D%3E%7Bu%3De%3 |
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
| package main | |
| import ( | |
| "fmt" | |
| "os/exec" | |
| ) | |
| func main() { | |
| source := "https://tangled.sh/@tangled.sh/core" | |
| repoPath := "core" // local folder name |
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": "3d-Skin-Layers", | |
| "version": "1.7.4" | |
| }, | |
| { | |
| "name": "Advancement Plaques", | |
| "version": "1.6.8" | |
| }, | |
| { |
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
| (async () => { | |
| const formData = new FormData(); | |
| formData.append("token", process.env.SLACK_USER_TOKEN as string); | |
| formData.append( | |
| "profile", | |
| JSON.stringify({ | |
| status_emoji: ":thinking:", | |
| status_expiration: 1742011199, // omit for no expiration | |
| status_text: "test status", | |
| }), |
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 | |
| id="rayTracer" | |
| style="display: flex; flex-direction: column; min-height: 30rem" | |
| > | |
| <div class="controls" style="display: flex; flex-direction: column"> | |
| <div style="display: flex; gap: 20px; align-items: center"> | |
| <div> | |
| <label>Mirror Type:</label> | |
| <select id="mirrorType"> | |
| <option value="concave">Concave Mirror</option> |
NewerOlder