Skip to content

Instantly share code, notes, and snippets.

@Juice10
Juice10 / appz.json
Last active March 13, 2022 19:07 — forked from codesiddhant/gist:c91266dec0b04688d4b05011e6aea140
rrweb canvas recording on app.ziteboard.com
This file has been truncated, but you can view the full file.
[{"type":4,"data":{"href":"https://app.ziteboard.com/","width":1600,"height":900},"timestamp":1647195010983},{"type":2,"data":{"node":{"type":0,"childNodes":[{"type":1,"name":"html","publicId":"","systemId":"","id":2},{"type":2,"tagName":"html","attributes":{"lang":"en","class":"windows desktop landscape wf-loading","style":"background-color: transparent; background-size: auto; background-image: none; position: absolute;"},"childNodes":[{"type":2,"tagName":"head","attributes":{},"childNodes":[{"type":3,"textContent":"\n","id":5},{"type":2,"tagName":"title","attributes":{},"childNodes":[{"type":3,"textContent":"Ziteboard","id":7}],"id":6},{"type":3,"textContent":"\n","id":8},{"type":2,"tagName":"meta","attributes":{"charset":"utf-8","name":"viewport","content":"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui"},"childNodes":[],"id":9},{"type":3,"textContent":"\n","id":10},{"type":2,"tagName":"meta","attributes":{"name":"apple-mobile-web-app-capable","content":"yes"},"child
@Juice10
Juice10 / compass-retina-sprites.scss
Created May 15, 2012 10:37 — forked from thulstrup/compass-retina-sprites.scss
Using Compass to generate normal and retina sprite maps
@mixin sprite-background($name, $folder, $sprite-width) {
$sprites: sprite-map("#{$folder}/*.png");
$sprites-retina: sprite-map("#{$folder}@2x/*.png");
background-image: sprite-url($sprites);
background-position: sprite-position($sprites, $name);
background-repeat: no-repeat;
display: inline-block;
height: image-height(sprite-file($sprites, $name));
width: image-width(sprite-file($sprites, $name));