Skip to content

Instantly share code, notes, and snippets.

View gulitsky's full-sized avatar
🙃

Andrey Gulitsky gulitsky

🙃
View GitHub Profile
export const init = async () => {
const lp = retrieveLaunchParams();
const isDebug = lp.startParam === "debug";
$debug.set(isDebug);
if (isDebug && ["android", "ios"].includes(lp.platform)) {
try {
const eruda = await import("eruda");
eruda.default.init({
tool: ["console", "elements", "network", "resources", "info"],
#!/usr/bin/env bash
set -euxo pipefail
BLOCK_DEVICE="${BLOCK_DEVICE:-/dev/nvme0n1}"
EFI_SYSTEM_PARTITION_NAME="${EFI_SYSTEM_PARTITION_NAME:-esp}"
EFI_SYSTEM_PARTITION_SIZE="${EFI_SYSTEM_PARTITION_SIZE:-550MiB}"
LINUX_ROOT_PARTITION_NAME="${LINUX_ROOT_PARTITION_NAME:-root}"
@gulitsky
gulitsky / OmCoin.sol
Last active February 9, 2019 08:58
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.3+commit.10d17f24.js&optimize=true&gist=
pragma solidity 0.5.3;
import "https://github.com/OpenZeppelin/openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";
import "https://github.com/OpenZeppelin/openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol";
import "https://github.com/OpenZeppelin/openzeppelin-solidity/contracts/token/ERC20/ERC20Capped.sol";
import "https://github.com/OpenZeppelin/openzeppelin-solidity/contracts/token/ERC20/ERC20Burnable.sol";
contract OmCoin is ERC20, ERC20Detailed("OmCoin", "OM", 18), ERC20Capped(10000000 * 10 ** 18), ERC20Burnable {
}
### Keybase proof
I hereby claim:
* I am gulitsky on github.
* I am gulitsky (https://keybase.io/gulitsky) on keybase.
* I have a public key ASBe66QO3IgWiiFdRXRFoRV_zBcIIJ8Z3gqJIaq5uuLMIgo
To claim this, I am signing this object: