- Read on the train, no notes.
- Read on the train, no notes. Basic introduction to concurrency concepts.
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)
| $('.example-films .typeahead').typeahead([ | |
| { | |
| name: 'best-picture-winners', | |
| remote: '../data/films/queries/%QUERY.json', | |
| prefetch: '../data/films/post_1960.json', | |
| template: '<p><strong>{{value}}</strong> – {{year}}</p>', | |
| engine: Hogan | |
| } | |
| ]); |
| $('.example-arabic .typeahead').typeahead({ | |
| name: 'arabic', | |
| local: [ | |
| "الإنجليزية", | |
| "نعم", | |
| "لا", | |
| "مرحبا", | |
| "کيف الحال؟", | |
| "أهلا", | |
| "مع السلامة", |
| $('.example-twitter-oss .typeahead').typeahead({ | |
| name: 'twitter-oss', | |
| prefetch: '../data/repos.json', | |
| template: [ | |
| '<p class="repo-language">{{language}}</p>', | |
| '<p class="repo-name">{{name}}</p>', | |
| '<p class="repo-description">{{description}}</p>' | |
| ].join(''), | |
| engine: Hogan | |
| }); |
| $('.example-twitter-oss .typeahead').typeahead({ | |
| name: 'twitter-oss', | |
| prefetch: '../data/repos.json', | |
| template: [ | |
| '<p class="repo-language">{{language}}</p>', | |
| '<p class="repo-name">{{name}}</p>', | |
| '<p class="repo-description">{{description}}</p>' | |
| ].join(''), | |
| engine: Hogan | |
| }); |