Skip to content

Instantly share code, notes, and snippets.

nutch31

Block or report user

Report or block nutch31

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View merge.php
---
ip: "192.168.13.13"
memory: 4096
cpus: 1
name: laravel-apps-homestead-vmbox
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
View alpha.php
ip: "192.168.10.10"
memory: 4096
cpus: 1
name: heroleads-homestead-vmbox
hostname: heroleads.com
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
View Nut.php
---
ip: "192.168.13.13"
memory: 2048
cpus: 1
name: laravel-apps-homestead-vmbox
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
View command.php
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Http\Request;
use Carbon\Carbon;
use DateTime;
use App\Model\Call;
View query.php
<?php
// Query
$query = Lead::where([
['campaign_id', $request->get('campaignId')]
])
->whereBetween('submitted_date_time', [$startDateTime, $endDateTime])
->where(function($q) use ($analyticCampaignId_array, $trackingPhone_array, $directChannelId_array, $status)
{
if(!empty($analyticCampaignId_array))
View query.php
// Query
$query = Lead::where([
['campaign_id', $request->get('campaignId')]
])
->whereBetween('submitted_date_time', [$startDateTime, $endDateTime])
->where(function($q) use ($analyticCampaignId_array, $trackingPhone_array, $directChannelId_array, $status)
{
if(!empty($analyticCampaignId_array))
{
$q->orWhereIn('analytic_campaign_id', $analyticCampaignId_array)
View gist:4ad8af87db8ae0c8bf6efe643c80814a
// Query
$query = Lead::where([
['campaign_id', $request->get('campaignId')]
])
->whereBetween('submitted_date_time', [$startDateTime, $endDateTime])
->where(function($q) use ($analyticCampaignId_array, $trackingPhone_array, $directChannelId_array, $status)
{
if(!empty($analyticCampaignId_array))
{
$q->orWhereIn('analytic_campaign_id', $analyticCampaignId_array)
View .env
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:1WuQVFheOQ7smGaqur1IXIw7StnbRkoUdDn3o+HZMfQ=
APP_DEBUG=true
APP_URL=http://localhost
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=localhost
View .yaml
---
ip: "192.168.13.13"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
View config.js
module.exports = {
devServer: {
port: 4000,
proxy: {
/* Alpha Backend APIs */
"/api": {
target: "http://api.heroleads.com:8000/",
ws: true,
changeOrigin: true,
},
You can’t perform that action at this time.