start new:
tmux
start new with session name:
tmux new -s myname
-- Remove the history from | |
rm -rf .git | |
-- recreate the repos from the current content only | |
git init | |
git add . | |
git commit -m "Initial commit" | |
-- push to the github remote repos ensuring you overwrite history | |
git remote add origin [email protected]:<YOUR ACCOUNT>/<YOUR REPOS>.git |
public class CsvDeserializer<T> | |
where T : new() | |
{ | |
private readonly string separator; | |
public CsvDeserializer() | |
: this(";") | |
{ | |
} |
loading lines: "https://gist.github.com/fourjr/f94fc112cef6da07fc274216d5755420" | |
Somewhere in 2020, they reduced the messages from 38 to 13.. This is the updated list on 5 December 2020. | |
Ctrl+Shift+I > Application > Frames > top > Scripts > a3762dfb973e0a7a21ba.js > ctrl+f "GUILD_MEMBER_JOIN" or https://canary.discordapp.com/assets/a3762dfb973e0a7a21ba.js | |
SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_001: "[!!{username}!!](usernameOnClick) joined the party.", | |
SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_002: "[!!{username}!!](usernameOnClick) is here.", | |
SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_003: "Welcome, [!!{username}!!](usernameOnClick). We hope you brought pizza.", | |
SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_004: "A wild [!!{username}!!](usernameOnClick) appeared.", | |
SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_005: "[!!{username}!!](usernameOnClick) just landed.", |
// Discord all events! | |
// A quick and dirty fleshing out of the discord.js event listeners (not tested at all!) | |
// listed here -> https://discord.js.org/#/docs/main/stable/class/Client | |
// Learn from this, do not just copy it mofo! | |
// | |
// Saved to -> https://gist.github.com/koad/316b265a91d933fd1b62dddfcc3ff584 | |
// Last Updated -> Halloween 2022 | |
/* |
var head = document.getElementsByTagName('HEAD')[0]; | |
const queryString = window.location.search; | |
const urlParams = new URLSearchParams(queryString); | |
const theme = urlParams.get('theme') | |
var link = document.createElement('link'); | |
link.rel = 'stylesheet'; | |
link.type = 'text/css'; |
apt install apt-transport-https ca-certificates wget dirmngr gnupg software-properties-common -y | |
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - | |
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ | |
apt update -y | |
apt install adoptopenjdk-8-hotspot -y | |
clear | |
java -version |
#!/bin/bash | |
name='yourName' | |
command="yourCommand" # Use ${0%/*} to go in the folder from the start.sh | |
timeout='120' | |
script_path="${0}" | |
if [[ $1 == "--non-background" ]] | |
then |
#!/bin/bash | |
GRADLE_VERSION=6.5 | |
wget "https://services.gradle.org/distributions/gradle-$GRADLE_VERSION-bin.zip" -P /gradle | |
unzip /gradle/gradle-$GRADLE_VERSION-bin.zip -d /gradle/ | |
export PATH=$PATH:/gradle/gradle-$GRADLE_VERSION/bin |
# THIS GIST IS A SMALL DIRECTORY OF THE DEFAULT `/etc/nginx` |