This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nodes": { | |
"Material Output": { | |
"bl_idname": "ShaderNodeOutputMaterial", | |
"bl_label": "Material Output", | |
"name": "Material Output", | |
"label": "", | |
"location": { | |
"x": 300.0, | |
"y": 300.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local cfg = { | |
holeSize = 4, | |
impulseDistance = 5, | |
impulseMagnitude = 500 | |
} | |
local events = { | |
--[[ | |
(time) = { | |
center = {x, y , z}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Scale.lua" | |
local function identity (n) | |
return function () return n end | |
end | |
Graph = {} | |
Graph.__index = Graph | |
function Graph.init() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local dumpDepth = 0 | |
function dumpList(key) | |
print(string.rep(' ', dumpDepth)..key) | |
local list = ListKeys(key) | |
for i=1, #list do | |
dumpDepth = dumpDepth + 1 | |
dumpList(key..'.'..list[i]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- https://gist.github.com/gre/1650294 | |
ease = {} | |
ease.linear = function (t) return t end | |
ease.inQuad = function (t) return t*t end | |
ease.outQuad = function (t) return t*(2-t) end | |
ease.inOutQuad = function (t) return t<0.5 and 2*t*t or -1+(4-2*t)*t end | |
ease.inCubic = function (t) return t*t*t end | |
ease.outCubic = function (t) t = t-1; return t*t*t+1 end | |
ease.inOutCubic = function (t) return t<0.5 and 4*t*t*t or (t-1)*(2*t-2)*(2*t-2)+1 end | |
ease.inQuart = function (t) return t*t*t*t end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bl_info = { | |
"name": "Blender Toast", | |
"description": "Toast Notifications", | |
"author": "Josh Faul", | |
"blender": (2, 90, 1), | |
"category": "Render" | |
} | |
import subprocess | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Dust</title> | |
<!-- Mobile --> | |
<meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black"> | |
<style> | |
html, body { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I need to "curl -I" the result of the following series of pipes: | |
curl -s -D http://www.gtfs-data-exchange.com/agency/utah-transit-authority/latest.zip | grep Location | cut -d" " -f2 | |
# Note: gtfs-data-exchange.com doesn't play nice with HEAD, but a request for .../latest.zip will *always* spit back a redirect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autoload -Uz vcs_info | |
zstyle ':vcs_info:*' enable git | |
zstyle ':vcs_info:git*' unstagedstr '%F{160}●' | |
zstyle ':vcs_info:git*' stagedstr '%F{40}●' | |
zstyle ':vcs_info:git*' formats '%F{220}± %F{255} %F{249}%b %u%c' | |
zstyle ':vcs_info:git*' actionformats '%F{220}± %F{45}%b|%a %u%c' | |
zstyle ':vcs_info:git*' check-for-changes true | |
precmd() { | |
vcs_info |
NewerOlder