This file contains hidden or 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
webbugs|true | |
gamepad|false | |
syncnotify|true | |
fpWebGL|[] | |
useragentspoof|off | |
syncfromnotify|true | |
fpBattery|[] | |
frame|true | |
fpBluetooth|[] | |
uaspoofallow|false |
This file contains hidden or 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
[mysqld] | |
pid-file = /var/run/mysqld/mysqld.pid | |
socket = /var/run/mysqld/mysqld.sock | |
datadir = /var/lib/mysql | |
log-error = /var/log/mysql/error.log | |
default-authentication-plugin = mysql_native_password | |
This file contains hidden or 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
feature/controller-shipping-refactor | |
027d43e6f1ddb261cb0021695af6bca42a73a9c0 is the first bad commit | |
commit 027d43e6f1ddb261cb0021695af6bca42a73a9c0 | |
Author: Zero <[email protected]> | |
Date: Mon Sep 23 10:14:43 2019 +0800 | |
Catch exception from SplitShipmentService | |
app/Http/Controllers/ApiShipmentController.php | 6 +++++- |
This file contains hidden or 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 webduino = require('webduino-js'); | |
board = new webduino.WebArduino('Ge8pn'); | |
board.on('ready', function (board) { | |
var pin = new webduino.core.Pin(board, 10, Pin.DOUT); | |
board.systemReset(); | |
board.samplingInterval = 250; | |
var replay = new webduino.module.Relay(board, 10); |
This file contains hidden or 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 url(../../../stylesheets/application.css); | |
/* A1 theme version 2.0.0 by Kirill Bezrukov www.redmineup.com */ | |
#header { | |
background: #394956; | |
min-height: 5em; | |
padding: 0px; | |
min-height: initial; |
This file contains hidden or 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 | |
function getServerKey(string $key): string | |
{ | |
if (array_key_exists($key, $_SERVER)) { | |
return $_SERVER[$key]; | |
} | |
return ''; | |
} | |
$orderedKey = [ |
This file contains hidden or 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 | |
/** | |
* This file is orginzed from @FDisk from StackOverflow | |
* @see https://stackoverflow.com/a/28608156/8681141 | |
*/ | |
namespace App\Http\Middleware; | |
use Closure; |
This file contains hidden or 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
<scheme name="Darcula" version="142" parent_scheme="Darcula"> | |
<metaInfo> | |
<property name="created">2022-02-18T21:35:09</property> | |
<property name="ide">PhpStorm</property> | |
<property name="ideVersion">2021.3.2.0.0</property> | |
<property name="modified">2022-02-18T21:35:29</property> | |
<property name="originalScheme">_@user_Darcula</property> | |
</metaInfo> | |
<attributes> | |
<option name="DEFAULT_DOC_COMMENT"> |
This file contains hidden or 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 | |
use Illuminate\Testing\TestResponse; | |
use Symfony\Component\HttpFoundation\Request as SymfonyRequest; | |
trait ApiTokenRequestTrait | |
{ | |
public function call($method, $uri, $parameters = [], $cookies = [], $files = [], $server = [], $content = null, $headers = []) | |
{ | |
$symfonyRequest = SymfonyRequest::create( |
This file contains hidden or 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/env bash | |
# usage: | |
# linodecreate NUM | |
# | |
# NUM is the number of node you want to create | |
genpassword() { | |
PASS=$( tr -dc A-Za-z0-9 </dev/urandom | head -c 5 | tr '[:upper:]' '[:lower:]' ) | |
echo -n "prefix-$PASS" |