Skip to content

Instantly share code, notes, and snippets.

Code of Conduct

Welcome!

To the Berlin developers discord server. This is a place to discuss all things code and development related. As we cannot meetup in person, it’s nice to connect with developers in our city via discord. The current admins can be found with the role 'admin'.

We want this to be a fun, pleasant, and harassment-free experience for everyone, regardless of gender, gender identity and expression, sexual orientation, disability, physical appearance, body size, race, or religion. We do not tolerate harassment of participants in any form. Participants asked to stop any harassing behavior are expected to comply immediately.

Harassment:

Harassment includes:

  • Offensive comments related to gender, gender identity and expression, sexual orientation, disability, mental illness, neuro(a)typicality, physical appearance, body size, race, or religion
  • Unwelcome comments regarding a person’s lifestyle choices and practices, including those related to food, health, parenting, drugs, and emplo
contract PeriodicPayments {
uint public mostRecentSegmentTimeStamp;
uint public mostRecentSegmentPaid;
uint public lastSegment;
uint public moneyPot;
constructor() public {
mostRecentSegmentTimeStamp = block.timestamp;
mostRecentSegmentPaid = 0;
pragma solidity ^0.5.0;
import './IERC20.sol';
contract TryingToSendDaiToContract {
address dai;
uint public amount;
address public thisContract;
constructor() public {
dai = 0xFf795577d9AC8bD7D90Ee22b6C1703490b6512FD; //Kovan
pragma solidity ^0.5.0;
import 'https://github.com/aave/aave-protocol/blob/master/contracts/interfaces/ILendingPoolAddressesProvider.sol';
import './ILendingPool.sol';
import './IERC20.sol';
contract AaveDeposit {
ILendingPoolAddressesProvider provider;
address dai;
uint amount;
import React, { Component } from "react";
import LendingPoolAddressesProviderABI from "./ABI/LendingPoolAddressesProvider.json";
import LendingPoolABI from "./ABI/LendingPool.json";
import Web3 from "web3";
const referralCode = "0";
// const lpAddressProviderAddress = "0x24a42fD28C976A61Df5D00D0599C34c4f90748c8"; // mainnet address, for other addresses: https://docs.aave.com/developers/developing-on-aave/deployed-contract-instances
const lpAddressProviderAddress = "0x506B0B2CF20FAA8f38a4E2B524EE43e1f4458Cc5" // kovan

Keybase proof

I hereby claim:

  • I am rachblondon on github.
  • I am rachblondon (https://keybase.io/rachblondon) on keybase.
  • I have a public key ASDUAyAk1wDbE3p7zQZrUBr09cBGSlCsE2X9ucBfSeVcYQo

To claim this, I am signing this object:

import React, { Component } from "react";
import Box from "3box";
import ChatBox from "3box-chatbox-react";
export default class App extends Component {
state = {
needToAWeb3Browser: false
};
async getAddressFromMetaMask() {
did:muport:QmZkTh3nuitUeFJNyNN1eWUMeCZQkfwSRUv4u8Vz9pnNZ2
040279f88cf8a65ff83f2bfbd4ba852fb484c5d02a4647287f9dc8edbb030a920e609a020a93b59f0c54d1216b090f29374bd452a123cffe97e5e0f8dfd1d761d7;wayne-o
@RachBLondon
RachBLondon / vscode snippets
Created October 8, 2017 10:36
Some code snippets for vsocde
"Print to console": {
"prefix": "lv",
"body": [
"console.log('>>>>>> $1', $1);"
],
"description": "Log variables"
}