Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Github has statuses now?

Alan Mooiman alanmoo

💭
Github has statuses now?
View GitHub Profile
@alanmoo
alanmoo / Pulse kiosk mode plugin
Last active Nov 8, 2016
Use with Custom Style Script Firefox Add-on to enable demo mode on network pulse.
View Pulse kiosk mode plugin
var timer;
var idleTimeInMinutes = 1
var scrollDownTime = 4
var scrollUpTime = 0.25
function scrollToBottom(){
console.log('scroll');
$('#latest-view-link').click();
$('html, body').animate({
scrollTop: $('.projects').height()
View keybase.md

Keybase proof

I hereby claim:

  • I am alanmoo on github.
  • I am alanmoo (https://keybase.io/alanmoo) on keybase.
  • I have a public key ASDRpnrqLlJydPMmHikeKBccfnZe_NJTbryy_s4qyHjZvQo

To claim this, I am signing this object:

@alanmoo
alanmoo / gist:2b5ee62c41a4f8ea99eb
Created Jun 9, 2015
Regex to remove Angular directives from markup
View gist:2b5ee62c41a4f8ea99eb
[^"]ng-\w+(-\w+)?=".*?"
@alanmoo
alanmoo / SassMeister-input.scss
Created Nov 7, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
.block-selector {
display: inline-block;
.nested-selector {
padding-top: 10px;
display: none;
@alanmoo
alanmoo / SassMeister-input.scss
Created Feb 17, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.0.rc.4)
// Compass (v1.0.0.alpha.18)
// Singularity.gs (v1.2.0.rc.6)
// ----
@import "singularitygs";
$grids: 20;
$gutters: 1/3;
@alanmoo
alanmoo / SassMeister-input.scss
Created Jan 28, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.0.rc.2)
// Compass (v1.0.0.alpha.17)
// ----
h1{
font-size: 2rem;
@media (max-width: 600px){
font-size: 3rem;
}
@alanmoo
alanmoo / SassMeister-input.scss
Created Jan 28, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.0.rc.2)
// Compass (v1.0.0.alpha.17)
// ----
$base: #99cc00;
$lighter-base: lighten($base, 10%);
.foo{
color: $base;
@alanmoo
alanmoo / SassMeister-input.scss
Created Jan 28, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.0.rc.2)
// Compass (v1.0.0.alpha.17)
// ----
.btn{
background: #333;
padding: 5px 10px;
a{
color: white;
@alanmoo
alanmoo / SassMeister-input.scss
Created Jan 28, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.0.rc.2)
// Compass (v1.0.0.alpha.17)
// ----
$icons: (
search: "\f001",
envelope: "\f002",
checkmark: "\f003",
cancelx: "\f004",
@alanmoo
alanmoo / SassMeister-input.scss
Created Jan 28, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.0.rc.2)
// Compass (v1.0.0.alpha.17)
// ----
.btn{
background: #333;
a{
color: white;
}