Skip to content

Instantly share code, notes, and snippets.

View cybaj's full-sized avatar

Minseok Kim cybaj

View GitHub Profile
@jtriley
jtriley / terminalsize.py
Created July 26, 2011 21:58
Get current terminal size on Linux, Mac, and Windows
#!/usr/bin/env python
import os
import shlex
import struct
import platform
import subprocess
def get_terminal_size():
""" getTerminalSize()
@max-mapper
max-mapper / readme.md
Last active January 28, 2024 18:11
How-to: Write a node module with voxel.js

Writing node modules with voxel.js

This is a short guide that will teach you the workflows that have been figured out by the voxel.js community for writing node modules + sharing them on NPM and Github. It is assumed that you have a basic understanding of JavaScript, github and the command line (if not you can check out an introduction to git and the command line or learn JS basics from JavaScript for Cats)

The voxel-tower repository on github contains all the example code from this guide.

Table of contents

@paulirish
paulirish / gist:5558557
Last active April 18, 2024 14:32
a brief history of detecting local storage

A timeline of the last four years of detecting good old window.localStorage.


Jan Lenhart, bless his heart contributed the first patch for support:

October 2009: 5059daa

Bundler 사용법 & Gem 만들기

@charlenopires
charlenopires / Responsive-Organization-Chart-[updated].markdown
Created November 28, 2014 02:57
Responsive Organization Chart [updated]

Responsive Organization Chart [updated]

A pure HTML/ CSS responsive organization chart with departments and sub-sections

Improvements:

  • media queries are separated in one place only and not all over the css (more control on it)
  • 3 new style of line (a 3 block column line; a 2 block column block line; a single block line)
  • use SCSS to maange easly varaibles and breakepoint
  • separated the list of departments from board area (more control and less ul insie ul inside ul inside ul)
  • 7 column on the department area
@geramirez
geramirez / texttopdftools.md
Created February 9, 2015 20:54
Command Line Text to PDF Tools
@ihoneymon
ihoneymon / how-to-write-by-markdown.md
Last active July 30, 2024 03:54
마크다운(Markdown) 사용법

[공통] 마크다운 markdown 작성법

영어지만, 조금 더 상세하게 마크다운 사용법을 안내하고 있는
"Markdown Guide (https://www.markdownguide.org/)" 를 보시는 것을 추천합니다. ^^

아, 그리고 마크다운만으로 표현이 부족하다고 느끼신다면, HTML 태그를 활용하시는 것도 좋습니다.

1. 마크다운에 관하여

@ajlkn
ajlkn / README.md
Last active January 24, 2024 04:48
Sass vendor mixin

Sass vendor mixin

Quick little mixin to automatically vendorize properties/values that might need to be vendorized (listed in $vendor-properties and $vendor-values). Originally written for http://html5up.net/spectral.

Examples

@include vendor('transform', 'rotate(-45deg)');
@include vendor('transition', ('transform 1s ease', 'opacity 0.5s ease'));
@include vendor('display', 'flex');
@include vendor('flex-wrap', 'wrap');
@include vendor('background-image', ('linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5))', 'url("../images/banner.jpg")'));