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
pragma solidity 0.6.12; | |
import '@pancakeswap/pancake-swap-lib/contracts/math/SafeMath.sol'; | |
import '@pancakeswap/pancake-swap-lib/contracts/token/BEP20/IBEP20.sol'; | |
import '@pancakeswap/pancake-swap-lib/contracts/token/BEP20/SafeBEP20.sol'; | |
import '@pancakeswap/pancake-swap-lib/contracts/access/Ownable.sol'; | |
// import "@nomiclabs/buidler/console.sol"; | |
interface IWBNB { |
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
const turkish_NumberToWords = (number = 0) => { | |
/* | |
* Assign spelling words in seperate arrays | |
*/ | |
const steps = ['', 'bir', 'iki', 'üç', 'dört', 'beş', 'altı', 'yedi', 'sekiz', 'dokuz'] | |
const tens = ['', 'on', 'yirmi', 'otuz', 'kırk', 'elli', 'altmış', 'yetmiş', 'seksen', 'doksan'] | |
const hundreds = ['', 'yüz', 'ikiyüz', 'üçyüz', 'dörtyüz', 'beşyüz', 'altıyüz', 'yediyüz', 'sekizyüz', 'dokuzyüz'] | |
const nS = ['', 'bin', 'milyon', 'milyar', 'trilyon', 'katrilyon', 'kentilyon', 'seksilyon', 'septilyon', 'oktilyon'] | |
/* | |
* Maximum number step is 30 |
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
CREATE TABLE `yok_bolumler` ( | |
`id` int(10) NOT NULL AUTO_INCREMENT, | |
`fakulteId` varchar(40) NOT NULL, | |
`universiteId` int(6) NOT NULL, | |
`name` varchar(255) NOT NULL, | |
PRIMARY KEY (`id`), | |
KEY `fakulteHash` (`fakulteId`) | |
) ENGINE=MyISAM; | |
INSERT INTO `yok_bolumler` (`id`, `fakulteId`, `universiteId`, `name`) VALUES |
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
FROM alpine:3.7 | |
RUN apk --no-cache add bash jq netcat-openbsd bc | |
COPY docker-stats.sh /usr/local/bin/docker-stats.sh | |
ENTRYPOINT ["docker-stats.sh"] |
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 simple forEach() implementation for Arrays, Objects and NodeLists | |
* @private | |
* @param {Array|Object|NodeList} collection Collection of items to iterate | |
* @param {Function} callback Callback function for each iteration | |
* @param {Array|Object|NodeList} scope Object/NodeList/Array that forEach is iterating over (aka `this`) | |
*/ | |
var forEach = function (collection, callback, scope) { | |
if (Object.prototype.toString.call(collection) === '[object Object]') { | |
for (var prop in collection) { |