This file contains 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
#!/usr/bin/env bash | |
# https://habr.com/post/413117/ | |
if test "$BASH" = "" || "$BASH" -uc "a=();true \"\${a[@]}\"" 2>/dev/null; then | |
# Bash 4.4, Zsh | |
set -euo pipefail | |
else | |
# Bash 4.3 and older chokes on empty arrays with set -u. | |
set -eo pipefail | |
fi | |
shopt -s nullglob globstar |
This file contains 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
/* | |
* gcc -o g_hack g_hack.c | |
* ./g_hack /dev/hidraw0 | |
* | |
* g_hack - proof of conecpt code | |
* | |
* | |
* Copyright (c) 2006-2009 Andreas Schneider <[email protected]> | |
* Copyright (c) 2006-2007 Peter Feuerer <[email protected]> | |
* |
This file contains 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
[Unit] | |
Description=g_hack: Timer for g_hack.service | |
[Timer] | |
OnUnitActiveSec=60s | |
OnBootSec=60s | |
#Unit=g_hack.service | |
[Install] | |
#WantedBy=multi-user.target |
This file contains 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
[Unit] | |
Description=g_hack: Additional mouse buttons | |
[Service] | |
Type=oneshot | |
ExecStart=/home/anton/bin/g_hack /dev/usb/hiddev0 0 | |
StandardOutput=null |
This file contains 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
<provider | |
android:authorities="com.someapp.android.test" | |
android:name="com.someapp.android"> |
This file contains 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
<provider | |
android:authorities="com.someapp.android" | |
android:name="com.someapp.android"> |
This file contains 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
<activity | |
android:label="E-NUM" | |
android:name="ru.e_num.SplashScreenActivity" | |
<!-- Комментарий: Дописали имя package --> | |
android:screenOrientation="portrait"> |
This file contains 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
<activity | |
android:label="E-NUM" | |
android:name=".SplashScreenActivity" | |
android:screenOrientation="portrait"> |
This file contains 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
<manifest | |
android:versioncode="20110420" | |
android:versionname="1.8.0" | |
package="ru.e_num.test" | |
<!-- Комментарий: То есть мы подставили точку и слово "test" --> | |
xmlns:android="http://schemas.android.com/apk/res/android"> |
This file contains 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
<manifest | |
android:versioncode="20110420" | |
android:versionname="1.8.0" | |
package="ru.e_num" | |
xmlns:android="http://schemas.android.com/apk/res/android"> |
NewerOlder