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
| --- | |
| version: 1.0 | |
| domains: | |
| - yef.im | |
| url_patterns: | |
| - yef.im/* | |
| timestamp: '2018-07-27T06:22:31Z' | |
| id: _miH | |
| redirect_url: https://yef.im/ | |
| shared_via: StyleURL – import and export CSS changes from Chrome Inspector to a Gist |
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
| --- | |
| version: 1.0 | |
| domains: | |
| - yef.im | |
| url_patterns: | |
| - yef.im/* | |
| timestamp: '2018-07-27T04:42:45Z' | |
| id: 1hhU | |
| redirect_url: https://yef.im/ | |
| shared_via: StyleURL – import and export CSS changes from Chrome Inspector to a Gist |
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
| Verifying my Blockstack ID is secured with the address 1Bo7ejqkATP6BUcv7WauFQdx4BUQBrLoX9 https://explorer.blockstack.org/address/1Bo7ejqkATP6BUcv7WauFQdx4BUQBrLoX9 |
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
| irb> def benchmark | |
| irb> s = Time.zone.now | |
| irb> 50000.times { yield } | |
| irb> e = Time.zone.now | |
| irb> e - s | |
| irb> end | |
| => :benchmark | |
| irb> benchmark do | |
| irb> u = RollingUser.new | |
| irb> u.save |
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
| { | |
| "AWSEBDockerrunVersion": "1", | |
| "Image": { | |
| "Name": "<AWS_ACCOUNT_ID>.dkr.ecr.us-east-1.amazonaws.com/<NAME>:<TAG>", | |
| "Update": "true" | |
| }, | |
| "Ports": [ | |
| { | |
| "ContainerPort": "443" | |
| } |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| div { | |
| display: none; | |
| } | |
| .active { | |
| display: block; |
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
| const editDistance = (a, b) => { | |
| if (a === '' || b === '') { | |
| return Math.max(a.length, b.length); | |
| } | |
| return (a[0] === b[0] ? 0 : 1) + Math.min( | |
| editDistance(a.substring(1), b.substring(1)), | |
| editDistance(a.substring(1), b), | |
| editDistance(a, b.substring(1)) | |
| ); |
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
| gg=G | |
| :retab | |
| ZZ |
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
| var Item = React.createClass({ | |
| render: function() { | |
| return ( | |
| <div onClick={this.props.handleClick.bind(this, this.props.item)}>{this.props.item}</div>; | |
| ); | |
| } | |
| }) | |
| var List = React.createClass({ | |
| handleClick: function(item) { |
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
| var express = require("express"); | |
| var logfmt = require("logfmt"); | |
| var app = express(); | |
| app.use(logfmt.requestLogger()); | |
| app.get('/', function(req, res) { | |
| res.send(500); | |
| }); |