
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
github.com/dawkrish/compression-tool
Inspired by this coding challenge
All the code blocks are meant to be run in a terminal
Install Go You can download Go from [here]
Install the binary
go install github.com/dawkrish/compression-tool@latest
This will place the binary in GOPATH
. You can check your GOPATH
by typing the command go env
Confirm
which compression-tool
should output something like
/Users/<username>/go/bin/compression-tool
There are only 2 flags
-h
for help-d
for decompressingExample
./compression-tool <file-name>
: will compress the content of the file into a new file <file-name_compressed.txt>
./compression-tool -d <file-name>
: will decompress the content of the file into a new file <file-name_decompressed.txt>
Note : the -d
flag must come before the <file-name>
. You can look the reason for it [here]
Note that the flag package requires all flags to appear before positional arguments (otherwise the flags will be interpreted as positional arguments)
The project was simple and small, but effective, if you face any issue, please raise an issue
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.