Skip to content

Instantly share code, notes, and snippets.

👨‍💻
At Office

Jagroop Singh jagroop

👨‍💻
At Office
Block or report user

Report or block jagroop

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 git.md

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

  1. Install GIT

  2. Configure

git config --global user.name "Your name"
git config --global user.email "youemailaddress@example.com"
View soap.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Pixibox_soap {
const REQUEST_URL = 'http://example.com/DjamWebserv.asmx';
const COUPON_LINK = 'http://example.com/PixiboxMasterPrint.aspx';
const SUCCESS_RESPONSE_VALUES = [1, 2, 3];
View index.blade.php
@extends('layouts.app')
@section('content')
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<div class="container"><li class="breadcrumb-item active text-primary" aria-current="page">Shop</li></div>
</ol>
</nav>
<section class="shop-section text-center py-5">
<div class="head-box text-center mb-5 col-md-12">
View groupon.txt
Array
(
[0] => Array
(
[id] => subway-716524034
[uuid] => 67f0339a-740e-4c1f-a74a-417f3bd25a0e
[dealUrl] => http://tracking.groupon.com/r?tsToken=US_AFF_0_207698_212556_0&url=https://www.groupon.com/deals/subway-716524034?z=skip&utm_medium=afl&utm_campaign=207698&mediaId=212556&utm_source=GPN
[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
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Notification {
/**
* Suppoted devices to send push Notifications
* IOS
* ANDROID
*/
View test.php
<!-- Learn about this code on MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout -->
<style>
table {
table-layout: fixed;
width: 100%;
border-collapse: collapse;
}
th {
border: 1px solid blue;
overflow: hidden;
View please.json
{
"status": 1,
"message": "success",
"data": [
{
"id": 506,
"recording_play_id": "636745433489244416.m4a",
"recording_duration": "00:39:09",
"recording_id": "34343",
"recording_name": "jeff bezos",
View word_removals.php
<?php
$input = "I'm am living on india";
$removeWords = [
'I',
'on',
'a',
'without doubt'
];
View RemoveWordsSeeder.php
<?php
use Illuminate\Database\Seeder;
class RemoveWordsSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
You can’t perform that action at this time.