This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
getDay returns a number that represents the day of the week. | |
In programming, we never start at 1 when counting. We start at 0! | |
Therefore, the seven days of the week are 0-6 (not 1-7). | |
0 is Sunday | |
1 is Monday | |
2 is Tuesday | |
3 is Wednesday |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
getDay returns a number that represents the day of the week. | |
In programming, we never start at 1 when counting. We start at 0! | |
Therefore, the seven days of the week are 0-6 (not 1-7). | |
0 is Sunday | |
1 is Monday | |
2 is Tuesday | |
3 is Wednesday |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function doSomething() { | |
if(true) { | |
let booleanValue = true; | |
} | |
console.log(booleanValue); // It'll throw an exception in the compiler because booleanValue doesn't exist out here. | |
} | |
function doSomething() { | |
if(true) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _heroes = { | |
"Doomfist": 0, | |
"Genji": 0, | |
"McCree": 0, | |
"Pharah": 0, | |
"Reaper": 0, | |
"Soldier 76": 0, | |
"Tracer": 0, | |
"Sombra": 0, | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"custom_weapons_v3" | |
{ | |
"*" //Everyone | |
{ | |
"40" // Backburner massive pushback | |
{ | |
"preserve_attributes" "1" | |
"quality" "10" //Customized | |
"1" "255 ; 2" // "airblast pushback scale" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// sample animation script | |
// | |
// | |
// commands: | |
// Animate <panel name> <variable> <target value> <interpolator> <start time> <duration> | |
// variables: | |
// FgColor | |
// BgColor | |
// Position | |
// Size |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bind KP_END "build 2; destroy 2" //Sentry | |
bind KP_DOWNARROW "build 0; destroy 0" //Dispenser | |
bind KP_PGDN "build 1; destroy 1" //Tele Entrance | |
bind KP_LEFTARROW "build 3; destroy 3" //Tele Exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// UGC 9v9 Whitelist | |
// Updated: May 26, 2015 by .blazingboy | |
// -------------------------------------------------------------------------- | |
"item_whitelist" | |
{ | |
// Paramater for unlisted items, such as newly released items not yet listed. | |
"unlisted_items_default_to" "0" | |
//Banned Items |