Skip to content

Instantly share code, notes, and snippets.

View georgerobescu's full-sized avatar

keysemails georgerobescu

View GitHub Profile
@nazariyv
nazariyv / MyFlashLoan.sol
Created September 13, 2020 13:39
Full template of a contract that can flashloan from Aave. You also need to add your own logic in terms of what you want to do with the lent amounts in the executeOperation function
pragma solidity ^0.6.6;
import "https://github.com/aave/flashloan-box/blob/Remix/contracts/aave/FlashLoanReceiverBase.sol";
import "https://github.com/aave/flashloan-box/blob/Remix/contracts/aave/ILendingPoolAddressesProvider.sol";
import "https://github.com/aave/flashloan-box/blob/Remix/contracts/aave/ILendingPool.sol";
contract Flashloan is FlashLoanReceiverBase {
constructor(address _addressProvider) FlashLoanReceiverBase(_addressProvider) public {}
/**
@reitraced
reitraced / GUIDE.MD
Last active February 20, 2024 14:59
a getting started guide to urbit (how original)

introduction

hey, glad you could make it! this is a basic guide (with gifs) on how to install urbit and boot a comet. this guide howeever will also be going into some of my own qol tricks, but youll see a bit later.

okay so lets get started!

oh and also sorry about the extremely low quality of all my gifs. its 2 am and ive never done this kind of thing before, so bare with me

prerequesites

@joepie91
joepie91 / vpn.md
Last active May 3, 2024 10:58
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.