Skip to content

Instantly share code, notes, and snippets.

View Godtide's full-sized avatar
🎯
Focusing

Godtide

🎯
Focusing
View GitHub Profile
@Godtide
Godtide / .txt
Last active August 23, 2021 18:51
Why KeystoneJs for a Basic social media app
WHY KEYSTONEJS
KeystoneJS is a powerful Node.js web app framework built on express and mongoose.
Keystone makes it easy to build faster and scale further than any other App Framework.
Just describe your schema, and get a powerful GraphQLAPI (query language).
The GraphQLAPI makes KeystoneJs the most suitable Node.js framework to build a social media application
as GraphQLAPI harmonizes with the Graph-like nature of data in a social media application
pragma solidity ^0.5.0;
contract Base {
uint public num;
address public sender;
function setNum(uint _num) public {
num = _num;
sender = msg.sender;
}
@Godtide
Godtide / BaseCaller.sol
Created November 6, 2019 15:15 — forked from critesjosh/BaseCaller.sol
Inter-contract execution in Solidity
pragma solidity ^0.5.0;
contract Base {
uint x;
constructor() public {
x = 10;
}
/*
* NB: since truffle-hdwallet-provider 0.0.5 you must wrap HDWallet providers in a
* function when declaring them. Failure to do so will cause commands to hang. ex:
* ```
* mainnet: {
* provider: function() {
* return new HDWalletProvider(mnemonic, 'https://mainnet.infura.io/<infura-key>')
* },
* network_id: '1',
* gas: 4500000,
@Godtide
Godtide / config
Created August 31, 2019 10:59 — forked from spreadzp/config
# Waves node settins
waves {
max-cache-size = 10
# Blockchain settings
blockchain {
type = CUSTOM
custom {
address-scheme-character = "D"
functionality {
@Godtide
Godtide / git_and_github_instructions.md
Created August 29, 2019 12:27 — forked from mindplace/git_and_github_instructions.md
Pushing your first project to github

Make sure git is tracking your project.

  1. Using your terminal/command line, get inside the folder where your project files are kept: cd /path/to/my/codebase.

You cannot do this simply by opening the folder normally, you must do this with the command line/terminal.

Do you need a refresher on using your command line/terminal? I've compiled my favorite resources here.

  1. Check if git is already initialized: git status