#Unix Toolbox
##Unix Toolbox revision 14.4
Error reports and comments are m
#Unix Toolbox
##Unix Toolbox revision 14.4
These repos are selected from GitHub Explore daily / weekly newsletters based on my interests since 2018. There're tons of exciting / awesome repos on github, here's only part of them selected for my furthur studies, and wish they're useful to you as well. Listed in alphabetical order.
这些的 repo 摘选自从 2018 年起 GitHub Explore 基于我个人兴趣生成的日报或者周报。GitHub 上有非常多优秀的开源仓库,这里仅仅是一小部分我个人未来学习参考的项目,希望它们也能给您带来帮助。仓库按照字母表排序。
The attached script (rvp.sh
) will allow you to directly run a Vivaldi .deb or .rpm package without “installing” it. This works by quickly extracting the package contents into /var/tmp
and then executing the binary therein (the extracted files are removed when you close Vivaldi).
Vivaldi is run with a temporary user data (settings) that are specific to that exact version. This is to avoid messing up the main install's user data.
To run Vivaldi in this way, make rvp.sh
executable and start a build like so:
./rvp.sh vivaldi-snapshot-1.15.1159.7-1.x86_64.rpm
-------------------------- | |
2018_04_24 | |
------------ | |
---------------- | |
* [How to fork your own repo in Github](http://kroltech.com/2014/01/01/quick-tip-how-to-fork-your-own-repo-in-github/) | |
* [Directory](https://apis.guru/openapi-directory/) | |
* [Top 20 Best Tech Websites & Blogs](http://www.grafdom.com/blog/top-20-best-tech-websites-and-blogs/) | |
* [Indie Hackers: Work Together to Build Profitable Online Businesses](https://www.indiehackers.com/) |
#!/bin/bash | |
#compareHash(){ | |
if [[ -f $1 ]]; then # $1 should always be a file | |
if [[ -f $2 ]]; then | |
# $2 can be a file to be compared with $1 using sha256 | |
[[ $(sha256sum "$1" | cut -d ' ' -f 1) == "$(sha256sum "$2" | cut -d ' ' -f 1)" ]] && echo "Both files are same." || echo "Files are different." | |
else | |
# $2 can be a string containing the hash to be checked for $1 | |
hash=$2 | |
if [[ ${#hash} == 32 ]]; then |
-> Get scancodes & device identification info using evtest/evemu-record.
sudo evtest | grep -B1 "value 1"