Skip to content

Instantly share code, notes, and snippets.

Avatar

Arley McBlain arleym

View GitHub Profile
@ttscoff
ttscoff / init.lua
Last active Nov 19, 2020
Hammerspoon config examples for hyper key
View init.lua
-- A global variable for the Hyper Mode
k = hs.hotkey.modal.new({}, "F17")
-- Trigger existing hyper key shortcuts
k:bind({}, 'm', nil, function() hs.eventtap.keyStroke({"cmd","alt","shift","ctrl"}, 'm') end)
-- OR build your own
launch = function(appname)
@wesbos
wesbos / tab-trigger.js
Created Nov 16, 2015
How to properly get a TAB trigger working with Emmet inside of JSX
View tab-trigger.js
{
"keys": ["tab"],
"command": "expand_abbreviation_by_tab",
// put comma-separated syntax selectors for which
// you want to expandEmmet abbreviations into "operand" key
// instead of SCOPE_SELECTOR.
// Examples: source.js, text.html - source
"context": [
{
View Sass_201-toronto.md

#Intro#

#Get to know the group#

  • Do you know any programming languages?
  • Are you using any of this in your project? ** Mixins? ** Extends?
@andrewdc
andrewdc / gulpfile.js
Created Apr 14, 2014
Simple Static Site Generator with Gulp
View gulpfile.js
var gulp = require('gulp'),
gutil = require('gulp-util'),
sass = require('gulp-sass'),
rubysass = require('gulp-ruby-sass'),
fileinclude = require('gulp-file-include'),
rename = require('gulp-rename'),
notify = require('gulp-notify'),
livereload = require('gulp-livereload'),
lr = require('tiny-lr'),
connect = require('gulp-connect'),
@lgladdy
lgladdy / grunt-sitemap.php
Created Apr 13, 2014
Grunt Sitemap Generator plugin for Wordpress
View grunt-sitemap.php
<?php
/**
* Plugin Name: Grunt Sitemap Generator
* Plugin URI: http://www.github.com/lgladdy
* Description: Generate a JSON list of every page on a site so it can be used with grunt and uncss. Create a folder in /wp-content called mu-plugins, and drop this code into that folder, as grunt-sitemap.php
* Author: Liam Gladdy
* Author URI: http://gladdy.co.uk
* Version: 1.0
*/
You can’t perform that action at this time.