Skip to content

Instantly share code, notes, and snippets.

View PatricNox's full-sized avatar
🔰
Open-Source enthusiast

PatricNox PatricNox

🔰
Open-Source enthusiast
View GitHub Profile
@PatricNox
PatricNox / boss_noth.cpp
Created June 21, 2019 11:59
TrinityCore 3.3.5 Naxxramas BossScript
/*
* Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@PatricNox
PatricNox / index.php
Last active May 21, 2019 19:26
Example: Checkbox with values PHP
<?php
// If they selected the first checkbox!
if (isset($_POST['checkbox_1']) {
echo "You selected: $_POST['checkbox_1']";
}
// If they selected the second checkbox!
if (isset($_POST['checkbox_1'])) {
echo "You selected: $_POST['checkbox_1']";
@PatricNox
PatricNox / insane-darude-sandstorm.ino
Last active September 3, 2019 11:30
insane darude sandstorm - Processor & Arduino
#define NOTE_B0 31
#define NOTE_C1 33
#define NOTE_CS1 35
#define NOTE_D1 37
#define NOTE_DS1 39
#define NOTE_E1 41
#define NOTE_F1 44
#define NOTE_FS1 46
#define NOTE_G1 49
#define NOTE_GS1 52