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 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 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
View test.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.min.js"></script>
</head>
<body>
<div id="app">
View FileService.php
<?php
namespace App\Services;
use App\ProjectFile;
use Illuminate\Http\File;
use Illuminate\Support\Facades\Storage;
use Symfony\Component\HttpFoundation\Request;
use App\Contracts\IFileService;
use App\Services\ProofService;
View register.blade.php
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Register') }}</div>
<div class="card-body">
View test.php
<?php
include 'Query.Inc.php';
$Obj = new Query($DBName);
error_reporting(0);
$SiteURL = "https://".$_SERVER['HTTP_HOST']."/";
$info = $_POST['info'];
$links = $_POST['links'];
$sql = "SELECT name, city, buyurl, imageurl FROM hotelDeal_landingPage LIMIT 0,5";
$result = mysql_query($sql);
?>
View tz.php
<?php
function wLog($tag = 'Tag', $data = [])
{
$logFile = null;
$timezone = date_default_timezone_get();
date_default_timezone_set('Asia/Kolkata');
if(!file_exists(WWW_ROOT . DS . 'ErLogs' . DS . 'logs.txt')) {
View vuejs.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script>
</head>
<body>
You can’t perform that action at this time.