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 query() { | |
| var | |
| // HN is done with very unsemantic classes. | |
| job_list = Array.prototype.slice.call(document.querySelectorAll('.c5a,.cae,.c00,.c9c,.cdd,.c73,.c88')), | |
| query_list = Array.prototype.slice.call(arguments), | |
| shown = 0, total = job_list.length; | |
| // Traverses up the dom stack trying to find a match of a specific class | |
| function up_to(node, klass) { | |
| if (node.classList.contains(klass)) { |
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 <magic.h> | |
| int main(void) | |
| { | |
| char *actual_file = "/file/you/want.yay"; | |
| const char *magic_full; | |
| magic_t magic_cookie; | |
| /* MAGIC_MIME tells magic to return a mime of the file, |
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
| { | |
| "code": "REJECTED", | |
| "rejectionMessage": "Webhook rejection message to be displayed to visitor" | |
| } |
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
| snippet oo outline-offset | |
| outline-offset: ${1} | |
| snippet le left | |
| left: ${1} | |
| snippet atf animation-timing-function | |
| animation-timing-function: ${1} | |
| snippet lst list-style-type | |
| list-style-type: ${1} | |
| snippet cw column-width | |
| column-width: ${1} |