This file contains hidden or 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
{ | |
"all_nodes": { | |
"0b2d8d19-b7a0-489a-8cd3-496397a61c29": { | |
"id": "0b2d8d19-b7a0-489a-8cd3-496397a61c29", | |
"name": "Root", | |
"position": { | |
"dx": 157, | |
"dy": 367 | |
}, | |
"slots": [ |
This file contains hidden or 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
0x60588ab1979CA415Af34D10D7EBBf07Fa1Eb9560 |
This file contains hidden or 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
0x00723B37C14116276b5d82b665C0E60665dE811a |
This file contains hidden or 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
0x00c9fFBAAe8db8343360601E36ab8A306c35182b |
This file contains hidden or 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
0x009518444A4510aC6f48A2A641D1DB02d287F500 |
This file contains hidden or 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
0x0046914464b71c9767bFa67A82CB58e2fC19242D |
This file contains hidden or 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
0x00B910Ea17B9ec4594b9fbA0fE7be3ce4db0A90d |
This file contains hidden or 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
import UIKit | |
// How to use | |
// Drag an UIView to storyboard, set constraints. | |
// Set the height constraint priority to less than 1000. | |
// The view will override that to half pixel. | |
class HairlineView: UIView { | |
override init(frame: CGRect) { | |
super.init(frame: frame) | |
} |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
namespace :assets do | |
desc "link nondigest application.css" | |
task :link_nondigest => :environment do | |
manifest = Dir.glob("#{Rails.root}/public/assets/manifest-*.json").first | |
nondigest = "application.css" | |
json = JSON.parse(open(manifest).read) | |
css = json["files"].select { |_, f| f["logical_path"] == nondigest } | |
.sort_by { |_, v| Time.parse(v["mtime"]) } | |
.last.first |
NewerOlder