-
GitHub Repo: https://github.com/khai-gallery/badge-template
-
GitHub Repo: https://github.com/KSXGitHub/gist-release
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env node | |
'use strict' | |
const {stdout} = require('process') | |
const {random} = Math | |
const i3rand = () => (random() * 10000) >> 0 | |
const loop = count => count ? `${i3rand()} → ${loop(count - 1)}` : 'end\n' | |
stdout.write(loop(1024)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- const process = require('process') | |
doctype xml | |
svg( | |
xmlns = 'http://www.w3.org/2000/svg' | |
xlink = 'http://www.w3.org/1999/xlink' | |
width = 640 | |
height = 640 | |
style = { | |
background: background | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abc | def | ghi | |
---|---|---|---|
123 | 456 | 789 | |
135 | 246 | 579 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env sh | |
echo "Input is '$1'" | |
echo "Creating '$1' from '$1.cpp'..." | |
g++-6 -std=c++14 -Wall -Wextra -o "$1" "$1.cpp" -lgraph && ( | |
echo 'SUCCESS' | |
) || ( | |
code=$? | |
echo 'FAILED' >&2 | |
exit $code | |
) |