- GitHub Trending http://github.com/trending
- The Changelog http://thechangelog.com
- Hacker News http://news.ycombinator.com
- FripFrap http://fripfrap.io/
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
| (function() { | |
| var id_counter = 1; | |
| Object.defineProperty(Object.prototype, "__uniqueId", { | |
| writable: true | |
| }); | |
| Object.defineProperty(Object.prototype, "uniqueId", { | |
| get: function() { | |
| if (this.__uniqueId == undefined) | |
| this.__uniqueId = id_counter++; | |
| return this.__uniqueId; |
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 10 columns, instead of 6 in line 4.
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
| Stage, Ref L max, Ref L avg, Ref D max, Ref D avg, MT L max, MT L avg, MT D max, MT D avg, | |
| Role id, 0.959, 0.803, 0.778, 0.582, 0.956, 0.795, 0.667, 0.501, | |
| Role class, 0.862, 0.715, 0.574, 0.466, 0.881, 0.721, 0.525, 0.434, | |
| Actions, 0.979, 0.821, 0.917, 0.650, 0.971, 0.839, 0.700, 0.577, | |
| Actions align, 0.908, 0.737, 0.429, 0.332, | |
| Role align, 0.709, 0.523, 0.378, 0.266, |
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 glob | |
| index = dict() | |
| for (i, filename) in enumerate(glob.glob('collection/*.txt')): | |
| print "%d %d" % (len(index.keys()), i) | |
| with open(filename) as f: | |
| for line in f: | |
| words = line.strip().split(' ') | |
| for word in words: | |
| try: | |
| index[word] += 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
| start: program; | |
| program: outer_block*; | |
| outer_block: (outer_line NEWLINE)* | |
| outer_line?; | |
| @outer_line: initialization | |
| | assignment | |
| ';'; | |
| assignment: name '=' |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0"> | |
| <info> | |
| <title>Russian GOST R 7.0.1-2003 + 7.0.5-2008 numeric (madfriend)</title> | |
| <id>http://www.zotero.org/styles/gost-r-7-0-5-2008-num-appear</id> | |
| <link href="http://www.zotero.org/styles/gost-r-7-0-5-2008-num-appear" rel="self"/> | |
| <link href="https://dl.dropboxusercontent.com/u/95616327/Permanent_files/GOST-for-Zotero-Documentation.zip" rel="documentation"/> | |
| <author> | |
| <name>Roman Raspopov</name> | |
| <email>[email protected]</email> |
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 lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>BE with M decoupled</title> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <div class="new-label-form is-hidden"> | |
| <h2 class="new-label-form--title"> |
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
| $.fn.mapGetter = function(prop) { | |
| return $(this).map(function(i, e) { | |
| return $(e).attr(prop); | |
| }).get(); | |
| }; | |
| $.fn.filterByAttr = function(attr, val) { | |
| return $(this).filter(function(i, e) { | |
| return $(e).attr(attr) == val; | |
| }); |
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
| <my-tag> | |
| hello | |
| </my-tag> |
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
| <my-parent-tag> | |
| <div> | |
| this is parent tag | |
| <script type="riot/tag" src="https://rawgit.com/madfriend/51a535e989b710429334/raw/18753e624291e350e3f230aaece6a93be3785299/test2.tag"></script> | |
| <my-tag>this should be replaced by my-tag contents</my-tag> | |
| </div> | |
| </my-parent-tag> |