Skip to content

Instantly share code, notes, and snippets.

void main() {
final String foo = 'FOO!';
print('my var is $foo');
}
@ptejada
ptejada / bootstrap-material-design.css
Created August 13, 2019 03:43
bootstrap-material-design@4c3921fed5fed955486f609bc2c7a72fee3b75ae
.card {
font-size: .875rem;
font-weight: normal; }
/*!
* Bootstrap v4.3.1 (https://getbootstrap.com/)
* Copyright 2011-2019 The Bootstrap Authors
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
@ptejada
ptejada / Ape.log.js
Last active December 21, 2015 16:39
Enhanced Ape.log() function for the APE Server
/*
* Enhance Ape.log function
*/
Apelog = Ape.log;
Ape.log = function(data){
switch(typeof data){
case "object":
var result = "----" + data + "----\n";
var level = 0;
data = data.toSource();
@ptejada
ptejada / JSmodule.js
Last active October 2, 2015 15:28
JSmodule is a simple JavaScript object for stacking data and hookable functions as methods.
/**
* A JavaScript module constructor
*
* Methods
* - get( name ) get the value the named internal variable
* - set( name , value ) set named internal variable a value
* - extend( methodName , function ) add a method to the module
*
* @param ModuleID
* @returns {Function}