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
| User scores for the top 100 tags sorted on average per-answer score (users with 1000 or more answers only) | |
| NAME TAG SCORE COUNT AVERAGE NORM WEIGHTED | |
| 1 CMS javascript 24985 1215 20.56 0.0314 38.1401 | |
| 2 Eric Lippert c# 44175 2571 17.18 0.0581 149.2803 | |
| 3 polygenelubricants java 12396 1024 12.11 0.0154 15.7527 | |
| 4 Mehrdad Afshari c# 11975 1018 11.76 0.0157 16.0231 | |
| 5 Johannes Schaub - litb c++ 21543 2002 10.76 0.0614 122.9951 | |
| 6 Dave DeLong objective-c 12198 1254 9.73 0.0555 69.6445 | |
| 7 Jon Skeet .net 47874 5065 9.45 0.2338 1184.0163 |
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
| #include <stdio.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #include <pty.h> | |
| #include <termios.h> | |
| #include <fcntl.h> | |
| #include <sys/select.h> |
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
| CONFIG = { | |
| 'Arial Black' : 'ENG', | |
| 'Arial' : 'ENG', | |
| 'Calibri' : 'ENG', | |
| 'Cambria' : 'ENG', | |
| 'Candara' : 'ENG', | |
| 'Comic Sans MS' : 'ENG', | |
| 'Constantia' : 'ENG', | |
| 'Corbel' : 'ENG', | |
| 'Georgia' : 'ENG', |
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
| /* 1) Immediately prints the base puzzle SVG to stdout. | |
| * 2) Creates a path-*.svg each * time it hits a longest path. | |
| * 3) Creates a solution-*.svg for each solution. | |
| */ | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #define WIDTH 8u | |
| #define HEIGHT 8u |
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
| module RegIntIntval (RegEx, matchIntRange, matchLessThan, matchGreaterThan) where | |
| import Data.Digits | |
| import Text.Regex.PCRE.Light | |
| import Data.ByteString (pack) | |
| import Data.ByteString.Internal (c2w) | |
| import Data.Maybe | |
| import Data.List | |
| import FreeMonoidCompress |
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 MISSING = {}; | |
| var QUEUE_COMPACT_SIZE = 500; | |
| function define(object, properties) { | |
| for (var key in properties) { | |
| var desc = Object.getOwnPropertyDescriptor(properties, key); | |
| desc.enumerable = false; | |
| Object.defineProperty(object, key, desc); | |
| } | |
| } |
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
| -- supply test -- | |
| -- protótipo -- | |
| local Supply = { | |
| subs = { } -- funções inscritas -- | |
| } | |
| -- construtor -- | |
| function Supply: new ( ) | |
| return setmetatable ({ subs = { } }, { __index = Supply }) |
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
| // fun.cpp | |
| extern "C" | |
| { | |
| #include <lua.h> | |
| #include <lauxlib.h> | |
| #include <lualib.h> | |
| } | |
| #include <iostream> |
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
| template<typename NodeRef> | |
| class Graph { | |
| public: | |
| std::vector<NodeRef> allNodes() const; | |
| std::vector<NodeRef> getChildren(NodeRef) const; | |
| }; | |
| template<typename NodeRef> | |
| std::vector<NodeRef> TopologicalSort(const Graph<NodeRef>& G) { | |
| std::map<NodeRef, unsigned> RefCount; |
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
| // @aktau: this is not my file, I tried to find the original article this was from but couldn't, I'm pasting it here for posterity | |
| #include <fcntl.h> | |
| #include <stdio.h> | |
| #include <errno.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <sys/resource.h> | |
| #include <sys/types.h> | |
| #include <sys/time.h> | |
| #include <sys/uio.h> |