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
{ | |
"$schema": "https://zed.dev/schema/themes/v0.1.0.json", | |
"name": "Peter Monokai", | |
"author": "Peter Nguyen", | |
"themes": [ | |
{ | |
"name": "Peter-Monokai", | |
"appearance": "dark", | |
"style": { | |
"border.transparent": "#414339", |
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":"users","color":"Grey","position":{"x":83,"y":252},"classname":"TenantApp","namespace":"","increment":"","timestamp":"","softdelete":"","column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","colid":"c18","order":0},{"name":"shop_id","type":"string","length":"255","defaultvalue":"","enumvalue":"","colid":"c26","order":1},{"name":"name","type":"string","length":"255","defaultvalue":"","enumvalue":"","colid":"c34","order":2},{"name":"features","type":"text","length":"","defaultvalue":"","enumvalue":"","colid":"c48","order":3},{"name":"updated_at_min","type":"string","length":"255","defaultvalue":"","enumvalue":"","colid":"c56","order":4},{"name":"access_token","type":"text","length":"","defaultvalue":"","enumvalue":"","colid":"c64","order":5}],"relation":[],"seeding":[]},{"name":"tags","color":"Red","position":{"x":730,"y":127},"classname":"Tag","namespace":"","increment":"","timestamp":"","softdelete":"","column":[{"name":"id","type":"increments","length":"","defaultva |
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
// load the AWS SDK | |
const AWS = require('aws-sdk') | |
// load CloudFront key pair from environment variables | |
// Important: when storing your CloudFront private key as an environment variable string, | |
// you'll need to replace all line breaks with \n, like this: | |
// CF_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nMIIE...1Ar\nwLW...2eL\nFOu...k2E\n-----END RSA PRIVATE KEY-----" | |
const cloudfrontAccessKeyId = process.env.CF_ACCESS_KEY_ID | |
const cloudFrontPrivateKey = process.env.CF_PRIVATE_KEY | |
const signer = new AWS.CloudFront.Signer(cloudfrontAccessKeyId, cloudFrontPrivateKey) |
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 | |
$collection = $this->service->accountRegistrantsCollection($this->params); | |
Utils::exportCSV($collection, Consts::EXPORT_CHUNK_SIZE, $this->file->file_name, [ | |
'email' => __('excel.account_registrant.mail_address'), | |
'full_name' => __('excel.account_registrant.user_name'), | |
'email_affiliate' => __('excel.account_registrant.referral_email'), | |
'email_verified' => __('excel.account_registrant.mail_auth'), | |
'input_info' => __('excel.account_registrant.registered_information'), | |
'phone_verified' => __('excel.account_registrant.phone_verify'), |
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 \Classes; | |
use Config; | |
class JWTAuthServiceProvider extends \Tymon\JWTAuth\Providers\JWTAuthServiceProvider | |
{ | |
/** | |
* Helper to get the config values. | |
* |
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
sudo update-alternatives --config php |
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\Http\UploadedFile; | |
use Validator; | |
/** | |
* Bootstrap any application services. | |
* | |
* @return void | |
*/ | |
public function boot() |
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":"newsfeeds","color":"Red","position":{"x":239,"y":173},"classname":"Newsfeed","namespace":"","increment":"","timestamp":"","softdelete":"","column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","colid":"c21","order":0},{"name":"title","type":"string","length":"500","defaultvalue":"","enumvalue":"","colid":"c29","order":1},{"name":"content","type":"text","length":"","defaultvalue":"","enumvalue":"","colid":"c37","order":2},{"name":"images","type":"binary","length":"","defaultvalue":"","enumvalue":"","colid":"c45","order":3},{"name":"type","type":"tinyInteger","length":"","defaultvalue":"","enumvalue":"","colid":"c61","order":4},{"name":"calendar_id","type":"integer","length":"","defaultvalue":"","enumvalue":"","colid":"c407","order":5}],"relation":[],"seeding":[]},{"name":"economic_calendar","color":"Green","position":{"x":635,"y":185},"classname":"EconomicCalendar","namespace":"","increment":"","timestamp":"","softdelete":"","column":[{"name":"id","type":"increments", |
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":"users","color":"Red","position":{"x":92,"y":126},"classname":"User","namespace":"","increment":false,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c87","order":0},{"name":"username","type":"string","length":"","defaultvalue":"bogus","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c185","order":1},{"name":"password","type":"string","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c193","order":2},{"name":"gender","type":"tinyInteger","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillabl |
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":"users","color":"Red","position":{"x":92,"y":126},"classname":"User","namespace":"","increment":false,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c87","order":0},{"name":"username","type":"string","length":"","defaultvalue":"bogus","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c185","order":1},{"name":"password","type":"string","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c193","order":2},{"name":"gender","type":"tinyInteger","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillabl |
NewerOlder