Skip to content

Instantly share code, notes, and snippets.

View Sulcalibur's full-sized avatar
🕺
Pop 'n' Lock

Suleiman Leadbitter Sulcalibur

🕺
Pop 'n' Lock
View GitHub Profile
@wiratama
wiratama / laravel-mix-cheatsheet
Last active July 20, 2021 22:19
Laravel mix API cheat sheet
/*** Laravel mix API cheat sheet **/
mix.js(src, output);
mix.react(src, output); /** Identical to mix.js(), but registers React Babel compilation. **/
mix.extract(vendorLibs);
mix.sass(src, output);
mix.standaloneSass('src', output); /** Faster, but isolated from Webpack. **/
mix.fastSass('src', output); /** Alias for mix.standaloneSass(). **/
mix.less(src, output);
mix.stylus(src, output);
mix.postCss(src, output, [require('postcss-some-plugin')()]);
@Sulcalibur
Sulcalibur / cloudSettings
Created September 4, 2017 15:45
Visual Studio Code Settings Sync Gist
{"lastUpload":"2017-09-04T15:45:02.344Z","extensionVersion":"v2.8.2"}
@kohki-shikata
kohki-shikata / index.jade
Created April 4, 2016 06:08
Jade version of index.html for Foundation 6
doctype html
html.no-js(lang='en')
head
meta(charset='utf-8')
meta(http-equiv='x-ua-compatible', content='ie=edge')
meta(name='viewport', content='width=device-width, initial-scale=1.0')
title Foundation for Sites
link(rel='stylesheet', href='css/app.css')
body
.row
@matellis
matellis / AirmailToOmnifocus2.scpt
Last active July 18, 2017 01:35
Sends the selected message from Airmail to Omnifocus 2
(*
Send currently selected Airmail message to OmniFocus 2 quick entry box, then archive it.
Based on http://simplicitybliss.com/add-last-sent-email-to-omnifocus
and http://discourse.omnigroup.com/t/mail-to-quick-entry-applescript/500
To install:
- Create a new Automator Service
- Cut/paste this into it
- Edit properties to your satisfaction
@fitzryland
fitzryland / basicSusyBreakpoints.scss
Last active August 29, 2015 13:57
My Basic Susy Breakpoint Setup
// $breakpoint-no-queries: false;
$breakpoint-no-query-fallbacks: true;
$susy: (
gutters: 0.2
);
$layouts: (
small: (
break: 0em 37.5em,
@MoOx
MoOx / gulpfile.js
Last active November 4, 2021 10:19
///
var pkg = require("./package.json")
, rimraf = require("rimraf")
, gulp = require("gulp")
, gutil = require("gulp-util")
, filter = require("gulp-filter")
, plumber = require("gulp-plumber")
, concat = require("gulp-concat")
gulp.task("clean", function() {
@craigeley
craigeley / sifttter.rb
Last active July 23, 2018 16:37
This script looks for text files in a specific folder that include completed tasks ('@done') and timestamps, and then collects them into a daily log for the Day One journaling application. It works especially well when it's connected to IFTTT. See more details at http://craigeley.com/tagged/sifttter
#!/usr/bin/ruby
# SIFTTTER 1.5: An IFTTT-to-Day One Logger by Craig Eley 2014 <http://craigeley.com>
# Based on tp-dailylog.rb by Brett Terpstra 2012 <http://brettterpstra.com>
# Multiple Date Function by Paul Hayes 2014 <http://paulrhayes.com>
#
# Notes:
# * Uses `mdfind` to locate a specific folder of IFTTT-generated text files changed in the last day
# * The location of your folder should be hardcoded in line 67, and the location of your Day One in line 66
# * Scans leading timestamps in each line matching the selected dates
# * Does not alter text files in any way
@bomberstudios
bomberstudios / sketch-plugins.md
Last active February 26, 2024 07:02
A list of Sketch plugins hosted at GitHub, in no particular order.
@diogomoretti
diogomoretti / fonts.styl
Last active November 20, 2019 06:37
Stylus mixin @font-face
// Fonts mixin
font-url(file)
return '../fonts/' + file
webfont(family, file, hack-chrome-windows = false, weight = 'normal')
@font-face
font-family family
src url(font-url(file + '.eot'))
src url(font-url(file + '.eot?#iefix')) format('embedded-opentype'),
url(font-url(file + '.woff')) format('woff'),

Using Calca for design

Below, the variables and examples were taken verbatim from [Using Soulver for design][sfd].

I'm just posting this as a reference, and example of sharing plain text documents for use within Calca. [sfd]: http://bjango.com/articles/soulver/

Variables and examples

iPhoneW = 320