Skip to content

Instantly share code, notes, and snippets.

View alienresident's full-sized avatar

Mark Reilly alienresident

View GitHub Profile

Custom Sketch Keyboard Shortcuts

Menu Item Shortcut
Create Symbol ⌃ + ⌥ + ⌘+ C
Detach from Symbol ⌃ + ⌥ + ⌘ + D
Return to Instance ⌃ + ⌥ + ⌘ + W
View->Canvas->Layout Settings… ⌃ + ⌘ + L
Image… ⌃ + ⌘ + I
Make Exportable ⌃ + ⌘ + E
@alienresident
alienresident / invisionBookmarklet.js
Created February 15, 2018 01:45 — forked from kristof/invisionBookmarklet.js
Bookmarklet for hiding the Invision UI + hotspots
javascript: (function() {
var bottomBar = document.getElementById('bottom_bar');
var trayToggle = document.getElementsByClassName('hide-tray-toggle');
var screensViewerNav = document.getElementById('screens_viewer_nav');
var poweredBy = document.getElementsByClassName('powered-by');
var toolbar = document.getElementsByClassName('toolbar');
var slideshowNav =document.getElementsByClassName('slideshow-nav');
var hotspots = document.getElementsByClassName('hotspot');

How to fix MPEG Streamclip

  1. In Finder go to the Application folder select MPEG Streamclip icon
  2. Select File > Get Info (CMD + I)
  3. Check the Open in Low Resolution checkbox
  4. Open the MPEG Streamclip application and it should work properly

MPEG Streamclip Fix

/*$textcolor: red;*/
p { color: red;}
////$textcolor: red;
p { color: red;}
@alienresident
alienresident / Responsive Grid With Images (fluid).markdown
Created February 10, 2016 18:33
Responsive Grid With Images (fluid)
@alienresident
alienresident / lamp-stack-osx-virtualhostx.md
Last active January 12, 2016 18:22 — forked from pwenzel/lamp-stack-osx-virtualhostx.md
LAMP stack on OSX with Homebrew, built-in Apache, multiple PHP versions, VirtualhostX optional

This guide shows how to set up a PHP and MySQL development environment using OSX's built-in Apache, using Homebrew to install necessary components. With this strategy, you can use different versions of PHP for certain virtual hosts.

VirtualHostX is a convenient way to manage development sites, but not required.

Installation

Install Homebrew

Install homebrew-php

@alienresident
alienresident / SassMeister-input-HTML.html
Created October 27, 2015 17:08
Generated by SassMeister.com.
<div class="wrap">
<div class="full-bleed">
<div class="carousel">Carousel</div>
</div>
<div class="grid">
<main class="content"><h2>Content</h2></main>
<aside class="sidebar"><h2>Sidebar</h2></aside>
<div class="one-unit">1 Unit</div>
</div>
</div>
@alienresident
alienresident / SassMeister-input-HTML.html
Created October 27, 2015 17:02
Generated by SassMeister.com.
<!DOCTYPE html>
<html>
<link rel="stylesheet" type="text/css" href="css/styles.css">
<head>
<title>Responsive Grid Tests</title>
</head>
<body>
<div class="wrap">
<div class="full-bleed">
<div class="carousel">Carousel</div>
@alienresident
alienresident / SassMeister-input.scss
Created October 10, 2014 04:13
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
$namespace: "false";
$namespace: false;
@mixin namespacer($namespace) {
@if $namespace {
.#{$namespace} {