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
extends Control | |
# Mostly inspired off https://www.youtube.com/watch?v=80cwYGvKB9U | |
# and https://github.com/godotengine/godot/issues/8003 | |
onready var input_node: LineEdit = $Input | |
onready var output_node: TextEdit = $Output | |
# Dump some commands in here for convenience | |
var history = ["get_tree().get_root().get_node('Main')"] |
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
/** | |
* Your base class for migrations (or simply your custom migration class). | |
*/ | |
abstract class YourMigrationBaseClass extends Migration { | |
/** | |
* Runs before an import starts. | |
* | |
* Used to disable any rules which could cause problems during | |
* the import. |
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
<?php | |
/** | |
* Checks whether a function can be called without falling on "flood" usage. | |
* | |
* USAGE: This function returns TRUE if the call to the desired function can be | |
* safely made. If not, it will stop execution for 3 seconds. A caller function | |
* can then use it to check for a negative value, and make a recursive call to | |
* themselves until this returns 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
<?php | |
/** | |
* @file | |
* emmet_wrapper module. | |
* Helper classes to wrap contents with markup generated from emmet strings. | |
*/ | |
/** | |
* Expands an emmet-like string into actual HTML markup. |
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
<?php | |
/** | |
* @file | |
* Plugin to display the reply add form for a given entity and field. | |
*/ | |
/** | |
* Plugins are described by creating a $plugin array which will be used | |
* by the system that includes this file. |