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
package com.example.myapplication | |
import android.os.Bundle | |
import androidx.fragment.app.Fragment | |
import android.view.LayoutInflater | |
import android.view.View | |
import android.view.ViewGroup | |
import androidx.fragment.app.viewModels | |
import androidx.lifecycle.LiveData | |
import androidx.lifecycle.MutableLiveData |
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
package com.example.myapplication | |
import android.os.Bundle | |
import androidx.fragment.app.Fragment | |
import android.view.LayoutInflater | |
import android.view.View | |
import android.view.ViewGroup | |
import androidx.fragment.app.viewModels | |
import androidx.lifecycle.LiveData | |
import androidx.lifecycle.MutableLiveData |
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 pytube import YouTube | |
import os | |
yt = YouTube('https://www.youtube.com/watch?v=PEnwXYJcSZc') | |
#yt.streams.get_audio_only().download() | |
video = yt.streams.filter(only_audio=True).first() | |
destination = '.' |
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
2022-01-17 07:57:06.382205 All threads starting. | |
2022-01-17 07:57:18.927922 All threads finished. | |
ETHBEAR/USDT 1.2987 | |
MTA/USD 0.5425 | |
MTA-PERP 0.5269 | |
MTA/USDT 0.482 | |
BOLSONARO2022 0.4254 | |
LOOKS/USD 0.3445 | |
LOOKS-PERP 0.2924 | |
KNCBULL/USDT 0.2677 |
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
# Number of threads running simultaneously is controlled with the variable maxthreads :) | |
import glob | |
import operator | |
import os | |
import sqlite3 | |
import threading | |
import time | |
from datetime import datetime, timedelta |
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
import os | |
import random | |
import time | |
from datetime import datetime | |
def log_to_results(str_to_log): | |
fr = open("results.txt", "a") | |
fr.write(str_to_log + "\n") | |
fr.close() |
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
function tweet(str) { | |
if (twitterEnabled === true) { | |
const Twitter = require('twitter'); | |
const client = new Twitter({ | |
consumer_key: 'MorX5xvqYCSs7IpvOxxxxxxxx', | |
consumer_secret: 'XtEyoEDcyFTCLjp9kF1SPFr78Jvu1hiaU5yx2mmWVAxxxxxxxx', | |
access_token_key: '1417457007389515787-9B0TYSJNhTm53Bv6UEjrdTxxxxxxxx', | |
access_token_secret: 'CVMtV8Mxutexrx9xDRJ3SdYlT3i9PfLzPrqEFxxxxxxxx' | |
}); |
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
// SPDX-License-Identifier: MIT | |
pragma solidity =0.6.6; | |
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.0.0/contracts/token/ERC20/ERC20.sol"; | |
contract EuroFoot is ERC20 { | |
address public owner; |
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.6; | |
import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol'; | |
import '@uniswap/lib/contracts/libraries/TransferHelper.sol'; | |
//import './libraries/UniswapV2Library.sol'; | |
//import './interfaces/IUniswapV2Router01.sol'; | |
//import './interfaces/IERC20.sol'; | |
//import './interfaces/IWETH.sol'; |
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.1; | |
import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
import "@openzeppelin/contracts/utils/math/SafeMath.sol"; | |
/** | |
* @title Standard ERC20 token |
NewerOlder