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
| Android EditText formatting | |
| https://github.com/TinkoffCreditSystems/decoro | |
| https://github.com/RedMadRobot/input-mask-android |
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
| If Android phone constantly disconnects: | |
| 1. Try to disable Ubuntu USB autosuspend | |
| https://www.makeuseof.com/tag/fix-usb-device-port-linux/ | |
| cat /sys/module/usbcore/parameters/autosuspend | |
| (if the result is 2, then autosuspend is enabled) | |
| sudo nano /etc/default/grub | |
| Change |
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
| // Android detect keyboard | |
| abstract class KeyboardDetectorFragment : Fragment() { | |
| private lateinit var layoutChangeListener: View.OnLayoutChangeListener | |
| init { | |
| initLayoutChangeListener() | |
| } |
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
| Gitflow | |
| https://bitworks.software/2019-03-12-gitflow-workflow.html |
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
| Ubuntu Keyboard Layout Alt-Shift | |
| https://dock.co.nz/post/change-keyboard-layout-switch-to-altshift-ubuntu-18-04/ | |
| sudo apt install gnome-tweaks | |
| gnome-tweaks | |
| Then enable tweaks and turn on Alt-Shift in Tweaks tab in Keyboard settings |
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
| SignalR (websocket Android) | |
| https://habr.com/ru/post/301752/ | |
| https://docs.microsoft.com/en-us/aspnet/core/signalr/java-client?view=aspnetcore-2.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
| C++ Links | |
| Beginning C++ Programming - From Beginner to Beyond | |
| https://www.udemy.com/course/beginning-c-plus-plus-programming/ | |
| Введение в программирование на C++ | |
| https://stepik.org/course/363/promo | |
| Основы разработки на современном C++ | |
| https://www.coursera.org/specializations/c-plus-plus-modern-development |
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
| # first: mkdir user && cd user && cp /path/to/get_gists.py . | |
| # python3 get_gists.py user | |
| # Run this N times, where N is the number of pages to download, | |
| # each time changing page=X in download URL. | |
| # Each page contains 100 gists. | |
| # You can copy up to 3000 gists like this | |
| # (for 3000 gists you will have to run this script 30 times). | |
| # Code is taken from: | |
| # https://gist.github.com/leoloobeek/3be8b835988e8d926a4387019370db8d | |
| import requests |
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
| # first: mkdir user && cd user && cp /path/to/get_gists.py . | |
| # python3 get_gists.py user | |
| import requests | |
| import sys | |
| from subprocess import call | |
| user = sys.argv[1] | |
| r = requests.get('https://api.github.com/users/{0}/gists'.format(user)) |
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
| Google Pay Android | |
| https://medium.com/google-developer-experts/8-steps-to-google-pay-on-android-9fb899bfbfcb |