build.gradle
aaptOptions {
noCompress '.flv', '.mp4'
}
signingConfigs {}
#!/usr/bin/env bash -e | |
_PROJECT_NAME=$(cat package.json | grep name | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') | |
_INFOPLIST_DIR="ios/${_PROJECT_NAME}/Info.plist" | |
_PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') | |
# Set BUILD_NUMBER to the value 1 only if it is unset. | |
: ${BUILD_NUMBER=$(expr $(git log -1 --pretty=format:%ct) / 3600)} |
// list | |
return ListView.separated( | |
physics: const AlwaysScrollableScrollPhysics(), | |
itemCount: friends.length, | |
itemBuilder: (BuildContext context, int index) { | |
final Friend item = friends[index]; | |
return _buildItem(context, index, item, provider); | |
}, | |
separatorBuilder: (_, int index) => const Divider(), | |
); |
/** | |
DIR=snapshotdev | |
mkdir $DIR | |
cd $DIR | |
touch index.js | |
npm init -y | |
npm i isomorphic-unfetch | |
npm i @urql/core | |
# Docs: https://docs.snapshot.org/snapshot.js |
// SPDX-License-Identifier: MIT | |
pragma solidity 0.4.25; | |
/** | |
* @dev Interface of the ERC20 standard as defined in the EIP. | |
*/ | |
interface IERC20Full { | |
/** | |
* @dev Returns the name of the token. | |
*/ |
<!-- Localhost start: http-server --> | |
<html> | |
<link | |
rel="icon" | |
type="image/x-icon" | |
href="https://www.mozilla.org/media/img/favicons/firefox/browser/favicon.f093404c0135.ico" | |
/> | |
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script> | |
<script> |
(function() { | |
var synoLang; | |
var isSynoReady; | |
var additional = { | |
code : 'vie', // <== uses reference language list at the bottom and set the 'code' to the language you wanted | |
label: 'Tiếng Việt' // <== 'label' can be anything you wanted. i.e. if set to 'New lang 123' you will see 'New lang 123' in the list | |
} | |
import csv | |
import json | |
import os | |
cmd_path = os.path.dirname(__file__) | |
# Init file | |
intl_name = 'intl_vi' | |
arb_file_path = cmd_path + '/' + 'lib/l10n/' + intl_name + '.arb' | |
csv_file_path = cmd_path + '/' + 'lib/l10n/' + intl_name + '.csv' |
build.gradle
aaptOptions {
noCompress '.flv', '.mp4'
}
signingConfigs {}
pragma solidity 0.4.21; | |
/** | |
ICO CrowdSale token contract | |
Abstract | |
Start date : Tuesday, March 27, 2018 5:31:11 PM GMT+07:00 | |
Bonus end date : Wednesday, March 27, 2019 5:31:11 PM GMT+07:00 | |
End date : Thursday, March 26, 2020 5:31:11 PM GMT+07:00 | |
Normal price : 100 NKEM Tokens per 1 ETH |
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.4; | |
import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
contract MockERC20 is ERC20 { | |
constructor( | |
string memory _name, | |
string memory _symbol, |