This file contains 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
<div class="m-auto flex w-full flex-col items-center justify-center gap-16"><div class="m-0 flex h-fit w-fit animate-fade-in-float dark:animate-fade-in-float-dark"><svg width="320px" height="320px" viewBox="0 0 320 320" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><title>Y Combinator Logo</title><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><polygon fill="#F05F22" points="0 320 320 320 320 0 0 0"></polygon><polygon fill="#FFFFFF" points="173 175.8652 173 247.0002 146 247.0002 146 175.8652 77.086 73.0002 110 73.0002 159.628 148.9972 209 73.0002 241.914 73.0002"></polygon></g></g></svg></div><ol class="flex max-w-[60%] flex-col gap-3 text-center dark:text-orange-500"><li class="flex flex-col gap-1"><div class="text-6xl font-bold">W25 Alumni Demo Day</div><div class="text-4xl">10:00 AM-6:00 PM</div></li></ol></div> |
This file contains 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 Ember from 'ember'; | |
export default Ember.Component.extend({ | |
someData: 'hello' | |
didReceiveAttrs() { | |
console.log('didReceiveAttrs') | |
}, | |
didUpdateAttrs() { | |
console.log('didUpdateAttrs') | |
} |
This file contains 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 Ember from 'ember'; | |
export default Ember.Component.extend({ | |
actions: { | |
clearPersonData() { | |
this.set('person', null) | |
} | |
} | |
}); |
This file contains 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 Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
contentHtml: Ember.String.htmlSafe(` | |
<p>Hello <strong>world</strong></p> | |
<p>This content has html like images</p> | |
<p><img src="http://placekitten.com.s3.amazonaws.com/homepage-samples/408/287.jpg"></p> | |
`) | |
}); |
This file contains 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 Ember from 'ember'; | |
export default Ember.Component.extend({ | |
tagName: 'video', | |
attributeBindings: [ | |
'autoplay', | |
'muted', | |
'height', | |
'width', | |
'poster', |
This file contains 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 Ember from 'ember'; | |
const { | |
Component, | |
computed, | |
get, | |
guidFor | |
} = Ember; | |
export default Component.extend({ |
This file contains 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
. | |
├── JSONStream | |
│ ├── LICENSE.APACHE2 | |
│ ├── LICENSE.MIT | |
│ ├── examples | |
│ │ └── all_docs.js | |
│ ├── index.js | |
│ ├── package.json | |
│ ├── readme.markdown | |
│ └── test |
This file contains 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 xhr = new XMLHttpRequest() | |
xhr.open('GET', 'http://requestb.in/155pmaz1') | |
xhr.onreadystatechange = function () { | |
if (xhr.readyState !== 4) return | |
var jsonifiedXhr = JSON.parse(JSON.stringify(xhr)) | |
console.log(Object.keys(jsonifiedXhr)) | |
} | |
xhr.send() | |
// Chrome 42 |
This file has been truncated, but you can view the full file.
This file contains 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
{"participants":303854,"now":1427930520000,"secondsLeft":60} | |
{"participants":303865,"now":1427930521000,"secondsLeft":60} | |
{"participants":303871,"now":1427930522000,"secondsLeft":60} | |
{"participants":303875,"now":1427930523000,"secondsLeft":60} | |
{"participants":303884,"now":1427930524000,"secondsLeft":60} | |
{"participants":303893,"now":1427930525000,"secondsLeft":60} | |
{"participants":303900,"now":1427930526000,"secondsLeft":60} | |
{"participants":303907,"now":1427930527000,"secondsLeft":60} | |
{"participants":303917,"now":1427930528000,"secondsLeft":60} | |
{"participants":303931,"now":1427930529000,"secondsLeft":60} |
This file contains 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
$ aws lambda get-event-source --uuid my-events-uuid | |
{ | |
"Status": "OK", | |
"UUID": "my-events-uuid", | |
"LastModified": "2014-11-22T02:37:00.000+0000", | |
"BatchSize": 1, | |
"Parameters": { | |
"InitialPositionInStream": "TRIM_HORIZON" | |
}, | |
"Role": "arn:aws:iam::acct-number:role/lambda_exec_role", |
NewerOlder