Discover gists
# Extracted using: $ unzip -p lib/pycharm.jar com/jetbrains/python/PyBundle.properties | grep -B1 INSP.NAME | grep '^#' | sed 's|Inspection||g' | sed -e 's|#\s\{,1\}|# noinspection |' | |
# noinspection PyPep8 | |
# noinspection PyPep8Naming | |
# noinspection PyTypeChecker | |
# noinspection PyAbstractClass | |
# noinspection PyArgumentEqualDefault | |
# noinspection PyArgumentList | |
# noinspection PyAssignmentToLoopOrWithParameter | |
# noinspection PyAttributeOutsideInit |
import Reader from './Reader'; | |
import Target from './Target'; | |
/** | |
* This is default annotation property for automatic type casting: | |
* <code> | |
* @Annotation({ some: any }) | |
* // => will be casts "as is" {some: any} | |
* | |
* @Annotation("any") |
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
- There are always 24 hours in a day.
- February is always 28 days long.
- Any 24-hour period will always begin and end in the same day (or week, or month).
Once you have TVH going, go to its web interface on http://x.x.x.x:9981. Then these are the steps:
-
Enable the Advanced or Expert UI in Configuration > General > Base
This enables some menu items that are needed for future steps.
-
Go to Configuration > Channels / EPG > EPG Grabber Modules and ensure that ONLY Freesat and Freesat EIT are enabled.
This setting does grab the EPG that is embedded in the streams, but it's not actually used in the end. It is required later to get the Freesat bouquets which are the sets of regional Freesat only channels, which are important later.
/* JS script to share all albums in Immich with another user. | |
* Login to Immich as admin, paste following code into Chrome DevTools console and run. | |
* Can be run multiple times, e.g. after adding new albums on changing user's role. | |
* | |
* Change the user login and assigned role to suit needs on the first 2 lines | |
*/ | |
let login = "[email protected]" | |
let role = "editor" // Possible values: [editor, viewer] |
应该也适用于其他各种局域网联机游戏
在服务器上部署OpenVPN Server可以使用 angristan/openvpn-install 项目
根据README下载执行部署脚本,三分钟即可部署完成。
{ | |
"key_events": { | |
"key_unknown": "adb shell input keyevent 0", | |
"key_soft_left": "adb shell input keyevent 1", | |
"key_soft_right": "adb shell input keyevent 2", | |
"key_home": "adb shell input keyevent 3", | |
"key_back": "adb shell input keyevent 4", | |
"key_call": "adb shell input keyevent 5", | |
"key_endcall": "adb shell input keyevent 6", | |
"key_0": "adb shell input keyevent 7", |
- Яндекс
- Программы стажировок
- Разработка (Python, C++, Java, Go, Kotlin, Scala, C, фронтенд)
- Анализ данных
- Информационная безопасность
- AppSec
- Бизнес
- Программы стажировок
- Тестирование