Skip to content

Instantly share code, notes, and snippets.

View vinayakkulkarni's full-sized avatar
:octocat:
Gitting it done (from 🏡)

Vinayak Kulkarni vinayakkulkarni

:octocat:
Gitting it done (from 🏡)
View GitHub Profile
@vinayakkulkarni
vinayakkulkarni / template.vue
Created September 14, 2017 12:51
Typical top-level component.
<template>
<div>
<breadcrumb
:breadcrumbs="this.breadcrumbs"
:icon="'tag grey icon'"
:discardbutton="{ 'name' : 'products.index' }"
:savebutton="this.createProduct"
:loading="this.dataLoading">
</breadcrumb>
// Place your settings in this file to overwrite the default settings
{
"editor.tabSize": 2,
"editor.fontSize": 15,
"editor.fontFamily": "Operator Mono, Monaco, 'Courier New', monospace",
"workbench.colorTheme": "One Dark Pro Vivid",
"workbench.activityBar.visible": false,
"workbench.sideBar.location": "left",
"workbench.colorCustomizations": {
"tab.activeBackground": "#282c34",
@vinayakkulkarni
vinayakkulkarni / RolesAndPermissionsSeeder.php
Created November 14, 2017 11:01
User Roles & Permissions
<?php
use App\User as User;
use App\Role as Role;
use App\Permission as Permission;
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
class RolesAndPermissionsSeeder extends Seeder {
@vinayakkulkarni
vinayakkulkarni / RolesAndPermissionsSeeder.php
Created November 14, 2017 11:01
User Roles & Permissions
<?php
use App\User as User;
use App\Role as Role;
use App\Permission as Permission;
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
class RolesAndPermissionsSeeder extends Seeder {
@vinayakkulkarni
vinayakkulkarni / us_states.js
Created November 25, 2017 09:47
A List of All States in 🇺🇸
const us_states = [
{
id: "AL",
name: "Alabama"
},
{
id: "AK",
name: "Alaska"
},
{
@vinayakkulkarni
vinayakkulkarni / vscode.json
Created December 9, 2017 15:52
VS Code Preferences - macOS HS
{
"editor.tabSize": 2,
"editor.fontSize": 15,
"editor.fontFamily": "Operator Mono, Monaco, 'Courier New', monospace",
"editor.lineHeight": 24,
"editor.fontLigatures": true,
"editor.tabCompletion": true,
"editor.formatOnSave": true,
"explorer.decorations.badges": false,
"editor.multiCursorModifier": "ctrlCmd",
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vinayakkulkarni
vinayakkulkarni / user-settings.json
Created January 19, 2018 07:14
My VSCode - MacBook - 19 Jan 2018
{
"editor.tabSize": 2,
"editor.fontSize": 15,
"editor.fontFamily": "Operator Mono, Monaco, 'Courier New', monospace",
"editor.lineHeight": 24,
"editor.fontLigatures": true,
"editor.tabCompletion": true,
"editor.formatOnSave": true,
"explorer.decorations.badges": false,
"editor.multiCursorModifier": "ctrlCmd",
var vue2leafletdraw =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
@vinayakkulkarni
vinayakkulkarni / bundle.js
Created May 14, 2018 08:31
vue2-leaflet-draw-bundle.js
var vue2leafletdraw =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {