Skip to content

Instantly share code, notes, and snippets.


Tomáš Lištiak tomexx

View GitHub Profile
tomexx / user-javascript-and-css
Last active Nov 14, 2019
Hurrier McDonald's pickup alert
View user-javascript-and-css
const $container = $('.container.well').eq(0)
const $tableLines = $container.find('.active_deliveries > tbody > tr')
const colorSuccess = '#009e45'
const colorError = 'red'
const overloadLimit = 3
const courierMap = new Map()
let overloadedCouriers = []
// create mapping
tomexx / jade-to-laravel-blade-mixins.jade
Last active Aug 29, 2015 — forked from franzose/jade-to-laravel-blade-mixins.jade
Mixin enhancements (include within if-else clause, +foreach fix, +inlude fix for passing more parameters)
View jade-to-laravel-blade-mixins.jade
//- As you may know, Laravel 5 provides the Elixir to compile assets with no pain.
These mixins is for those of you who want to use Jade power combined with that of Laravel Blade.
The syntax mimic Blade statements, however identation differs in some cases.
- var newline = "\r\n"
- var loopIterator = '$iterator'
//- @extends mixin
Example: +extends('layouts/master')
Compiled: @extends('layouts/master')
mixin extends(file)
| @extends('#{file}')