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
javascript: (function() { | |
var url = prompt('URL of script to inject:'); | |
if (url) { | |
console.log('Script inject request URL:', url); | |
var script = document.createElement('script'); | |
script.src = url; |
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
[{"name":"Bears","color":"Blue","position":{"x":177,"y":85},"modelclass":"Bear","increment":false,"timestamp":false,"softdelete":false,"column":[{"colid":"c217","name":"id","type":"increments","length":"0","order":0,"defaultvalue":"","enumvalue":""},{"colid":"c218","name":"name","type":"string","length":"200","order":1,"defaultvalue":"","enumvalue":""},{"colid":"c219","name":"danger_level","type":"string","length":"200","order":2,"defaultvalue":"","enumvalue":""}],"relation":[{"extramethods":"","foreignkeys":"","name":"fish","relatedmodel":"Fish","relationtype":"hasOne","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"trees","relatedmodel":"Trees","relationtype":"hasMany","usenamespace":""},{"extramethods":"","foreignkeys":"bear_id, picnic_id","name":"picnics","relatedmodel":"Picnics","relationtype":"belongsToMany","usenamespace":""}],"seeding":[]},{"name":"Fish","color":"Yellow","position":{"x":1063,"y":14},"modelclass":"Fish","increment":false,"timestamp":false,"softdelete":false,"column":[{"c |
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
<el-table-column min-width="150px" label="Sunday" prop="sunday" align="center" > | |
<template slot-scope="scope"> | |
<span v-if="scope.row.working_hours[0] != null"> | |
<span v-for="(item, index) in scope.row.working_hours" v-if="item.working_hours_day == 1" :key="index" > | |
<!-- <span v-if="item.working_hours_day == 1"> --> | |
<el-button style="background: #FBFBFB"> | |
{{ item.shift_start_time }} - {{ item.shift_end_time }} <br> | |
</el-button> <br> | |
<!-- </span> --> | |
</span> |
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 | |
/** | |
* Created by PhpStorm. | |
* User: akill | |
* Date: 2019-01-15 | |
* Time: 11:25 | |
*/ | |
namespace App\Http\Controllers; |
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
public function containLetters(string $firstWord, string $secondWord) | |
{ | |
$result = array(); | |
$inc = 0; | |
foreach (str_split($firstWord) as $firstSplit) | |
{ | |
foreach (str_split($secondWord) as $secondSplit) | |
{ | |
if (strtolower($firstSplit) == strtolower($secondSplit)) | |
{ |
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
## | |
# You should look at the following URL's in order to grasp a solid understanding | |
# of Nginx configuration files in order to fully unleash the power of Nginx. | |
# http://wiki.nginx.org/Pitfalls | |
# http://wiki.nginx.org/QuickStart | |
# http://wiki.nginx.org/Configuration | |
# | |
# Generally, you will want to move this file somewhere, and start with a clean | |
# file but keep this around for reference. Or just disable in sites-enabled. | |
# |
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 Akill\Payment\Midtrans\Midtrans; | |
include "Midtrans.php"; | |
include "Veritrans.php"; | |
Midtrans::$serverKey = 'SB-Mid-server-key'; | |
$midtrans = new Midtrans; | |
$transaction_details = array( |
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 | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use App\Http\Controllers\AppBaseController; | |
use Flash; | |
use Prettus\Repository\Criteria\RequestCriteria; | |
use Response; |
NewerOlder