sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
| import React, { useState, useRef, useEffect } from 'react'; | |
| import { HiMenu } from 'react-icons/hi'; | |
| import { AiFillCloseCircle } from 'react-icons/ai'; | |
| import { Link, Route, Routes } from 'react-router-dom'; | |
| import { Sidebar, UserProfile } from '../components'; | |
| import Pins from './Pins'; | |
| import { userQuery } from '../utils/data'; | |
| import { client } from '../client'; | |
| import logo from '../assets/logo.png'; |
| Visual Studio 2019 Product Key(Anis) | |
| [Please Star this gist] | |
| Follow My GitHub Account --> https://github.com/ch-kashif @ch-kashif | |
| **Follow Me On Instagram -->> https://www.instagram.com/ch.kashif602/ ** | |
| Lets do a code together | |
| Join Cloud Disk repository --> https://github.com/ch-kashif/CloudDisk |
| /** | |
| * Mass (bulk) insert or update on duplicate for Laravel 4/5 | |
| * | |
| * insertOrUpdate([ | |
| * ['id'=>1,'value'=>10], | |
| * ['id'=>2,'value'=>60] | |
| * ]); | |
| * | |
| * | |
| * @param array $rows |
First, run:
$ composer config --list --global //this will get the composer home path.
[home] /root/.composer //it's my composer home path.And then, edit the config.json in [home] directory, make it like this:
{
"config": {
"github-protocols": [| :root { | |
| --ease-in-quad: cubic-bezier(.55, .085, .68, .53); | |
| --ease-in-cubic: cubic-bezier(.550, .055, .675, .19); | |
| --ease-in-quart: cubic-bezier(.895, .03, .685, .22); | |
| --ease-in-quint: cubic-bezier(.755, .05, .855, .06); | |
| --ease-in-expo: cubic-bezier(.95, .05, .795, .035); | |
| --ease-in-circ: cubic-bezier(.6, .04, .98, .335); | |
| --ease-out-quad: cubic-bezier(.25, .46, .45, .94); | |
| --ease-out-cubic: cubic-bezier(.215, .61, .355, 1); |
| ## How to install mcrypt in php7.2 | |
| ## | |
| ## https://lukasmestan.com/install-mcrypt-extension-in-php7-2/ | |
| ## | |
| # | |
| # Check version php and pecl | |
| # | |
| php -v # if default php is not 7.2 then use /usr/bin/php7.2 instead php |