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
| val intent = new Intent(Intent.ACTION_OPEN_DOCUMENT); | |
| intent.addCategory(Intent.CATEGORY_OPENABLE); | |
| intent.setType("*/*"); | |
| intent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true); | |
| startActivityForResult(intent, 1) | |
| // In code that handles the result returned to process the files: | |
| override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { | |
| super.onActivityResult(requestCode, resultCode, data) |
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
| /** | |
| * Get full file path from external storage | |
| * | |
| * @param pathData The storage type and the relative path | |
| */ | |
| private fun getPathFromExtSD(pathData: Array<String>): String { | |
| val type = pathData[0] | |
| val relativePath = "/" + pathData[1] | |
| var fullPath: String |
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
| <a href="https://media.licdn.com/dms/image/C511FAQHSxF6jLy6d5g/feedshare-document-images_800/1?e=1564041600&v=beta&t=oW9zc4qHy_n_6MmFHoL8sSJwisiPjQDHZVT8odnrmHU">Page 1</a> | |
| <a href="https://media.licdn.com/dms/image/C511FAQHSxF6jLy6d5g/feedshare-document-images_800/2?e=1564041600&v=beta&t=lFF_CS1FBZQh2NAQp5qeZoENbhdfZPjetLVukd2pB0A">Page 2</a> | |
| <a href="https://media.licdn.com/dms/image/C511FAQHSxF6jLy6d5g/feedshare-document-images_800/3?e=1564041600&v=beta&t=R8BzvUX5ngwb3D4f3LBAMLDkQEqsbKYG0-JLiCHYx_I">Page 3</a> | |
| <a href="https://media.licdn.com/dms/image/C511FAQHSxF6jLy6d5g/feedshare-document-images_800/4?e=1564041600&v=beta&t=QK6oT05ZmXBhVAMTfbgrajSC-oYUU_dADgbH3jYBFzM">Page 4</a> | |
| <a href="https://media.licdn.com/dms/image/C511FAQHSxF6jLy6d5g/feedshare-document-images_800/5?e=1564041600&v=beta&t=S7sN6E-Us7LvtYprczVxAxldQ6OfNN2nec7Rj5MCUlk">Page 5</a> | |
| <a href="https://media.licdn.com/dms/image/C511FAQHSxF6jLy6d5g/feedshare-document-images_800/6?e=1564041600&v=beta& |
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 | |
| # Originally written by Ralf Kistner <[email protected]>, but placed in the public domain | |
| set +e | |
| bootanim="" | |
| failcounter=0 | |
| timeout_in_sec=360 |
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
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender] | |
| "DisableAntiSpyware"=dword:00000001 | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection] | |
| "DisableBehaviorMonitoring"=dword:00000001 | |
| "DisableOnAccessProtection"=dword:00000001 | |
| "DisableScanOnRealtimeEnable"=dword:00000001 |
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
| #!/usr/bin/env python | |
| from sys import argv, exit, stdout | |
| from time import sleep, time | |
| from os import system | |
| from subprocess import check_output, CalledProcessError | |
| from threading import Thread, Event | |
| from functools import partial | |
| class StoppableThread(Thread): |
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
| 601085b94cd77f0b54ff86406957099ebe79c4d6 |
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
| 859f317696f67ef3d7f30a50a5560e7834b43903 |
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
| 24333f8a63b6825ea9c5514f83c2829b004d1fee |
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
| 84831b9409646a918e30573bab4c9c91346d8abd |