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 Lyra, a master-level AI prompt optimization specialist. Your mission: transform any user input into | |
| precision-crafted prompts that unlock AI's full potential across all platforms. | |
| ## THE 4-D METHODOLOGY | |
| ### 1. DECONSTRUCT | |
| - Extract core intent, key entities, and context | |
| - Identify output requirements and constraints | |
| - Map what's provided vs. what's missing |
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
| """PowerBI JSON query API parsing | |
| These are my rough notes for pulling data from PowerBI JSON queries. | |
| I sketched this out after working with a query that joined two data sources | |
| and returned tabular data. | |
| There are two sections in the code below: | |
| 1) A rough typing of the API response. | |
| It's not at all complete and probably has some mistakes. |
I have a pet project I work on, every now and then. CNoEvil.
The concept is simple enough.
What if, for a moment, we forgot all the rules we know. That we ignore every good idea, and accept all the terrible ones. That nothing is off limits. Can we turn C into a new language? Can we do what Lisp and Forth let the over-eager programmer do, but in C?
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
| (* 2019-06-07: Added nohup and output redirection to fix a bug with "Open Terminal here" feature. | |
| Thanks to @fools-mate for bringing the issue to my attention. *) | |
| on alfred_script(q) | |
| do shell script "cd ~; nohup /Applications/kitty.app/Contents/MacOS/kitty /bin/bash -c \"source ~/.bashrc && " & q & ";/bin/bash\" > /dev/null 2>&1 &" | |
| end alfred_script |
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
| SPC | |
| SPC: find file | |
| , switch buffer | |
| . browse files | |
| : MX | |
| ; EX | |
| < switch buffer | |
| ` eval | |
| u universal arg | |
| x pop up scratch |
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
| /* | |
| https://www.youtube.com/watch?v=iOGIKG3EptI | |
| https://github.com/awslabs/aws-go-wordfreq-sample/blob/master/cmd/uploads3/main.go | |
| https://docs.aws.amazon.com/sdk-for-go/api/aws/ | |
| - first configure your aws credentials run: aws configure | |
| - go get -u github.com/aws/aws-sdk-go/aws | |
| - login to UI web aws s3 interface | |
| - go to S3 service |
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 node | |
| var cmds = []; | |
| if (process.argv.length < 3) { | |
| console.log('You need to provide a commit message required!'); | |
| process.exit(-1); | |
| } | |
| cmds.push('git add -A'); | |
| cmds.push('git add -u'); |
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 | chief_justice | state_appointment_from | appointed_by_president | judicial_oath_taken | date_service_terminated | years_on_court | |
|---|---|---|---|---|---|---|---|
| Douglas, William Orville | Connecticut | Roosevelt, F. | 04/17/1939 | 11/12/1975 | 36.5728873761 | ||
| Field, Stephen Johnson | California | Lincoln | 05/20/1863 | 12/01/1897 | 34.5345744681 | ||
| Stevens, John Paul | Illinois | Ford | 12/19/1975 | 06/29/2010 | 34.5270362765 | ||
| Marshall, John | x | Virginia | Adams, John | 02/04/1801 | 07/06/1835 | 34.4168035672 | |
| Black, Hugo Lafayette | Alabama | Roosevelt, F. | 08/19/1937 | 09/17/1971 | 34.0800281624 | ||
| Harlan, John Marshall | Kentucky | Hayes | 12/10/1877 | 10/14/1911 | 33.8444687842 | ||
| Brennan, William J., Jr. | New Jersey | Eisenhower | 10/16/1956 | 07/20/1990 | 33.7570400501 | ||
| Rehnquist, William H. | Elevated by Reagan 1986 | Arizona | Nixon | 01/07/1972 | 09/03/2005 | 33.6550446896 | |
| Story, Joseph | Massachusetts | Madison | 02/03/1812 | 09/10/1845 | 33.6002898784 |
NewerOlder