Skip to content

Instantly share code, notes, and snippets.

View Lokua's full-sized avatar
🐐
 

Joshua Kleckner Lokua

🐐
 
View GitHub Profile
@Lokua
Lokua / SassMeister-input-HTML.html
Created December 12, 2014 04:12
Generated by SassMeister.com.
<div class="w">
<div id="a">
<h1>a</h1>
<p>fun with colors</p>
</div>
<div class="content">
texttexttexttexttext
texttexttexttexttext
texttexttexttexttext
texttexttexttexttext
@Lokua
Lokua / _muf.scss
Last active August 29, 2015 14:08
sass mixins, utility classes, and functions
//
// --- MIXINS
//
@mixin clearfix {
&:after {
content: '';
display: table;
clear: both;
}
@Lokua
Lokua / gist:ea50938fae4316340bc7
Created September 15, 2014 08:24
css range slider
input[type=range] {
-webkit-appearance: none;
background-color: #ccc;
width: 200px;
height: 4px;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
background-color: #fff;
@Lokua
Lokua / test.html
Created September 15, 2014 07:37
snippet for quickly banging out html tests
<!DOCTYPE html>
<html>
<head>
<title>test</title>
<script src=""></script>
</head>
<style>
@Lokua
Lokua / logger.js
Created September 6, 2014 12:11
Better max logging
/**
* Better max logging.
*
* @see http://compusition.com/writings/js-live-api-basics
* @see http://stackoverflow.com/a/4673436/2416000
*/
autowatch = 1;
Logger = new Global('Logger');
Logger.on = true;
@Lokua
Lokua / audio-input-router.js
Last active August 29, 2015 14:06
max for live audio input routing helper script
/*
* Copyright 2014 Joshua Kleckner, http://lokua.net
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@Lokua
Lokua / hexcolors.txt
Created April 4, 2014 05:00
hex color list
0x000000
0x000080
0x0000C8
0x0000FF
0x000741
0x001B1C
0x002387
0x002900
0x002E20
0x002FA7