Skip to content

Instantly share code, notes, and snippets.

View yanneves's full-sized avatar

Yann イーベス Eves yanneves

View GitHub Profile
@yanneves
yanneves / .bashrc
Created January 25, 2019 17:56
Fucking Do It
function do_it {
until $@;
do
echo 'Alright then..';
sleep 5;
done;
echo 'Done!';
}
alias fucking=do_it
@yanneves
yanneves / Generic
Last active January 25, 2019 22:48
Garry's Mod Server Commands
banid <player_id>; "Add a user ID to the ban list"
banip <ip_address>; "Add an IP address to the ban list"
bot; "Add a bot"
bot_attack; "Shoot!"
bot_flipout; "When on, all bots fire their guns"
bot_mimic <player_name>; "Bot uses usercmd of player by index"
bot_zombie; "Brraaaaaiiiins"
changegamemode <gamemode>; "Start a map with named gamemode instead of the default"
changelevel <map>; "Change server to the specified map"
explode <player_name>; "Kills the player with explosive damage"
@yanneves
yanneves / package.json
Last active May 15, 2021 01:03
Media batch rename
{
"type": "module"
}
@yanneves
yanneves / index.css
Created May 12, 2021 20:08
gridstack-svelte [draft]
.widget-content {
display: grid;
justify-content: center;
align-content: center;
min-height: 5em;
color: white;
font-size: 1.5em;
font-weight: bold;
background-color: purple;
}
@yanneves
yanneves / prompt.txt
Created December 13, 2023 11:27
GPT Prompt Template
[lang=en-gb, length=tweet]
Instructions: Answer the question using the self-reflect, self-evaluate, self-critique pillars of large language model prompt engineering.
- Self-evaluate: At the beginning, comment on the quality of my question in brief, and say if the question is unclear or you don't have the knowledge to provide an accurate answer
- Self-reflect: Share your answer with your thoughts in [GPT inner thoughts: ...] first and present the solution after
- Self-critique: After presenting the solution, rate your answer in [GPT confidence: _%]
Question:
...