Dynamiclly bootstrap 5 toast
ui-toasts.js
/**
* UI Toasts
*/
"use strict";
| package controllers | |
| import ( | |
| "Go-Tutorials/models" | |
| "github.com/gin-gonic/gin" | |
| "net/http" | |
| ) | |
| type CreateBookInput struct { | |
| Title string `json:"title" binding:"required"` |
Dynamiclly bootstrap 5 toast
ui-toasts.js
/**
* UI Toasts
*/
"use strict";
| package main | |
| import ( | |
| "github.com/gin-gonic/gin" | |
| "gorm.io/driver/sqlite" | |
| "gorm.io/gorm" | |
| "log" | |
| "net/http" | |
| ) |
Through the AUR it is possible to install older and newer PHP versions, simultaneously on the same system. I often had trouble installing using pacman and pamac so here's what I did:
mkdir -p $HOME/bin
mkdir ~/src
cd ~/src
git clone https://aur.archlinux.org/php81.git
cd php81
| import { Entity, PrimaryGeneratedColumn, Column, ManyToMany, JoinTable } from 'typeorm'; | |
| import Company from './Company'; | |
| @Entity('clients') | |
| export default class Client { | |
| @PrimaryGeneratedColumn() | |
| id: number; | |
| @Column() |
| <?php | |
| namespace App\Http\Controllers\Api; | |
| use App\Model; | |
| use Illuminate\Http\Request; | |
| use App\Http\Controllers\Controller; | |
| use Illuminate\Pagination\LengthAwarePaginator as Paginator; |
| { | |
| "suggest.noselect": false, | |
| "coc.preferences.formatOnSaveFiletypes": [ | |
| "javascript", | |
| "typescript", | |
| "typescriptreact", | |
| "json", | |
| "javascriptreact", | |
| "typescript.tsx", | |
| "graphql" |
| " Specify a directory for plugins | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
| Plug 'scrooloose/nerdtree' | |
| "Plug 'tsony-tsonev/nerdtree-git-plugin' | |
| Plug 'Xuyuanp/nerdtree-git-plugin' | |
| Plug 'tiagofumo/vim-nerdtree-syntax-highlight' | |
| Plug 'ryanoasis/vim-devicons' | |
| Plug 'airblade/vim-gitgutter' |
| STEP 1 : Download ngrok | |
| Download from https://ngrok.com/download as per your system. | |
| I downloaded for 32 bit ubuntu. | |
| STEP 2 : unzip it in your target folder | |
| $ unzip /path/to/ngrok.zip | |
| STEP 3: move to folder where you have unziped it in step 2 | |
| STEP 4: connect localhost as public IP with below command |