Skip to content

Instantly share code, notes, and snippets.

View JudahSan's full-sized avatar
🎯
Focusing

Judah JudahSan

🎯
Focusing
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JudahSan
JudahSan / Machine_Learning_Capstone.ipynb
Created February 4, 2021 13:14
ML_Assessement_capstone
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JudahSan
JudahSan / index.html
Created November 28, 2021 16:20
QKPJmW
<header>
<h1>JSON and AJAX</h1>
<button id="btn">Fetch Info for 3 New Animals</button>
</header>
<div id="animal-info"></div>
@JudahSan
JudahSan / README.txt
Last active March 2, 2022 13:10
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads for the very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
@JudahSan
JudahSan / RubyAsynch.md
Last active January 24, 2023 10:08
Ruby Asynchrony:

Asynchrony and synchrony are two different ways in which a computer program can execute its instructions.

Synchronous programming is the traditional way of writing code, where each instruction is executed one at a time, in the order in which it appears in the program. This means that if a blocking operation, such as a network request, is encountered, the program will block and wait for the operation to complete before moving on. This can lead to the program being unresponsive or slow if there are many blocking operations.

On the other hand, asynchronous programming allows a program to execute multiple instructions at the same time, without blocking the execution of other instructions. This means that if a blocking operation is encountered, the program can continue to execute other instructions while waiting for the operation to complete. This can lead to a more responsive and efficient program.

Asynchronous programming is often implemented using callbacks, promises, or async/await mechanisms, where a funct

@JudahSan
JudahSan / main.dart
Created January 25, 2023 20:47
unbridled-truth-0220
void main() {
for (int i = 0; i < 5; i++) {
print('hello ${i + 1}');
}
}