Skip to content

Instantly share code, notes, and snippets.

View nicodevs's full-sized avatar
🚀

Nico Devs nicodevs

🚀
View GitHub Profile
@nicodevs
nicodevs / email.blade.php
Last active June 15, 2017 17:04
Laravel 5.4 Auth using Bootstrap 4
@extends('layouts.app')
@section('content')
<div class="container">
<div class="card">
<div class="card-header">
Reset Password
</div>
<div class="card-block">
@nicodevs
nicodevs / jquery.simpleUploader.js
Created October 11, 2017 22:26
Simple uploader
/**
* jQuery simpleUploader plugin
* Base Backbone model, collection and views
* Version: 1.0
* Dual licensed under the MIT and GPL licenses
*/
/*
Simple Uploader
@nicodevs
nicodevs / jquery.downloadTable.js
Created July 5, 2018 09:38
Download Table jQuery Plugin
/*
Download Table - jQuery plugin
written by Nico Beta
http://github.com/nicobeta
Markup:
<a href="#table" id="test" data-filename="clients">Download</a>
{
"data": [
{
"id": 2,
"content": "My first post",
"user_id": 1,
"user": {
"id": 1,
"first_name": "John",
"last_name": "Doe",
@nicodevs
nicodevs / article.md
Created August 24, 2020 12:27
Some cool article title

A nice title

The first section.

In this article we will learn:

  • Foo
  • Bar
  • Baz
@nicodevs
nicodevs / testing_tips.md
Created August 24, 2020 19:45
Tips for advanced Vue testing

Tips for advanced testing

Consider the following Vue single file component:

<template>
  <form
    :class="theme"
 @submit.prevent="submit"&gt;
@nicodevs
nicodevs / index.html
Created September 16, 2021 22:40
CKEditor Vue 2 from CDN
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Demo</title>
</head>
<body>
<div id="app">
<ckeditor v-model="editorData" :config="editorConfig"></ckeditor>
// Warning: this is just a non-tested example, take it as an starting point draft :)
import castArray from 'lodash/castArray'
const state = reactive({
data: {},
token: ''
})
const getCookieParams = () => {
@nicodevs
nicodevs / banner.md
Created November 18, 2022 19:39
Black Friday Banner for Vuetify

Installation

To show the Vue School banner in your website, please include the following script tag in the <head>:

<script async type="text/javascript" src="https://vueschool.io/banners/main.js"></script>

This external script does the following:

@nicodevs
nicodevs / 3.bar.md
Last active March 15, 2023 13:06
MCQs

How would you write this code in options API?

<script setup>
defineProps({
  msg: String,
})
</script>

<template>