Skip to content

Instantly share code, notes, and snippets.

View ecmartinez's full-sized avatar

Edgar Martinez ecmartinez

View GitHub Profile
// Toastr
<!-- Toastr css -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.css">
<!-- Toaster js -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
<script>
@if (Session::has('message'))
let type = "{{ Session::get('alert-type', 'info') }}";
@ecmartinez
ecmartinez / gulpfile.js
Last active November 25, 2022 04:12
gulpfile
const { src, dest, watch, parallel } = require('gulp');
// CSS
const sass = require('gulp-sass')(require('sass'));
const plumber = require('gulp-plumber');
const autoprefixer = require('autoprefixer');
const cssnano = require('cssnano');
const postcss = require('gulp-postcss');
const sourcemaps = require('gulp-sourcemaps');
@ecmartinez
ecmartinez / .gitignore
Created June 24, 2019 19:30 — forked from salcode/.gitignore
.gitignore file for a general web project - Bare Minimum Git
# -----------------------------------------------------------------
# .gitignore
# Bare Minimum Git
# http://ironco.de/bare-minimum-git/
# ver 20181206
#
# From the root of your project run
# curl -O https://gist.github.com/salcode/10017553/raw/.gitignore
# to download this file
#
# http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 80