>TinyPNG uses smart lossy compression techniques to reduce the file size of your WEBP, JPEG, and PNG files. By selectively decreasing the number of colors in the image, fewer bytes are required to store the data. The effect is nearly invisible but it makes a very large difference in file size!
TinyPNG has a web app that allows us to compress images(up to 20 images & max 5MB each). That is useful but we sometimes need to compress more than 20 images.
The great thing is that TinyPNG has API and packages for multiple languages.
TinyPNG Developer API
\n in Find input
^\n in Find input
Recently I read articles about GitHub labels for issues. I recommend you to check them out. (Sorry one of them is Japanese only)
I think when you use the GitHub issues, probably many of you need to add/change labels. Actually, the default labels are fine, but for managing a project, the labels’ granularity is rough. Generally, I add some new labels manually after I push the initial commit. That means I go to the issue board and add a label.
After reading the articles, I thought preparing labels that articles mentioned would be ↓
I checked GitHub API to…
Actually TikTok offers some endpoints for developers, but that doesn’t have many functionality and flexibility.
In this post, we will use the following.
This is an unofficial api wrapper for TikTok.com in python. With this api you are able to call most trending and fetch specific user information as well as much more.
This python library allows us to use TikTok data easily and documents are organized very well.
The official doc
$ pip install TikTokApi
$ python -m playwright install
Go to TikTok and open Dev Tool > Application > Storage > Cookies. …
All you need is the following.
Step1 Install Metamask on your browser
Step 2 Add Custom RPC with the following information
If every item is correct, you can see the following.
This post is about installing python 3.5, 3.6, and 3.7 since my previous post only supports python 3.8 and 3.9.
Also, I have gotten some questions on installing python 3.5 and 3.6.
In addition, I really need to install them on my BigSur lol.
If you just need to install python 3.8+, please check the following
brew install zlib
brew install sqlite
brew install bzip2
brew install libiconv
brew install libzip
$ LDFLAGS="-L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib" pyenv install --patch 3.4.10 < <(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1)
Here is how to install curl on macOS/Windows/Linux
We can get an IP address with curl command easily.
$ curl ipinfo.io
"region": "New York",
"org": "TTTTT Inc",
The following is a QR code to access my personal website.
/ you can put anything you want to show(string, number, and url).
$ curl qrenco.de/https://kojikoji.ga
████ ▄▄▄▄▄ ██▀▄███ ██ ▄▄▄▄▄ ████
████ █ █ █▄▀█▄▀█▀▄██ █ █ ████
████ █▄▄▄█ ██▄▀▀ ▀▄ █ █▄▄▄█ ████
████▄▄▄▄▄▄▄█ █▄▀▄▀ ▀▄█▄▄▄▄▄▄▄████
████▄▄▄▀▄▄▄ ▄▀█▀ █▄▄…
I have used Google Drive for a long time because the school I graduated from allows me to keep using it lol.
Google Drive is easy to use and to share a file with people, however, there isn’t an easy way to check whom I shared files.
Actually, there are some services to do that like below.
I used to use google-drive-permission-search because at that time I used Ruby as the main language. But, I haven’t used it for a while 😂 and recently I use js/ts and python mainly. Also, my goal is to pass Google Drive’s permission check functionality to…
I saw the following article on dev.to and it very impressive to me.
Then, I found a good library,
Looks good and also it’s super easy to use.
First, I tried react-chrono with create-react app.
$ yarn create react-app mytimeline --template typescript
$ cd mytimeline
$ yarn add react-chrono
I use this data from react-chrono's sample
const items = [
title: "May 1940",
"Men of the British Expeditionary Force (BEF) wade out to a destroyer during the evacuation from…