Skip to content

Instantly share code, notes, and snippets.

View LavaToaster's full-sized avatar
🔱

Adam Lavin LavaToaster

🔱
View GitHub Profile
@LavaToaster
LavaToaster / SketchSystems.spec
Last active January 9, 2020 15:21
Configuration
Configuration
connections -> Connections
channels -> Channels
Connections
add -> Configure Connection
List Connections
Has Data2?
false -> loading2
export ZPLG_HOME="${:-$HOME/.}zplugin"
if [[ ! -d $ZPLG_HOME ]]; then
echo "Installing zplugin"
curl -sL https://raw.githubusercontent.com/zdharma/zplugin/master/doc/install.sh | bash
fi
source "${ZPLG_HOME}/bin/zplugin.zsh"
autoload -Uz _zplugin
(( ${+_comps} )) && _comps[zplugin]=_zplugin
// Example uses styled-components, but styled-system works with most other css-in-js libraries as well
import * as React from "react";
import {
themeGet,
space,
width,
fontSize,
color,
fontFamily,
display,
const webpack = require('webpack');
const nodeExternals = require('webpack-node-externals');
const {
createConfig,
// Feature blocks
typescript,
// Production blocks
uglify,
@LavaToaster
LavaToaster / User.php
Last active February 8, 2017 16:01
Example LaravelDoctrine user entity and repository. Raw
<?php
namespace App\Entities;
use Doctrine\ORM\Mapping as ORM;
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Contracts\Support\Jsonable;
use LaravelDoctrine\Passport\Contracts;
use LaravelDoctrine\Passport\Traits;
use LaravelDoctrine\ORM\Auth\Authenticatable as AuthenticatableTrait;
@LavaToaster
LavaToaster / mac
Last active January 6, 2017 10:22
#!/bin/sh
# Welcome to the thoughtbot laptop script!
# Be prepared to turn your laptop (or desktop, no haters here)
# into an awesome development machine.
fancy_echo() {
local fmt="$1"; shift
# shellcheck disable=SC2059
@LavaToaster
LavaToaster / mac
Last active September 1, 2016 15:18
#!/bin/sh
# Welcome to the thoughtbot laptop script!
# Be prepared to turn your laptop (or desktop, no haters here)
# into an awesome development machine.
fancy_echo() {
local fmt="$1"; shift
# shellcheck disable=SC2059
(function() {
'use strict';
angular
.module('blocks.recover-session')
.config(Config)
.factory('RecoverSessionInterceptor', RecoverSessionInterceptor);
function Config($httpProvider) {
$httpProvider.interceptors.push('RecoverSessionInterceptor');
@LavaToaster
LavaToaster / bootstrap.sh
Last active October 26, 2015 16:34
Bootstrap
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew install caskroom/cask/brew-cask
brew tap homebrew/php
brew tap caskroom/versions
brew install php56 php56-mcrypt php56-mysqlnd_ms zsh
brew cask install sequel-pro-nightly iterm2 atom vagrant
curl -L http://install.ohmyz.sh/ | sh
sed -i "s/robbyrussell/rkj-repos/g" ~/.zshrc
zsh