Skip to content

Instantly share code, notes, and snippets.

View anisur3036's full-sized avatar
🏠
Working with vuejs and tailwindcss

Anisur Rahman anisur3036

🏠
Working with vuejs and tailwindcss
View GitHub Profile
@anisur3036
anisur3036 / how_to.md
Created March 7, 2020 06:57 — forked from oanhnn/how_to.md
How to fix composer error "Content-Length Mismatch"

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": [

How to install Laravel globally in Ubuntu

===================================================================

Open your terminal using Ctrl+Alt+T and type the following commands

Step 1: Install Laravel

composer global require "laravel/installer"
@anisur3036
anisur3036 / massInsertOrUpdate.php
Created May 14, 2020 05:43 — forked from RuGa/massInsertOrUpdate.php
Mass (bulk) insert or update on duplicate for Laravel 4/5
/**
* Mass (bulk) insert or update on duplicate for Laravel 4/5
*
* insertOrUpdate([
* ['id'=>1,'value'=>10],
* ['id'=>2,'value'=>60]
* ]);
*
*
* @param array $rows
@anisur3036
anisur3036 / visualstudio2019Key.txt
Created November 9, 2020 03:37
Visual Studio 2019 Product Key
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

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
@anisur3036
anisur3036 / Todo.html
Created September 12, 2021 14:58
JavaScript Basic Tuts
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>JavaScript Basic</title>
</head>
<body>
// alert('We are ready for js tutorials.')
// console.log(jsFirstClass)
// var jsFirstClass = {a: 1, b: 2}
// console.log(jsFirstClass);
// // let age = 25;
// alert('OH noooooosfsfsd!')
/**
* 1: length
* 2: slice
* 3: replace
* 4: toUpperCase
* 5: toLowerCase
@anisur3036
anisur3036 / class-3.html
Created September 18, 2021 15:27
Creating function
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Class-3</title>
</head>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.blue {