Skip to content

Instantly share code, notes, and snippets.

View BasToTheMax's full-sized avatar
😀
Working on the open source

Bas BasToTheMax

😀
Working on the open source
View GitHub Profile
@amitu
amitu / gist:4633274
Created January 25, 2013 10:13
zsh preexec hook example
# less -F: Causes less to automatically exit if the entire file can be displayed on the first screen.
# .zshrc
function printc () {
print "printc" $1
}
autoload -Uz add-zsh-hook
@BasToTheMax
BasToTheMax / Form.html
Last active June 23, 2020 12:43
Form and getting results with PHP
<html>
<body>
<form action="Get.php" method="get">
Name: <input type="text" name="name"><br>
E-mail: <input type="text" name="email"><br>
<input type="submit">
</form>
</body>
@NurMarvin
NurMarvin / en-PT.json
Created November 14, 2022 19:07
Discord's Messages for Pirate English
{
"NOTIFICATION_TITLE_START_GAME": "Matey Plunderin'",
"NOTIFICATION_BODY_START_GAME": "!!{username}!! be plunderin' !!{gameName}!!!",
"NOTIFICATION_MESSAGE_CREATE_GUILD_ACTIVITY_JOIN": "!!{user}!! invited th' cabin t' plunder !!{game}!!",
"NOTIFICATION_MESSAGE_CREATE_GROUP_DM_ACTIVITY_JOIN": "!!{user}!! invited th' crew t' plunder !!{game}!!",
"NOTIFICATION_MESSAGE_CREATE_DM_ACTIVITY_JOIN": "!!{user}!! invited ye t' plunder !!{game}!!",
"NOTIFICATION_MESSAGE_CREATE_GUILD_ACTIVITY_LISTEN": "!!{user}!! invited th' cabin t' toon in on Spotify",
"NOTIFICATION_MESSAGE_CREATE_GROUP_DM_ACTIVITY_LISTEN": "{user} invited th' deck to list'n on Spotify",
"NOTIFICATION_MESSAGE_CREATE_DM_ACTIVITY_LISTEN": "{user} invited ye to list'n on Spotify",
"ERRORS_ACTION_TO_TAKE": "We've tracked th' error n' will get right on it.",