Skip to content

Instantly share code, notes, and snippets.

View elmarti's full-sized avatar
😶

Jack elmarti

😶
View GitHub Profile
@elmarti
elmarti / clrs.scss
Created October 30, 2017 08:31
Scss variables for http://clrs.cc accessible colour scheme
$navy: #001f3f;
$blue: #0074d9;
$aqua: #7fdbff;
$teal: #39cccc;
$olive: #3d9970;
$green: #2ecc40;
$lime: #01ff70;
$yellow: #ffdc00;
$orange: #ff851b;
$red: #ff4136;
<div class="paper">
Howdy
</div>
FOR /L %i IN (0,1,255) DO ping -n 1 192.168.10.%i >>c:\ipaddresses.txt
@elmarti
elmarti / JustGageMeteor.html
Last active April 2, 2016 05:43
JustGage Meteor Template HTML - How to use JustGage with NPM in Meteor
<!-- JS file https://gist.github.com/elmarti/ae2a7c4de77da46d6080e8641323a11c -->
<template name="JustGage">
{{getGageGraph}}
<div id="{{gage.id}}" class="{{gage.class}}" style="width:{{size.width}}; height:{{size.height}}"></div>
</template>
<!-- whateverPage is the page that where you will put the graph -->
<template name="whateverPage">
{{>JustGage yourCustomHelper}}
</template>
//RTCPeerConnection
window.RTCPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection ||
window.webkitRTCPeerConnection || window.msRTCPeerConnection;
//getUserMedia
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia ||
navigator.mozGetUserMedia || navigator.msGetUserMedia;
//SessionDescription
window.SessionDescription = window.RTCSessionDescription || window.mozRTCSessionDescription ||
window.webkitRTCSessionDescription || msSessionDescription;
@elmarti
elmarti / cwd.bat
Last active September 4, 2015 08:21
Open CMD in CWD
start cmd.exe
TITLE LocalCMD
setlocal
path=c:\;%path%