Skip to content

Instantly share code, notes, and snippets.

View CarlosSchell's full-sized avatar

Carlos Schellenberger CarlosSchell

  • Home
  • Porto Alegre - RS - Brazil
View GitHub Profile
@CarlosSchell
CarlosSchell / ERC20.sol
Created February 19, 2022 03:12 — forked from gorgos/ERC20.sol
Solana ERC20.sol: Token contract for use with solang compiler
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract ERC20 {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
@CarlosSchell
CarlosSchell / flutter_web3_dapp_sample.dart
Created February 2, 2022 17:30 — forked from y-pakorn/flutter_web3_dapp_sample.dart
Source code for Flutter Web3 Dapp Sample
import 'package:flutter/material.dart';
import 'package:flutter_web3/flutter_web3.dart';
import 'package:get/get.dart';
import 'package:niku/niku.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
##################### ElasticSearch Configuration Example #####################
# This file contains an overview of various configuration settings,
# targeted at operations staff. Application developers should
# consult the guide at <http://elasticsearch.org/guide>.
#
# The installation procedure is covered at
# <http://elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html>.
#
# ElasticSearch comes with reasonable defaults for most settings,
@CarlosSchell
CarlosSchell / stack.js
Created June 15, 2020 17:25 — forked from bradtraversy/stack.js
Stack data structure
class Stack {
constructor() {
this.items = []
this.count = 0
}
// Add element to top of stack
push(element) {
this.items[this.count] = element
console.log(`${element} added to ${this.count}`)