Skip to content

Instantly share code, notes, and snippets.

View phpfact's full-sized avatar
🎯
Focusing

Sachin Sharma phpfact

🎯
Focusing
View GitHub Profile
<?php
$period = new DatePeriod(
//yy-mm-dd
new DateTime('2020-01-01'), // Start Date
new DateInterval('P1D'),
new DateTime('2020-12-31') // End Date
);
//Which should get you an array with DateTime objects.
/* Wayback Machine , Website history , Deleted website show */
https://web.archive.org
Backup or Sync Your Settings :: https://youtu.be/dk2wp9AkIxc
//Jb Jb File save hoti rhe ge tb tb history create hoti rhe gi.
//Local History For Undo File
https://marketplace.visualstudio.com/items?itemName=xyz.local-history
// Duplicate file
https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-duplicate
@phpfact
phpfact / date.html
Last active September 28, 2020 16:07
<!-- Jquery minDate Jquery maxDate jquery datepicker Jquery disable date calander -->
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script>
<script>
$(function() {
/* Migration File Migrate Laravel migrate schema data migration demo laravel */
<?php
Schema::create('products', function (Blueprint $table) {
$table->id();
$table->string('title', 80);
$table->integer('price');
$table->integer('category_id');
$table->text('body');
$table->string('primary', 255);
$table->string('secondary', 255);
/* Hire new employe */
1. Your EIBIL Score and EIBIL Report in PDF (employ score online website)
/* Make sure your EIBIL Score must be a minimum of 750 points to proceed with the next round of interviews. Also, you must not have any negative entries from any of your previous employers in the EIBIL report.*/
2. collect document
/*
PAN Number
Your EIBIL Score and EIBIL Report in PDF
Current CTC
Expected CTC
/* migration and model create in single command */
php artisan make:model categories -m
Model created successfully.
Created Migration: 2020_10_08_092231_create_categories_table
https://www.w3docs.com/quiz-start/php-basic
/* Image img attribute */
<input type="file" name="myImage" accept="image/png,image/gif,image/jpeg,image/webp" />
<input type="file" name="myImage" accept="image/*" />
<input type="file" accept=".png, .jpg, .jpeg" />