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
var HttpsProxyAgent = require('https-proxy-agent'); | |
var request = require('request'); | |
var agent = new HttpsProxyAgent('http://192.69.250.116:1212') | |
request({ | |
agent: agent, | |
"uri": "http://requestb.in/1a5eo7b1", | |
"method": "GET" | |
}, function(err, response, body) { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Geolocation</title> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
<meta charset="utf-8"> | |
<style> | |
html, body { | |
height: 100%; | |
margin: 0; |
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
Model::where(['ragaca1'=>'true', 'ragaca2'=>'false'])->where(function($q){ | |
$q->orWhere('price','>=','100'); | |
$q->orWhere('noprice','=','1'); | |
})->where(function($q){ | |
$q->orWhere('price','<=','1000'); | |
$q->orWhere('noprice','=','1'); | |
})->get(); |
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
Model::where(['ragaca1'=>'true', 'ragaca2'=>'false'])->where(function($q){ | |
$q->orWhere('price','>=','100'); | |
$q->orWhere('noprice','=','1'); | |
})->where(function($q){ | |
$q->orWhere('price','<=','1000'); | |
$q->orWhere('noprice','=','1'); | |
})->get(); |
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
./src/strings.sol |
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
./src/strings.sol |
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
// this line is added to create a gist. Empty file is not allowed. |
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
./src/strings.sol |
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
//SPDX-License-Identifier: UNLICENSED | |
pragma solidity 0.6.12; | |
pragma experimental ABIEncoderV2; | |
interface IUniswapV3Pool { | |
function swap( | |
address recipient, | |
bool zeroForOne, | |
int256 amountSpecified, |
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
//SPDX-License-Identifier: UNLICENSED | |
pragma solidity 0.8.7; | |
import "./interfaces/IUniswapV2Pair.sol"; | |
import "./interfaces/IERC20.sol"; | |
import "./interfaces/IWETH.sol"; | |
import { FlashLoanReceiverBase } from "./interfaces/FlashLoanReceiverBase.sol"; | |
import "./interfaces/ILendingPoolAddressesProvider.sol"; | |
import "./interfaces/ILendingPool.sol"; |