- 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
- Compass - Open source CSS Authoring Framework.
- Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
- Font Awesome - The iconic font designed for Bootstrap.
- Zurb Foundation - Framework for writing responsive web sites.
- SASS - CSS extension language which allows variables, mixins and rules nesting.
- Skeleton - Boilerplate for responsive, mobile-friendly development.
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
/** | |
* Created by deptno on 2014. 8. 11.. | |
*/ | |
//define(["require", "exports", "text!product_name", "env/config"], function(require, exports, __PRODUCT_NAME__, __CONFIGURATOR__) { | |
require(["text!product_name", "env/config"], function(__PRODUCT_NAME__, __CONFIGURATOR__) { | |
var __config__; | |
require([ | |
"env/conf_" + __PRODUCT_NAME__.toLowerCase(), | |
"text!product/" + __PRODUCT_NAME__.toLowerCase() + "/data.json" | |
], function(__OWN_CONFIG__, __OWN_DATA__) { |
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 | |
var __config = { /* author: [email protected] */ | |
path_root: '/Users/deptno/Workspace/github/deptno.github.io', | |
path_post: '_posts', | |
cmd_editor: 'mvim', | |
ext: '.md' | |
}; | |
if (process.argv.length < 3) { | |
console.log(' * configure: $ ' + __config.cmd_editor + ' ' + process.argv[1]); |
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
set autoindent " 자동으로 들여쓰기를 한다. | |
set cindent " C 프로그래밍을 할때 자동으로 들여쓰기를 한다. | |
set smartindent " 좀더 똑똑한 들여쓰기를 위한 옵션이다. | |
"set textwidth=79 " 만약 79번째 글자를 넘어가면 | |
set wrap " 자동으로 를 삽입하여 다음 줄로 넘어간다. | |
set nowrapscan " 검색할 때 문서의 끝에서 다시 처음으로 돌아가지 않는다. | |
set nobackup " 백업 파일을 만들지 않는다. | |
set visualbell " 키를 잘못눌렀을 때 삑 소리를 내는 대신 번쩍이게 한다. | |
set ruler " 화면 우측 하단에 현재 커서의 위치(줄,칸)를 보여준다. | |
set shiftwidth=4 " 자동 들여쓰기를 할때 4칸 들여쓰도록 한다. |
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
if (!jQuery) { | |
throw 'need jQuery'; | |
} | |
!(function(url, header) { | |
$.ajax({ | |
type: 'head', | |
url: url, | |
headers: header, | |
success: function(str, num, xhr) { | |
console.log('success'); |
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 | |
// @source ts folder, target folder, start today, delete based utc | |
var pathSrc = 'E:/MDS_1.6/transport_streams'; | |
var pathDst = 'U:/DTG' | |
var startToDay = false; | |
var deleteBasedUtc = false; | |
var spawn = require('child_process').spawn; | |
var execSync = require('child_process').execSync; |
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
!function(msec, count) { | |
function tcafe(msec) { | |
function simulateKeyPress(character, element) { | |
var e = $.Event('keypress'); | |
e.which = 13; | |
$(element).trigger(e); | |
} | |
var text = $('#tzStr').text() | |
var target = $(".ment_show")[0]; | |
var i = 0; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.20/require.js" data-main="test.js"></script> | |
<script></script> | |
<title>Test</title> | |
</head> | |
<body> |
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
!function() { | |
var workspace = atom.workspace; | |
var editor = workspace.getActiveTextEditor(); | |
var date = (new Date(Date.now() - (new Date()).getTimezoneOffset() * 60000)).toISOString().slice(0,-1); | |
var text = [ | |
'---', | |
'layout: post', | |
'title: ', | |
'excerpt: ', | |
'category: draft', |
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 fs = require('fs'); | |
var dirs = fs.readdirSync(__dirname); | |
var regexp = /[0-9-]+-(.+)/; | |
dirs.forEach(function(file) { | |
var stat = fs.lstatSync(file); | |
if (stat && !stat.isDirectory()) { | |
if (regexp.test(file)) { | |
var newName = file.replace(regexp, "$1"); |
OlderNewer