Skip to content

Instantly share code, notes, and snippets.

Cristian Carlesso kentaromiura

Block or report user

Report or block kentaromiura

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.js
"use strict";
var COLORS = {
BOX: 'silver',
BEZIER: 'silver',
BACKGROUND : {
COLOR: 'whitesmoke',
TEXT: 'black'
},
POINTS: 'gray',
GRID: 'rgba(80,80,80,0.1)',
@kentaromiura
kentaromiura / mostAnnoyingConsoleFunctionEver.js
Last active Aug 29, 2015 — forked from zivc/mostAnnoyingConsoleFunctionEver.js
amend the mostAnnoyingConsoleFunctionEver to use the proper font
View mostAnnoyingConsoleFunctionEver.js
console.log = (function(log){
return function(str) {
var css = 'background: linear-gradient(to right, red, yellow, lime, aqua, blue, fuchsia, red); color: white; font-weight: bold;font-family:Comic Sans MS;font-size:13pt;';
var args = Array.prototype.slice.call(arguments);
args[0] = '%c' + args[0];
args.splice(1,0,css);
var speech = new SpeechSynthesisUtterance();
speech.text = str;
window.speechSynthesis.speak(speech);
View Delayed.js
/*jslint browser: true, indent: 2 */
var Delayed = (function (delay) {
/*! Andrea Giammarchi - Mit Style License */
// https://gist.github.com/WebReflection/7286687
'use strict';
// method shared across all delayed wrappers
function clear() {
You can’t perform that action at this time.