Go to https://play.google.com/store/apps/details?id=YOUR.APP.URI&gl=CN (China page) to see all your apps reviews and ratings on the Play Store.
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
| git diff --name-only --cached --diff-filter=AM | xargs du -ch | sort -h | |
| # https://stackoverflow.com/questions/5214625/how-to-find-out-the-space-requirements-of-files-to-be-committed | |
| # https://stackoverflow.com/questions/33610682/git-list-of-staged-files/65785881 |
- Setup email fowarding on squarespace (or other domain provider) from
your_hidden_email@gmail.comtoyou@your.domain - Create an app password in Google Account
- This used to be in the Security/2-factor section but you must now follow this link https://myaccount.google.com/apppasswords [1]
- Name it something memorable e.g.
you@your.domain, and click create. - A password will be generated of the form
qcxp lqyt qnsh jgqm, save it somewhere, safe, and click done. App passwords are a bit of a security risk!
- Go to gmail, click the cog (settings) and go to
Accounts and Import, clickAdd another email addressin theSend mail as:section - In the popup enter the display name you want on the email alias, and
you@your.domainas the email address - Tick
Treat as an alias.and thenNext step. - In
SMTP Serverputsmtp.gmail.com. - In
Usernameputyour_hidden_email@gmail.com
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
| git log --reflog | grep -E "Mon|Tue|Wed|Thu|Fri" | grep -Eo " [0-9]{2}:" | sed s/://g > ~/weekday_hours |
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
| name: signing test | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| sign: | |
| runs-on: ubuntu-20.04 | |
| steps: |
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
| /* | |
| Cargo deps | |
| tokio = { version = "1", features = ["full"] } | |
| reqwest = { version = "0.11", features = ["json"] } | |
| run as | |
| ```bash |
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
| curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data "{\"content\": \"$1\"}" $2 |
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
| # converts the miniaudio ma_result enum to string via Julia | |
| # https://github.com/mackron/miniaudio/blob/master/extras/miniaudio_split/miniaudio.h#L432 | |
| # copy past the enum values into errors | |
| # removing the comments, leaving just the entries. | |
| # MA_SUCCESS = 0, | |
| # MA_ERROR = -1, | |
| # MA_INVALID_ARGS = -2, | |
| # MA_INVALID_OPERATION = -3, |
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
| qrencode -t PNG -o wifi.png "WIFI:S:$1;T:WPA;P:$2;;" |
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
| use std::io::{Write, Read}; | |
| use libflate::deflate::{Encoder, Decoder}; | |
| const A_STRING: &str = "This is a string that can be compressed. This is a string that can be compressed. This is a string that can be compressed. This is a string that can be compressed."; | |
| fn main() { | |
| println!("The original data: {}\n", A_STRING); | |
| let mut encoder = Encoder::new(Vec::new()); |
NewerOlder