Results 475 issues of milahu

i just tried to use this to compile all tree-sitter grammars but the build fails with many `multiple definition` errors so it seems like a bad idea to compile all...

this just works: https://github.com/aoirint/NoDownloadShelf

`dist/FileSaver.js` fails in a browser, because `global` is undefined https://github.com/eligrey/FileSaver.js/blob/cea522bc41bfadc364837293d0c4dc585a65ac46/dist/FileSaver.js#L11 > `TypeError: Cannot set properties of undefined (setting 'FileSaver')` `src/FileSaver.js` works the `dist` folder should be either updated or deleted...

fix #43 simply ignore text encoding, and use raw bytestrings dealing with text encoding is deferred to the user this allows handling "broken" files with multiple encodings probably this is...

* https://github.com/milahu/generate-video-subtitle feel free to add other projects

``` $ du -sh "output/audio-Savvy _June Cut_final.flac" 3.4M output/audio-Savvy _June Cut_final.flac $ du -sh .git 4.0M .git ``` ideally rewrite git history ... https://github.com/milahu/generate-video-subtitle ``` $ bfg -b 3M $...

currently the v1 hash appears only in this test https://github.com/7sDream/torrent_parser/blob/23b9e110beb5b91c5498b286bd9d8cce83cfc076/tests/test_info_hash.py#L15-L20 expected: ```py torrent = torrent_parser.parse_torrent_file("input.torrent", hash_raw=True) info_hash_v1_raw = torrent_parser.get_info_hash_v1_raw(torrent) # -> bytes info_hash_v1_hex = torrent_parser.get_info_hash_v1_hex(torrent) # -> string info_hash_v2_raw =...

helper functions should be static to avoid the downstream build error `multiple definition of ...` when building one binary from multiple parsers https://github.com/Himujjal/tree-sitter-svelte/blob/bd60db7d3d06f89b6ec3b287c9a6e9190b5564bd/src/tag.h#L211 like in [tree-sitter-html](https://github.com/tree-sitter/tree-sitter-html/blob/5760f521fac79263de4ca71a590ef516594c9f37/src/tag.h#L344) ```c static bool can_contain(Tag...

overwriting a file with a directory fails even with `options.overwrite = true` ``` Error: EEXIST: file already exists, mkdir '/path/to/existing/file' ``` maybe add `options.mkdirForce`