Skip to content

Instantly share code, notes, and snippets.

View rkokhatskyi's full-sized avatar
🏄‍♂️
👨‍💻 ⛓️ 🏆

Roman Kokhatskyi rkokhatskyi

🏄‍♂️
👨‍💻 ⛓️ 🏆
View GitHub Profile
@rkokhatskyi
rkokhatskyi / TRC20.sol
Created March 18, 2023 16:51
TRC20 token sample with ownership concept and safeguard against reentrancy attacks
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
contract TRC20 {
string public name;
string public symbol;
uint8 public decimals = 18;
uint256 public totalSupply;
package cc.gallery.models;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import javax.annotation.Resource;
@Configuration
public class UserConfig {
@rkokhatskyi
rkokhatskyi / postgres-brew.md
Created November 4, 2018 18:33 — forked from ibraheem4/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update