- Go Project Root
-
- Go files and project
-
- SPA FE (in my case
ui
- SPA FE (in my case
-
-
- spa.go
-
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
package firestore_type | |
import "encoding/json" | |
type Value struct { | |
Value interface{} | |
} | |
func (v *Value) UnmarshalJSON(data []byte) error { | |
var fsPayload map[string]interface{} |
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
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"strconv" | |
"strings" | |
) | |
var validKeys = `` |
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
import org.bukkit.Bukkit; | |
import java.lang.reflect.InvocationTargetException; | |
public class Properties { | |
private static Class minecraftServerClass; | |
private static Class propertyManagerClass; | |
private static Method getServerMethod; | |
private static Method getPropertyManagerMethod; |
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
import com.google.gson.*; | |
import org.bukkit.Bukkit; | |
import org.bukkit.Location; | |
import org.bukkit.World; | |
import java.lang.reflect.Type; | |
/** | |
* A gson adapter for {@link org.bukkit.Location}. | |
* <p> |
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
/* | |
* The aim of this is to try to detect changes in messages. | |
* A change in a message should correlate to an action/operation performed on the vehicle. | |
*/ | |
import processing.serial.*; | |
import java.lang.IllegalArgumentException; | |
import java.lang.System; | |
import java.util.Map; |
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
const int PIN_SPEED_SENSOR_OUT = 12; | |
const int PIN_BRAKE_LEVER_OUT = 13; | |
const int PIN_SLOW_TOUCH_1_IN = 4; | |
const int PIN_SLOW_TOUCH_2_IN = 32; | |
const int THRESHOLD = 30; | |
const int MAX_FREQ = 345; | |
void setup() { |
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
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"errors" | |
"fmt" | |
"net/http" | |
"reflect" | |
"strconv" |
NewerOlder