Skip to content

Instantly share code, notes, and snippets.

View yanneves's full-sized avatar

Yann イーベス Eves yanneves

View GitHub Profile
@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:
...
@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 / package.json
Last active May 15, 2021 01:03
Media batch rename
{
"type": "module"
}
@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 / .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 / keybase.md
Created April 30, 2017 09:43
keybase.md

Keybase proof

I hereby claim:

  • I am yanneves on github.
  • I am yanneves (https://keybase.io/yanneves) on keybase.
  • I have a public key whose fingerprint is D9FB 11A7 436F 30C2 72FA 99D1 3A99 F798 D6FE A51B

To claim this, I am signing this object:

@yanneves
yanneves / index.html
Last active February 13, 2017 23:07
Mocha Programmatic API w/ JSPM
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Example Mocha Test</title>
</head>
<body>
<!-- Required for browser reporter -->
<div id="mocha"></div>
@yanneves
yanneves / iso-countries.json
Created November 9, 2016 16:28
ISO JSON Countries & Nationalities
[
{"label":"Andorra"},
{"label":"United Arab Emirates"},
{"label":"Afghanistan"},
{"label":"Antigua and Barbuda"},
{"label":"Anguilla"},
{"label":"Albania"},
{"label":"Armenia"},
{"label":"Angola"},
{"label":"Antarctica"},
@yanneves
yanneves / index.html
Created June 3, 2016 10:59
Layout - Content - Presentation divide
<!-- LAYOUT -->
<ul>
<li>
<button></button>
</li>
<li>
<button></button>
</li>
<li>
<button></button>
@yanneves
yanneves / gist:3f600b5f089eb239803a
Last active March 18, 2016 10:56
Technical task planning template
=====
xSP
= As a <type of consumer>, I would like <some feature>, so that I may <benefit somehow>
...
=====
Stories
=====
=====