Skip to content

Instantly share code, notes, and snippets.

View Vheissu's full-sized avatar
💭
SURFING THE INTERNET

Dwayne Charrington Vheissu

💭
SURFING THE INTERNET
View GitHub Profile
@Vheissu
Vheissu / app.html
Last active August 10, 2018 18:06 — forked from cmichaelgraham/app.html
Basic Aurelia Gist Skeleton
<template>
<h1>App.html</h1>
<router-view></router-view>
</template>
@Vheissu
Vheissu / app.html
Created July 22, 2016 02:00 — forked from AshleyGrant/app.html
Amount Value Converter
<template>
<h1>Current amount: ${amount}</h1>
<label>Enter amount:</label>
<input type="text" id="amount" value.bind="amount | prepend & debounce:500">
</template>
<template>
<compose view.bind="viewStrategy" view-model.bind="viewModel" containerless></compose>
</template>
@Vheissu
Vheissu / app.html
Last active May 5, 2016 00:51 — forked from jdanyow/app.html
Aurelia Gist
<template>
<h1>${message}</h1>
</template>
@Vheissu
Vheissu / app.html
Last active April 28, 2016 00:04 — forked from haiau79/app.html
Navigate Route
<template>
</template>
@Vheissu
Vheissu / compiler.ts
Last active August 30, 2015 11:25 — forked from charlespockert/compiler.ts
Kendo grid with Aurelia
import {inject, ViewCompiler, ViewResources, Container} from 'aurelia-framework';
/**
* Compiler service
*
* compiles an HTML element with aurelia
*/
@inject(ViewCompiler, ViewResources, Container)
export class Compiler {
@Vheissu
Vheissu / instant-flat-ui.js
Last active December 27, 2015 17:59 — forked from adamschwartz/instant-flat-ui.js
Use documentFragment instead of directly appending element
var f = document.createDocumentFragment();
var d = document.createElement('div');
d.innerHTML = '\
<style>\
*:not(.icon):not(i), *:not(.icon):not(i):after, *:not(.icon):not(i):before {\
box-shadow: none !important;\
text-shadow: none !important;\
background-image: none !important;\
}\
*:not(.icon):not(i) {\
@Vheissu
Vheissu / .htaccess
Last active December 14, 2015 00:39 — forked from geemoney/.htaccess
# BEGIN W3TC Browser Cache
<IfModule mod_mime.c>
AddType text/css .css
AddType text/x-component .htc
AddType application/x-javascript .js
AddType application/javascript .js2
AddType text/javascript .js3
AddType text/x-js .js4
AddType text/html .html .htm
AddType text/richtext .rtf .rtx
@Vheissu
Vheissu / 960gs.less
Created October 9, 2012 23:10 — forked from Aeon/960gs.less
LessCSS and 960gs don't play well together normally. Here's the definitions for 960gs to let LessCSS work with it. Looks like we can pull all grid data out of the HTML.
/**
* A LessCSS version of the 960 Grid System
*
* All widths are using percentages making the grid
* responsive to most resolutions.
*
* http://lesscss.org/
* http://960.gs/
*/