{ ... ... "require": { "php": "^7.1.3", "doctrine/dbal": "^2.9", "fideloper/proxy": "^4.0", "guzzlehttp/guzzle": "^6.3", "laravel/framework": "5.8.*", "laravel/tinker": "^1.0",
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 | |
// functions.php | |
function memoryStats($real = false) { | |
return memory_get_usage($real); | |
} | |
function memoryStatsHuman($real = false) { | |
return (memoryStats($real) / 1024) . ' MB'; | |
} |
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 | |
// Model | |
namespace App; | |
class CloseDayBreakdownCall extends Model { | |
public $timestamps = false; | |
protected $fillable = [ | |
'api_start_date', 'api_end_date', 'api_call_datetime', |
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 App\Http\Requests; | |
use Illuminate\Http\Request; | |
use App\Jobs\DemoQueue; | |
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
h2. My Observation on Bootstrap Modal data attributes | |
======= | |
I have added to data-* attributes for Modal window to pass data on to display. | |
Data attributes are- | |
#data-fyid | |
#data-fyHead | |
In the JavaScript code- | |
` |
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
It's an administration area. A starting point for developing back-office system, intranet or a CMS | |
https://packalyst.com/packages/package/brackets/craftable |
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
GIT NOTES- | |
Create a branch in Git from another branch | |
https://stackoverflow.com/questions/4470523/create-a-branch-in-git-from-another-branch | |
For first time to fetch PHASE-3 branch on local machine: | |
git fetch && git checkout PHASE-3 | |
To fetch all latest changes from other developer(s) on your local machine: |
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 interfaces\OfferStatusCode as interfaceOSC; | |
/** | |
* Abstract class Offers Status Code | |
* | |
* |
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
### Keybase proof | |
I hereby claim: | |
* I am milinmestry on github. | |
* I am milin (https://keybase.io/milin) on keybase. | |
* I have a public key ASBeqgawcFynYMSmH2_N85vtgTSxShj2vaznvC_RaQ8Pego | |
To claim this, I am signing this object: |
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\Support\Facades\Schema; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Database\Migrations\Migration; | |
class CreatePropertiesTable extends Migration { | |
const TABLE_NAME = 'properties'; |
NewerOlder