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
#!/bin/bash | |
# Путь к Android Studio | |
android_studio_path=/home/marina/android/android-studio | |
# Путь к иконке приложения | |
icon_path=${android_studio_path}/bin/studio.png | |
# Путь к ярлыку на рабочем столе | |
desktop_path=~/Desktop/AndroidStudio.desktop |
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
### Keybase proof | |
I hereby claim: | |
* I am kolyall on github. | |
* I am spamick (https://keybase.io/spamick) on keybase. | |
* I have a public key ASAAlBrlpBvAuLsiOz-iSJTcWIuIQF3lZKPsXuLV_b5Wtwo | |
To claim this, I am signing this object: |
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
################Move docker to another dir | |
1. Move .docker directory from C:\Users\username to D:\ | |
2. Run C:\Users\username>mklink /j .docker D:\.docker | |
------------------------------------------------------------------------------- | |
DOCKER | |
------------------------------------------------------------------------------- | |
docker pull coturiv/ci-android | |
docker run -it coturiv/ci-android /bin/bash | |
docker container ls |
Run jars:
sudo apt-get install binfmt-support
chmod a+rx myjar.jar
./myjar.jar
OR Install jarwrapper. After that (and by adding the executable bit) you can start the jar file just by entering the jarfile name.
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
https://source.jalview.org/crucible/rdiff/jalview?csid=edfb6c264fce9f6251a129663c797b72e06ebc5e&u&N | |
https://source.jalview.org/crucible/browse/~br=improvement%402fJAL-3449_add_install4j_installer_getdown_versions_to_jalview_console.2/jalview/build.gradle?hb=true |
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
[Desktop Entry] | |
Name=Franz | |
Comment= | |
Exec=/opt/franz/franz | |
Icon=/opt/franz/franz-icon.png | |
Terminal=false | |
Type=Application | |
Categories=Messaging,Internet |
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
class FavMainAdapter constructor( | |
val context: Context?, | |
fragmentManager: FragmentManager | |
) : BaseFragmentPagerAdapter(fragmentManager) { | |
override fun createItem(position: Int): BaseFragment { | |
return when (position) { | |
0 -> MyCollectionsFragment() | |
1 -> MyPlaylistsFragment() | |
else -> throw IndexOutOfBoundsException("IndexOutOfBounds $position") |
NewerOlder