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 <sys/wait.h> | |
| #include <errno.h> | |
| #include <fcntl.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| static const char *args[8]; |
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
| #!/bin/sh | |
| echo ============================================================================== | |
| clang-format -help | |
| echo ============================================================================== | |
| dfmt --help | |
| echo ============================================================================== | |
| elm-format --help | |
| echo ============================================================================== | |
| gofmt -h | |
| echo ============================================================================== |
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
| https://github.com/teerl/httphere | |
| Go. HTTPS, directory listing. | |
| https://github.com/dcparker/httphere | |
| Ruby. HTTPS, cache size, Markdown, Textile. | |
| https://github.com/dgl/httphere |
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 argparse | |
| from collections import defaultdict | |
| TRUCK_WEIGHT = 8 | |
| def ints(line): | |
| return tuple(map(int, line.split())) | |
| def parse(stream): | |
| lines = list(map(ints, stream)) |
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
| #!/usr/bin/env ruby | |
| # | |
| # Basic sanity check for Discourse plugin language translations. | |
| require "psych" | |
| def keypaths(tree, prefix="") | |
| return [prefix] unless tree.is_a?(Hash) | |
| return tree.map{|k,v| keypaths(v, prefix+"/"+k)}.flatten | |
| end |