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
export interface PolonoElement { | |
type: string; | |
x: number; | |
y: number; | |
rotation: number; | |
locked: boolean; | |
// effects | |
blurEnabled: boolean; | |
blurRadius: number; |
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 RelationsTest extends TestFeatureCase | |
{ | |
public function testSearchColumnsWithScope() | |
{ | |
$user = $this->users->random(); | |
$params = [ | |
'search' => $user->email, | |
'model' => Crypt::encryptString(EmptyUserModel::class), |
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
``` | |
meili_1 | [2021-12-03T14:18:45Z INFO actix_web::middleware::logger] 172.18.0.5:41356 "POST /indexes/downloads/search HTTP/1.1" 200 108 "-" "GuzzleHttp/7" 0.001460 | |
meili_1 | [2021-12-03T14:18:45Z DEBUG meilisearch_http::routes::indexes::search] search called with params: SearchQuery { q: Some("\"3555\""), offset: None, limit: 8, attributes_to_retrieve: None, attributes_to_crop: None, crop_length: 200, attributes_to_highlight: None, matches: false, filter: Some(String("(account_ids=1 OR account_ids=2 OR account_ids=3 OR account_ids=4 OR account_ids=5 OR account_ids=6 OR account_ids=7 OR account_ids=8 OR account_ids=9 OR account_ids=10 OR account_ids=11 OR account_ids=12 OR account_ids=13 OR account_ids=14 OR account_ids=15 OR account_ids=16 OR account_ids=17 OR account_ids=18 OR account_ids=19 OR account_ids=20 OR account_ids=21 OR account_ids=22 OR account_ids=23 OR account_ids=24 OR account_ids=25 OR account_ids=26 OR account_ids=27 OR account_ids=28 OR account_ids=29 OR account_ids=30 OR accou |
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
class AccountContactUser extends Model | |
{ | |
use HasFactory; | |
use Filterable; | |
/** | |
* @var array | |
*/ | |
protected $allowedFilters = [ | |
'sap_id', |
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 Domain\Platform\Admin\Filters; | |
use Illuminate\Database\Eloquent\Builder; | |
use Orchid\Filters\Filter; | |
use Orchid\Screen\Fields\Input; | |
class NameFilter extends Filter | |
{ |
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
#!/bin/bash | |
# grab the latest backup from the warehouse data hoarder | |
# this file goes in the root of the nanobox project. | |
# it assumes you followed the backup guide: | |
# https://content.nanobox.io/data-safety-with-nanobox-backup-and-recovery/ | |
search=${1:-backup} | |
port=7410 | |
address="https://localhost:$port/blobs" |
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
$ nanobox build --clear-cache -v | |
Building runtime : | |
Starting docker container : | |
Preparing environment for build : | |
- Copying ssh keys into the build environment... | |
- Setting up directories and permissions... | |
- Cloning engine : | |
Cloning into ‘engine’... | |
remote: Enumerating objects: 3, done. | |
remote: Counting objects: 100% (3/3), done. |
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
module.exports = function(Chart) { | |
"use strict"; | |
var helpers = Chart.helpers; | |
var defaultConfig = { | |
geometry: 'vertical', // horizontal/vertical | |
range: { | |
startValue: -150, | |
endValue: 300 |
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
#!/bin/bash | |
### ABOUT: See: http://gist.github.com/366269 | |
### Runs rsync, retrying on errors up to a maximum number of tries. | |
### On failure script waits for internect connection to come back up by pinging google.com before continuing. | |
### | |
### Usage: $ ./rsync-retry.sh source destination | |
### Example: $ ./rsync-retry.sh [email protected]:~/* ~/destination/path/ | |
### | |
### INPORTANT: |
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
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi | |
#deb http://archive.raspbian.org/raspbian wheezy main contrib non-free rpi | |
#deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free rpi |
NewerOlder