| Symbol | ALT Code | ALT X Code | Symbol Name | HTML Entity DEC | HTML Entity HEX | HTML Entity Named | Unicode Code Point |
|---|---|---|---|---|---|---|---|
| ☐ | ALT 9744 | 2610 ALT X | Ballot box, check box, tick box | ☐ | ☐ | U+2610 | |
| ☑ | ALT 9745 | 2611 ALT X | Ballot box with check | ☑ | ☑ | U+2611 | |
| ☒ | ALT 9746 | 2612 ALT X | Ballot box with X | ☒ | ☒ | U+2612 | |
| ✅ | ALT 9989 | 2705 ALT X | White heavy check mark | ✅ | ✅ | U+2705 | |
| ✓ | ALT 10003 | 2713 ALT X | Check mark | ✓ | ✓ | ✓ | U+2713 |
| ✔ | ALT 10004 | 2714 ALT X | Heavy check mark | ✔ | ✔ | U+2714 |
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
| <?php | |
| $bot_token = '0123456789:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; | |
| $data_check_string = 'XXX'; // get from Telegram.WebAppData | |
| $data_check_arr = explode('&', rawurldecode($data_check_string)); | |
| $needle = 'hash='; | |
| $check_hash = FALSE; | |
| foreach($data_check_arr AS &$val){ |
Writing an apt proxy conf file /etc/apt/apt.conf.d/proxy.conf as below.
Acquire::http::Proxy "socks5h://127.0.0.1:1080";
Acquire::https::Proxy "socks5h://127.0.0.1:1080";
Acquire::socks::Proxy "socks5h://127.0.0.1:1080";
And the proxy settings will be applied the next time we run apt.
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
| #!/bin/bash | |
| # | |
| # watch cgroup 'browsers' memory activity | |
| # | |
| # best served with ... | |
| # | |
| # https://gist.github.com/jakewarren/477ecd1149abe908cbd5cf7a7c9abaa3 | |
| self=$0 | |
| SUDO= |
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
| { | |
| "red": { | |
| "50": "#ffebee", | |
| "100": "#ffcdd2", | |
| "300": "#e57373", | |
| "500": "#f44336", | |
| "700": "#d32f2f", | |
| "800": "#c62828", | |
| "900": "#b71c1c" | |
| }, |
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
| #!/bin/bash | |
| cd $(dirname "${0}") | |
| UBUNTU_VERSION=${UBUNTU_VERSION:=16.04.3} | |
| INSTALL_HOSTNAME=${INSTALL_HOSTNAME:=ubuntu} | |
| USERNAME=${USERNAME:=username} | |
| PASSWORD=${PASSWORD:=password} | |
| SEED_FILE=${SEED_FILE:=lvm.seed} | |
| TIMEZONE=${TIMEZONE:=$(cat /etc/timezone)} |
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 this script to test that your Telegram bot works. | |
| # | |
| # Install the dependency | |
| # | |
| # $ gem install telegram_bot | |
| # | |
| # Run the bot | |
| # | |
| # $ ruby bot.rb | |
| # |
- Download script
travis-encrypt.sh - Make it executable
chmod +x travis-encrypt.sh - Run the script with
./travis-encrypt.sh -r username/repositoryname -e example- It will return something like
O+woVD9K+PeFrcyu5GCjKSFvfcSPwDW0kyDYEQnNbwt/iSkqjpl2OPA9W//KEKEB9UUSZD+XmQ3Ij0gnvJnOowcWY5sSeJlVEVTrSer0kW6uWpa/uWzDHCBz2YhBnI6u9SfYfMkhDl22pcaCEwaUkmK2gjcVo+v0bS8vAQFz0Na5/WiKj0GkSX50iIGgfaXheuC8KgIC25T0h+czpap7vb13OlblMnClfyTH9+TmAwTlcV7ljXpv1QY+K72L8jK1/CQVZ8quBYrBwwxO2V6cpXRMMCIw4m4lqxUyN4FBGnq7cJ7BWLzeqSMpFBoP+ZxAqS5yem8KLh1VkEo7PVjCkZE6M+2meFf2VJEVUs/KJY9xnH3eDzipWkwXon2qVpCkT7FDEzGFs/DapYsSo7eCO6pUYYhcpaYpWeYV9DSSV0QcrOeZp664iJMHWPSmrs/lESbbHpKWsM/AFVB9X75q/OB+QU0tQxpReZmKw3ZHbDVMlmlwhP8VSiQ05LV2W6gYzADGiUiL6n1X8teeHEVDSZnD7nrxMD/FchnWI5La3tZeFovRMf6hH3NItW+QZaGaGNftJrP488J/F2hCycPJk3+YrxbBCGHE2X379QbkMz3S0B5UiAcJKmwuTstF6X3CCurZVYIkUGGXhnmalPtVpEqxeTiLw5RU6C9z2qSwhhw=
- It will return something like
- Use the encrypted secret in your
.travis.ymlaccording to https://docs.travis-ci.com/user/encryption-keys/#Usage
NewerOlder