Skip to content

Instantly share code, notes, and snippets.

/* http://prismjs.com/download.html?themes=prism&languages=clike+php */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
code[class*="language-"],
pre[class*="language-"] {
color: black;
/* http://prismjs.com/download.html?themes=prism&languages=clike+php */
var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var e=/\blang(?:uage)?-(\w+)\b/i,t=0,n=_self.Prism={manual:_self.Prism&&_self.Prism.manual,util:{encode:function(e){return e instanceof a?new a(e.type,n.util.encode(e.content),e.alias):"Array"===n.util.type(e)?e.map(n.util.encode):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function(e){var t=n.util.type(e);switch(t){case"Object":var a={};for(var r in e)e.hasOwnProperty(r)&&(a[r]=n.util.clone(e[r]));return a;case"Array":return e.map&&e.map(function(e){return n.util.clone(e)})}return e}},languages:{extend:function(e,t){var a=n.util.clone(n.languages[e]);for(var r in t)a[r]=t[r];return a},insertBefore:
for /f "tokens=1-2 delims=:" %%a in ('ipconfig^|find "IPv4"') do set ip=%%b
set ip=%ip:~1%
php artisan serve --host %ip%
x /**
* Created by Edward Lance Lorilla on 5/18/2017.
*/
export default{
data: {
brands: [],
editData: {}
},
dataReceive(id, data){
var vm = this
@edwardlorilla
edwardlorilla / Simple Navigation_1 _-_ HTML_and_Basic Formatting
Created August 31, 2017 02:51
Learning simple navigation with flex
<div id="app">
<nav id="single-nav" class="single-nav menu" role="navigation">
<ul>
<li><a>Start</a></li>
<li><a>Essen</a></li>
<li><a>Seminare</a></li>
<li><a>Rezepte</a></li>
<li><a>News</a></li>
<li><a>Uber</a></li>
<li><a>Kontakt</a></li>
@edwardlorilla
edwardlorilla / index.html
Created October 4, 2017 14:15
vue leaflet
<div id="app">
<div class='sidebar'>
<div class='heading'>
<h1>Our locations</h1>
</div>
<div>
<select v-model="selectedTileSet" @change="setTileSet(selectedTileSet)">
<option v-for="tileset in tileSets" :value="tileset.tileLayer">{{tileset.name}}</option>
@edwardlorilla
edwardlorilla / index.html
Created October 8, 2017 14:53
Moment JS Countdown Clock
<div id="clock"></div>
<div class="days"></div>
<div class="hours"></div>
<div class="minutes"></div>
<div class="seconds"></div>
<select class="form-control" id="selectTimezone"
onchange="run()">
<option value='Pacific/Midway' >(UTC-11:00) Midway Island</option>
<option value='Pacific/Samoa' >(UTC-11:00) Samoa</option>
@edwardlorilla
edwardlorilla / index.html
Last active October 11, 2017 15:46
multi input bootstrap vuejs
<div class="container" id="app">
<form>
<div
class="row justify-content-center"
v-for="(attendee, index) in attendees"
:key="index"
>
<div class="col-sm-3">
<div class="form-group">
<label class="sr-only">Name</label>