Skip to content

Instantly share code, notes, and snippets.

View vigikaran's full-sized avatar
🎯
All the tools are out there and the only thing that limits us is our imagination

Vigikaran vigikaran

🎯
All the tools are out there and the only thing that limits us is our imagination
View GitHub Profile
@vigikaran
vigikaran / bitbucket-pipeline.yml
Created February 8, 2024 10:52 — forked from juniorb2ss/bitbucket-pipeline.yml
Bitbucket Pipeline Deploy Laravel to Elasticbeanstalk using parallel steps
image: atlassian/default-image:2
definitions:
services:
redis:
image: redis:3.2
memory: 512
mysql:
image: mysql:5.7
environment:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDDn4Gff9MP4yy13x3fiBOAE+1nmfyfQTqv6yVU118L8onegui1Xu4+Uk+GXLPm1s9QfwKm62p/5J+nT3RI55G01oJwst8OFrY7u+k9IqWDcqAomYzBc604f1AprVjLITtNZ1dvEbSbXg+zPrj9tJCCzPJikN2MQ2EiBXnr0b1iqLzTQmUoZO4uGabK79XZL2Hp2xlwXLVAph6405OV33mDlUpudkZN0jNgolo00wDI5YJ+OD+fT/p+XerjewBznC3tJvkRvALuIIMKQ592IC2qZviQ6fugu70ExFXq3fi7Qu+2MuY2UKO/d4Ac5iwYGO1k4k2+NfPZBOvR+nJSPZp7Mp9vNnO021XIWl3HP4hK1EFRuyHhbYuV2h1HmfMtuEjPCtbnh4/b421cIeSxBn4bW3CynvZJBdUpWfnxBBZPUHlv3fEIEWhtLx/XxEENb9Y8vV7+G+ja3p94g9cwApvEAn7nMRJZV6nhBdgAurCWkjABBPm7tMcucyT7tgirgfk= vigikaran
<?php
class DumpHTTPRequestToFile {
public function execute($targetFile) {
$data = sprintf(
"%s %s %s\n\nHTTP headers:\n",
$_SERVER['REQUEST_METHOD'],
$_SERVER['REQUEST_URI'],
$_SERVER['SERVER_PROTOCOL']
);
Thu Oct 28 2021 12:01:26 GMT+0100 (British Summer Time) | sip.invitecontext.sessionDescriptionHandler | SessionDescriptionHandlerOptions: {"constraints":{"audio":true,"video":false}}
sip-0.14.6.min.js:1 Thu Oct 28 2021 12:01:26 GMT+0100 (British Summer Time) | sip.invitecontext.sessionDescriptionHandler | initPeerConnection
sip-0.14.6.min.js:1 Thu Oct 28 2021 12:01:26 GMT+0100 (British Summer Time) | sip.invitecontext.sessionDescriptionHandler | New peer connection created
sip-0.14.6.min.js:1 Thu Oct 28 2021 12:01:26 GMT+0100 (British Summer Time) | sip.invitecontext.sessionDescriptionHandler | acquiring local media
sip-0.14.6.min.js:1 Thu Oct 28 2021 12:01:26 GMT+0100 (British Summer Time) | sip.invitecontext.sessionDescriptionHandler | acquired local media streams
sip-0.14.6.min.js:1 Thu Oct 28 2021 12:01:26 GMT+0100 (British Summer Time) | sip.invitecontext.sessionDescriptionHandler | createOffer
sip-0.14.6.min.js:1 Thu Oct 28 2021 12:01:26 GMT+0100 (British Summer Time) | sip.invitecontext.sessionDescript
{"cdrs":[{"accessibility_cost":0,"protocol":"SIP","connect_time":"10:39:40.000 GMT Tue Oct 19 2021","media_timeout_correction":0,"lrn_cld":null,"disconnect_time":"10:41:19.000 GMT Tue Oct 19 2021","prefix":"44870","cost":0.099,"result":0,"duration":99.243390154,"interval_1":1,"cli":"+441707859330","pdd1xx":0.344809573,"cld":"448706483602","i_cdr":1178856,"call_id":"[email protected]_1","delay":0,"cld_in":"+448706483602","i_call":1179177,"free_seconds":0,"post_call_surcharge":0,"i_account":20093,"price_n":0.06,"grace_period":0,"description":"National","interval_n":1,"area_name":null,"lrn_cli":null,"connect_fee":0,"remote_party_id":null,"release_source":"caller","plan_duration":0,"price_1":0.06,"lrn_cli_in":null,"cli_in":"+441707859330","billed_duration":99,"country":"UNITED KINGDOM","i_protocol":1,"conn_proc_time":0.014014501,"p_asserted_id":null,"user_agent":"Sippy Softswitch v5.2-STABLEDEV.255","lrn_cld_in":null,"remote_ip":"149.36.7.30"},{"accessibility_cost":0,
location ~* \.(?:css|js)$ {
access_log off;
log_not_found off;
expires 30d;
add_header Vary Accept-Encoding;
add_header Cache-Control "public";
}
location ~* \.(?:jpg|jpeg|gif|png|ico|xml|webp)$ {
access_log off;
@import "https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900&display=swap";.alignleft{float:left;margin-right:15px}.alignright{float:right;margin-left:15px}.aligncenter{display:block;margin:0 auto 15px}a:hover{text-decoration:none}a:focus{outline:0 solid;text-decoration:none}img{max-width:100%;height:auto}h1,h2,h3,h4,h5,h6{margin:0 0 15px;font-weight:900;font-family:'Lato',sans-serif;color:#081e25}body{font-family:'Lato',sans-serif;color:#1d2b36;font-size:18px;font-weight:400;line-height:30px}.padding-80{padding:80px 0}.site_logo h1{margin:0}.site_logo img{height:99px;transition:.8s}.header_wrapper.off-canvas{padding:15px 0;top:-139px;background-image:linear-gradient(137deg,#02aa51 0%,#0288c0 100%)}.header_wrapper.fixed{top:0}.header_wrapper.off-canvas .site_logo img{height:60px}.header_wrapper.off-canvas .primary_menu{margin-top:4px}.hero_area{background-image:linear-gradient(122deg,#02aa51 0%,#0288c0 100%);padding:200px 0 100px;position:relative;z-index:1}.header_wrapper{box-sizing:border-box;-
{
validation : [],
uischema: {
port: {
"ui:widget": "radio",
},
activation_date: {
"ui:widget": "date",
},
},
<?php
namespace App\Helpers;
use Spatie\ArrayToXml\ArrayToXml;
use Carbon;
use GuzzleHttp\Client;
use Utils;
use Helper;
use Log;
We couldn’t find that file to show.