Skip to content

Instantly share code, notes, and snippets.

View bedus-creation's full-sized avatar
🎯
Focusing

Bedram Tamang bedus-creation

🎯
Focusing
View GitHub Profile
@bedus-creation
bedus-creation / index.blade.php
Created July 2, 2019 05:19
DataTableFilters
@extends('theme.limitless4.app')
@section('head')
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css">
<style>
td:not(:first-child) {
text-align: center;
}
td:nth-child(6) {
  • Debugbar not diplaying
php artisan route:cache
  • TokeMismathException
php artisan config:clear
@bedus-creation
bedus-creation / .babelrc
Last active October 20, 2019 06:20
Laravel Mix V3 setup with dynamic import, tailwind, Vue, vendor extraction.
// {
// "plugins": [
// "@babel/plugin-syntax-dynamic-import"
// ]
// }
{
"plugins": [
"syntax-dynamic-import"
]
@bedus-creation
bedus-creation / cloudSettings
Last active January 13, 2021 01:02
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-12-27T12:07:12.690Z","extensionVersion":"v3.4.3"}
<!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>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected]/dist/alpine.min.js" defer></script>
@bedus-creation
bedus-creation / docker.md
Last active January 19, 2021 04:07
Docker & docker compose guide

Docker Compose

Command Description
docker-compose up It builds and starts the container.
docker-compose down It stops and removes the container.
@bedus-creation
bedus-creation / readme.md
Last active April 8, 2021 03:46
Postgres Comamand

Login into postgres

sudo -u postgres psql

Create Database

create database DB_NAME;
@bedus-creation
bedus-creation / CheckBox.vue
Created February 24, 2023 14:45 — forked from Jonarod/CheckBox.vue
Simple custom CheckBox component for Vue.js, compatible with v-model.
/**
* @usage:
*
* <CheckBox label="Foo" value="foo" v-model="MySelectedValues" />
* <CheckBox label="Bar" value="bar" v-model="MySelectedValues" />
* <CheckBox label="Baz" value="baz" v-model="MySelectedValues" />
*
* data(){
* return {
* MySelectedValues: [],