Skip to content

Instantly share code, notes, and snippets.

View bietdoikiem's full-sized avatar
🇻🇳
Solving...

Minh Nguyen bietdoikiem

🇻🇳
Solving...
  • Microsoft
  • Ho Chi Minh, Vietnam
  • 23:32 (UTC +07:00)
View GitHub Profile
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment",
"comment.block",
"comment.block.documentation",
"comment.line",
"constant",
"constant.character",
@bietdoikiem
bietdoikiem / TetherToken.sol
Created November 25, 2021 15:36 — forked from plutoegg/TetherToken.sol
TetherToken.sol - Tether.to USD
pragma solidity ^0.4.11;
/**
* Math operations with safety checks
*/
library SafeMath {
function mul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
@bietdoikiem
bietdoikiem / index.js
Created November 6, 2021 16:31 — forked from dmurawsky/index.js
How to make a page full height in Next.js
const FullHeightPage = () => (
<div>
Hello World!
<style global jsx>{`
html,
body,
body > div:first-child,
div#__next,
div#__next > div {
height: 100%;
@bietdoikiem
bietdoikiem / .eslintignore
Created October 30, 2021 12:53 — forked from vicasas/.eslintignore
Next.js Lint with Eslint + Airbnb Style + Husky + Lint-Staged
.next
public
node_modules
yarn.lock
package-lock.json
**/*.test.js
coverage