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://youtu.be/coMi5gEnuKY | |
Apollo GraphQL | |
https://marketplace.visualstudio.com/items?itemName=apollographql.vscode-apollo | |
Auto Close Tag | |
https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag |
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
// ==UserScript== | |
// @name New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match http*://brontp-alpha.yandex.ru/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none | |
// ==/UserScript== |
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
/* | |
Example usage: | |
captureImageActivity.launch(IntentWithParam(Intent(MediaStore.ACTION_IMAGE_CAPTURE), SOME_PARAM)) | |
private val captureImageActivity = registerForActivityResult(StartActivityForResultWithParam()) { result -> | |
if (result.resultCode == Activity.RESULT_OK) { | |
val SOME_PARAM = result.param | |
... |
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
@ECHO OFF | |
setlocal enableextensions enabledelayedexpansion | |
PUSHD "%~dp0" | |
set _arch=x86 | |
IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" (set _arch=x86_64) | |
IF DEFINED PROCESSOR_ARCHITEW6432 (set _arch=x86_64) | |
echo This script should be run with administrator privileges. | |
echo Right click - run as administrator. | |
echo Press any key if you're running it as administrator. |