Skip to content

Instantly share code, notes, and snippets.

@ryanonit
ryanonit / bootsrap_class_list
Created October 11, 2015 19:38 — forked from geksilla/bootsrap_class_list
Bootstrap css class list
.navbar
.caret
.label
.table
.img-responsive
.img-rounded
.img-thumbnail
.img-circle
.sr-only
.lead

AngularJS Whitespace Guide

The purpose of this style guide is to suggest formatting conventions for AngularJS modules that result in readible, maintainable, and lint free code (see the linter configurations for JSHint and gjslint.py.

All-in-one example

Typically, an AngularJS application would be structured with many modules in separate files. The example below shows a monolithic module to illustrate the formatting conventions for various module methods.

angular.module('module.name', [
@ryanonit
ryanonit / bbs_checkpassword.php
Created January 6, 2014 06:21
this just for the test
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Form > Delete</title>
<link rel="stylesheet" type="text/css" href="bbs.css">
<script type="text/javascript">
function goLite(FRM, BTN) {
window.document.form[FRM].elements[BTN].style.backgroundColor = "#AAAAAA";
}
function goDim(FRM, BTN) {
@ryanonit
ryanonit / MacOSXDefaultFontFallbacksChanger.command
Created October 7, 2012 09:37 — forked from teslamint/MacOSXDefaultFontFallbacksChanger.command
맥의 기본 한글 글꼴을 바꿔주는 스크립트 - A script for changing Mac OS X's default font fallbacks
#!/usr/bin/env bash
# A script for changing Mac OS X's default fonts
# Author: Jaeho Shin <netj@sparcs.org>
# Created: 2011-07-22
### MacOSXDefaultFontFallbacksChanger #########################################
## Mac OS X 기본 글꼴 설정 변경 도구 – 1.2 (2012-03)
## http://netj.github.com/MacOSXDefaultFontFallbacksChanger
###############################################################################