Skip to content

Instantly share code, notes, and snippets.

View KSXGitHub's full-sized avatar

Khải KSXGitHub

  • Earth, Solar System, Orion Arm, Milky Way
  • X @hvksmr1996
View GitHub Profile
@KSXGitHub
KSXGitHub / README.md
Last active October 9, 2016 06:09
khai-gallery/badge-template → release
@KSXGitHub
KSXGitHub / README.md
Last active October 8, 2016 06:38
KSXGitHub/gist-release
@KSXGitHub
KSXGitHub / README.md
Last active October 11, 2016 11:33
khai-gallery/coffee-badge-template → release Raw
@KSXGitHub
KSXGitHub / default-build-script.js
Last active October 7, 2016 17:56
Default build script
#! /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))
@KSXGitHub
KSXGitHub / simple.pug
Last active October 8, 2016 17:47
Simple pug
- 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
}
@KSXGitHub
KSXGitHub / README.md
Last active October 25, 2016 14:13
ksxatompackages/quick-spawn.images
@KSXGitHub
KSXGitHub / README.md
Created October 11, 2016 13:59 — forked from zenorocha/README.md
A template for Github READMEs (Markdown) + Sublime Snippet

Project Name

TODO: Write a project description

Installation

TODO: Describe the installation process

Usage

@KSXGitHub
KSXGitHub / table.csv
Created October 11, 2016 15:08
Simple Table
abc def ghi
123 456 789
135 246 579
@KSXGitHub
KSXGitHub / meta-tags.md
Last active October 11, 2016 15:37 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website subject'>
<meta name='copyright' content='company name'>
@KSXGitHub
KSXGitHub / build
Last active January 2, 2017 18:17
Computer Graphics Revison
#! /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
)