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
#include <core/configuration.hpp> | |
configuration::configuration() : m_file("default.config") { | |
} | |
configuration::configuration(std::string path) : m_file(std::move(path)) {} | |
/** | |
* Check whether the options map contains a key or not | |
* |
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 | |
class CreateCompanyDiagnosticRequest extends FormRequest | |
{ | |
/** | |
* Determine if the user is authorized to make this request. | |
* | |
* @return bool | |
*/ | |
public function authorize() |
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
| Domain | Method | URI | Name | Action | Middleware | | |
+--------------------+-----------+----------------------------------------------------------+---------------------------------------------------+------------------------------------------------------------------------+--------------------------------------------------+ | |
| blog.indicate.test | GET|HEAD | / | blog.index | App\Http\Controllers\Blog\BlogController@index | web | | |
| | GET|HEAD | / | app.home | App\Http\Controllers\App\HomeController@index |
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 | |
namespace App\Models\App; | |
use Eloquent; | |
use Illuminate\Database\Eloquent\Builder; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Support\Carbon; | |
/** |
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 io.github.alexandregerault.battleroyale.commands; | |
import java.util.Optional; | |
import org.spongepowered.api.command.CommandException; | |
import org.spongepowered.api.command.CommandResult; | |
import org.spongepowered.api.command.CommandSource; | |
import org.spongepowered.api.command.args.CommandContext; | |
import org.spongepowered.api.command.spec.CommandExecutor; | |
import org.spongepowered.api.entity.living.player.Player; |
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 io.github.alexandregerault.battleroyale.data; | |
import com.flowpowered.math.vector.Vector3i; | |
import org.spongepowered.api.Sponge; | |
import org.spongepowered.api.data.DataContainer; | |
import org.spongepowered.api.data.DataHolder; | |
import org.spongepowered.api.data.DataView; | |
import org.spongepowered.api.data.manipulator.DataManipulatorBuilder; | |
import org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableData; | |
import org.spongepowered.api.data.manipulator.mutable.common.AbstractData; |
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 io.github.alexandregerault.battleroyale.data; | |
import com.flowpowered.math.vector.Vector3i; | |
import com.google.common.reflect.TypeToken; | |
import io.github.alexandregerault.battleroyale.data.PlayerRole; | |
import javax.annotation.Generated; | |
import org.spongepowered.api.data.DataQuery; | |
import org.spongepowered.api.data.key.Key; | |
import org.spongepowered.api.data.value.mutable.OptionalValue; | |
import org.spongepowered.api.data.value.mutable.Value; |
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
#!/usr/bin/python3 | |
from random import randint | |
import matplotlib.pyplot as plt | |
import numpy as np | |
def rollDice(dice): | |
return [randint(1,6) for i in range (0, dice)] | |
def bestAttackers(attackers): |
NewerOlder