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
import { build } from "nuxt"; | |
import { Data } from "~/types/generated"; | |
export const useAPI = ( | |
url: string, | |
items: any, | |
meta: any, | |
item: any, | |
status: any, | |
errors: {} |
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\Services; | |
use App\Models\Entity; | |
use Illuminate\Support\Arr; | |
use Illuminate\Support\Collection; | |
class EntityTree |
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 include 'components/head.php'; ?> | |
<!-- Sidebar --> | |
<?php include 'components/sidebar.php'; ?> | |
<!-- /#sidebar-wrapper --> | |
<!-- Page Content --> | |
<div id="page-content-wrapper"> | |
<!-- Nav--> |
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 | |
include_once 'Db.php'; | |
class Post | |
{ | |
/* Fetch All */ | |
public function readData() | |
{ | |
try { |
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 Db | |
{ | |
private $server = "mysql:host=localhost;dbname=project"; | |
private $user = "root"; | |
private $pass = ""; |
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 | |
interface TelegramInterface | |
{ | |
public function send(); | |
} | |
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
import { Component, OnInit } from '@angular/core'; | |
import {MatDialog, MatSnackBar, MatTableDataSource} from '@angular/material'; | |
import {ActivatedRoute, Router} from '@angular/router'; | |
import {FormControl} from '@angular/forms'; | |
import {debounceTime} from 'rxjs/operators'; | |
import {CustomerService} from '../../services/customer.service'; | |
import {CustomerFormComponent} from './customer-form/customer-form.component'; | |
@Component({ | |
selector: 'bonito-customers', |
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\Model\Common; | |
class Tree { | |
//building tree | |
public function buildTree(array $elements, $parentId = 0) { | |
$branch = array(); | |
$child = array(); | |
foreach ($elements as $element) { |
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
$awaguraan = [ | |
'fuck', | |
'nagoobalhu', | |
'wtf', | |
'rundi', | |
'fui', | |
'balaaeh', | |
'amaafui', | |
'foah', | |
'foakey', |
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 | |
interface CalculateInterface{ | |
public function canculate(); | |
} | |
class PilotageCharges implements CalculateInterface{ | |
public $model; | |
public $profile_id; | |
public function __construct($model,$profile_id){ |
NewerOlder