Skip to content

Instantly share code, notes, and snippets.

At Office

Jagroop Singh jagroop

At Office
View GitHub Profile
View SoapClientHelper.php
namespace App\Helpers;
class SoapClientHelper {
public static function request($name, $params = [])
$wsdl = config('wsdl.'.$name.'.endpoint');
$method = config('wsdl.'.$name.'.method_name');
$user = config('b2b_wsdl.credentials.user');
View index.vue
<div class="custom-sel-outer">
<div class="custom-sel">
<select v-model="selectedClient" @change="SelectedCustomerId($event)">
<option value="none">Select Customer</option>
<option v-for="(customer, index) in customers" v-bind:value="{ id: customer.KUNNR, name: customer.COLONIA}">{{customer.COLONIA}}</option>
View output.xml
<?xml version="1.0" encoding="UTF-8"?>

Work Flow


  • Always keep your feature or bug branch synced with remote dev branch.
  • Whenever you start working on a new feature or bug. Please create a separate branch for your work DO NOT work on dev or master branch i.e. git checkout -b feature-name
  • Push only when the work is done , DO NOT PUSH frequently.
  • Please write decent commit messages.
jagroop / computed_properties.html
Created Jul 5, 2019
modify dynamic data with computed properties
View computed_properties.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<script src=""></script>
<script src=""></script>
View soap.php
defined('BASEPATH') OR exit('No direct script access allowed');
class Pixibox_soap {
const REQUEST_URL = '';
const COUPON_LINK = '';
const SUCCESS_RESPONSE_VALUES = [1, 2, 3];
View index.blade.php
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<div class="container"><li class="breadcrumb-item active text-primary" aria-current="page">Shop</li></div>
<section class="shop-section text-center py-5">
<div class="head-box text-center mb-5 col-md-12">

Git first time setup on PC ( only if its not already done )

  1. Install GIT

  2. Configure

git config --global "Your name"
git config --global ""
View groupon.txt
[0] => Array
[id] => subway-716524034
[uuid] => 67f0339a-740e-4c1f-a74a-417f3bd25a0e
[dealUrl] =>
[title] => 25% Cash Back at Subway - Broad Street
[announcementTitle] => 25% Cash Back at Subway - Broad Street
[shortAnnouncementTitle] => 25% Cash Back at Subway
View Notification.php
defined('BASEPATH') OR exit('No direct script access allowed');
class Notification {
* Suppoted devices to send push Notifications