Skip to content

Instantly share code, notes, and snippets.

#ifdef GL_ES
precision mediump float;
#endif
uniform vec2 u_resolution;
uniform vec2 u_mouse;
uniform float u_time;
float scale = 200.0;
From Adam Plouff on Twitter:
Maintain stroke width. Works for scale and infinite parenting. Apply to Stroke Width property:
value / length(toComp([0,0]), toComp([0.7071,0.7071])) || 0.001;
So useful!!!
/**
* The preload script needs to stay in regular ole JavaScript, because it is
* the point of entry for electron-compile.
*/
require('../stat-cache');
const { init } = require('electron-compile');
const { assignIn } = require('lodash');
const path = require('path');
--- General ---
Undo: cmd + Z
Redo: cmd + shift + Z
Redo: cmd + Y
Setup/Animate Mode: cmd + TAB
Zoom To Fit: cmd + shift + F
Zoom To 100%: cmd + F
Lock Zoom:
Fullscreen: cmd + shift + opt + F
Always On Top: cmd + shift + opt + T
gesture = new Layer
height: Screen.height
width: Screen.width
resetX = 400
jiggler = new Layer
x: resetX
y: 527
height: 128
@psql
psql / dark.css
Last active June 16, 2017 16:19
DARK SLACK
body { background: red; color: #e6e6e6; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; }
@psql
psql / 2017-02-07-twitter-dark-tweaks.css
Created February 7, 2017 16:13
2017-02-07-twitter-dark-tweaks
/* Twitter Dark Mode Override */
body:first-of-type,
.AppContent,
.ProfileHeading-content {
background-color: #131920;
}
.TwitterCardsGrid-col--12 .PollXChoice-pollWrapper {
background-color: #212c3a;
border-radius: 0;
box-shadow: 0 5px 0 0 #212c3a;
messages = [
"love to tweet u"
"Oh is this an internet favor?"
"make comps great again"
"8===D"
"you bring honor to our family"
"I accidentally 40lbs of mangos"
"when I'm not doing things, I'm generally doing stuff."
"what's up with stuff"
"emoji time for realism 🐛🆒🕵🏻"
//
// ViewController.swift
// test
//
// Created by Pasquale DSilva on 3/4/16.
// Copyright © 2016 Pasquale DSilva. All rights reserved.
//
import UIKit
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶