This isn't really going to be useful for anyone else. But if you have a comic/manga collection where every series is stored in a directory that contains directories representing each chapter of the series, and you want to turn those directories into .cbz files, this may be of some use for you.
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 python3 | |
| # Note: Do not embed any non-ASCII characters in this file until pip has been | |
| # fixed. See https://github.com/xonsh/xonsh/issues/487. | |
| import os | |
| import subprocess | |
| import sys | |
| from setuptools import setup | |
| from setuptools.command.build_py import build_py | |
| from setuptools.command.develop import develop |
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
| HOMEBREW_VERSION: 3.5.2-102-g65e077a | |
| ORIGIN: https://github.com/Homebrew/brew | |
| HEAD: 65e077aac9aaf616a8394f74e4f41be24cb344e0 | |
| Last commit: 31 hours ago | |
| Core tap ORIGIN: https://github.com/Homebrew/homebrew-core | |
| Core tap HEAD: 02117d348272bad00e9f13cb380a86c456be9c3d | |
| Core tap last commit: 13 hours ago | |
| Core tap branch: master | |
| HOMEBREW_PREFIX: /usr/local | |
| HOMEBREW_CASK_OPTS: [] |
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
| Please note that these warnings are just used to help the Homebrew maintainers | |
| with debugging if you file an issue. If everything you use Homebrew for is | |
| working fine: please don't worry or file an issue; just ignore this. Thanks! | |
| Warning: Unknown support status | |
| Warning: A newer Command Line Tools release is available. | |
| Update them from Software Update in System Preferences or run: | |
| softwareupdate --all --install --force |
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
| brew livecheck --cask clix --debug | |
| Cask: clix | |
| Livecheckable?: Yes | |
| URL (url): https://rixstep.com/4/0/clix//clix.zip | |
| Strategy: ExtractPlist | |
| ==> Extracting primary container | |
| /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/3.5.2-102-g65e077a\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 11.4\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://rixstep.com/4/0/clix//clix.zip | |
| ==> Checking quarantine support |
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
| # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages | |
| name: Node.js Package | |
| on: | |
| release: | |
| types: [created] | |
| jobs: |
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
| # This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
| name: Node.js CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] |
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
| # Go to the homebrew-cask directory | |
| $ cd $(brew --repository)/Library/Taps/homebrew/homebrew-cask/Casks | |
| # Bring up commit logs for the interested cask | |
| $ git log --full-history -- jbidwatcher.rb | |
| # Find the SHA of the last commit where the file was active. This will usually be the second commit on the list, | |
| # where the first one is the commit where the file got deleted. | |
| # For the jbidwatcher cask, this was 1d5f7ef8dd72f236d1edd100448473bec127a1e4 | |
| # Restore the file. | |
| $ git checkout 1d5f7ef8dd72f236d1edd100448473bec127a1e4 -- jbidwatcher.rb | |
| # Run your command |
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
| public void interleave(ArrayList<Integer> a1, ArrayList<Integer> a2){ | |
| Iterator<Integer> it2 = a2.iterator(); | |
| int idx = 0; | |
| while (it2.hasNext()){ | |
| idx++; | |
| if (idx < a1.size()){ | |
| a1.add(idx, it2.next()); | |
| } else { | |
| a1.add(it2.next()); | |
| } |
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
| public void interleave(ArrayList<Integer> a1, ArrayList<Integer> a2){ | |
| Iterator<Integer> it2 = a2.iterator(); | |
| int idx = 0; | |
| while (it2.hasnext()){ | |
| idx++; | |
| if (idx < a1.size()){ | |
| a1.add(idx, it2.next()); | |
| } else { | |
| a1.add(it2.next()); | |
| } |