Skip to content

Instantly share code, notes, and snippets.

View zethussuen's full-sized avatar

Zethus Suen zethussuen

  • New York, NY
View GitHub Profile
@zethussuen
zethussuen / chaos_roto_rules.md
Last active July 26, 2024 00:56
chaos roto rules

Chaos Rotisserie Draft

Packs

  • Each player will bring 3 packs of any set not mentioned in the banned section. The pack must have at least 14 cards.
  • For epilogue or beyond boosters that have less than 14 cards, you can opt to bring two of them to count as a "single pack".

Setup

  • Packs will be opened 3 at a time by 3 different players.
  • All 360+ cards will be laid out on the drafting surface.
@zethussuen
zethussuen / clipboard_export.json
Created December 30, 2020 21:06
PD2 Stash Export
{
"defense": 354,
"iLevel": 85,
"name": "Skin of the Vipermagi",
"quality": "Unique",
"socketed": [
{
"iLevel": 1,
"isGem": true,
"quality": "Normal",
CHANGES SINCE PREVIOUS BETA
Fixed a crash when adding a page whilst the document was being saved in the background (#5779)
Fixed an occasional crash after editing text (#5776)
Fixed a crash when pasting an empty string (#5873)
Fixed an occasional crash when changing fonts (#5880)
Fixed loss of focus when duplicating a layer (#5745)
Fixed a crash with the Layout Settings and Grid Settings panels (#5815)
Fixed a crash when dragging a slice preview (#5778)
Fixed crash when closing window on 10.11 (#5851)
NEW FEATURES
⁃ New Google Material Design template and artboard sizes.
⁃ Adds support for Sketch-Mirror and @3x scaling.
⁃ Align and Distribute tools now work for Vector points too.
⁃ You can now measure the distance from a shape to a grid or guide line using the Alt key as well.
⁃ Alt + click on the Inspector's align buttons to align the entire selection with their parent artboard.
⁃ Added a new preference to choose the resolution to which bitmaps are flattened when doing Layer › Flatten Selection to Bitmap.
⁃ When rotating objects, the pivot point can now be moved.
⁃ Shift+Return now inserts a line break instead of a paragraph break in text editing mode.
ENHANCEMENTS
@zethussuen
zethussuen / font-tracking.scss
Created April 15, 2013 19:05
Mixin to convert Photoshop font-tracking value to em
// font-tracking of 100 = 0.1em
@mixin font-tracking($value) {
letter-spacing: ($value/1000) + em;
}
@zethussuen
zethussuen / mixin-background-image-retina.scss
Last active December 16, 2015 06:09
SASS mixin for retina background-images in Ruby on Rails environments
// Original Source: https://gist.github.com/twe4ked
// Modified for assets pipelining on Ruby on Rails
// Added more options to pass
@mixin background-image-retina($file, $type, $width, $height, $positionX: left, $positionY: top, $background-repeat: no-repeat) {
background-image: image-url($file + '.' + $type);
background-size: $width $height;
width: $width; height: $height;
background-position: $positionX $positionY;
background-repeat: $background-repeat;