Skip to content

Instantly share code, notes, and snippets.

brianboyko /
Last active Sep 9, 2021
VueJS Best Practices Guide

Deverus Vue.js Style Guide

Guide for developing Vue.js applications.

v. 0.0.1

Vue.js is an amazing framework, which can be as powerful as Angular or React, the two big heavy hitters in the world of front-end frameworks.

However, most of Vue's ease-of-use is due to the use of Observables - a pattern that triggers re-renders and other function calls with the reassignment of a variable.

mschoebel / main.go
Created Mar 6, 2014
Snippet: login/logout (Golang)
View main.go
package main
import (
// cookie handling
dorajistyle / google_blogger_index_page
Created Dec 11, 2013
구글 블로거에 목차 페이지를 생성해 주는 스크립트입니다. 새 페이지를 생성해서 아래 코드를 넣으시면 됩니다. Google blogger index page from labels. This template generate a index page with post's labels. Create new page in blogger. And then copy and paste this code into page.
View google_blogger_index_page
<div id="index_category"></div>
<div id="index_main"></div>
<script src=""></script>
<script type="text/javascript">
// categories 변수에 원하는 label을 넣으세요.
// 부모 카테고리 : [자식 카테고리 0..n]
// The categories should contain category labels that you want to display in index page.
// parent_category : [child_categories 0..n]
dorajistyle / font-awesome-ie7.min.css
Created Nov 14, 2013
Font Awesome 4.0.3 Internet explorer 7 support. Font Awesome not support IE7 officially. But sometimes we need to support IE7.
View font-awesome-ie7.min.css
.nav [class^="fa-"],.nav [class*=" fa-"]{vertical-align:inherit;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px;}.nav [class^="fa-"].fa-lg,.nav [class*=" fa-"].fa-lg{vertical-align:-25%;}
.nav-pills [class^="fa-"].fa-lg,.nav-tabs [class^="fa-"].fa-lg,.nav-pills [class*=" fa-"].fa-lg,.nav-tabs [class*=" fa-"].fa-lg{line-height:.75em;margin-top:-7px;padding-top:5px;margin-bottom:-5px;padding-bottom:4px;}
.btn [class^="fa-"].pull-left,.btn [class*=" fa-"].pull-left,.btn [class^="fa-"].pull-right,.btn [class*=" fa-"].pull-right{vertical-align:inherit;}
.btn [class^="fa-"].fa-lg,.btn [class*=" fa-"].fa-lg{margin-top:-0.5em;}
a [class^="fa-"],a [class*=" fa-"]{cursor:pointer;}
.fa-glass{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf000;');}
.fa-music{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf001;');}
ddesilva / ga-tracking-helper.js
Created Jul 9, 2012
Require.js Module for the Google Analytics API
View ga-tracking-helper.js
define(['require', 'exports'], function(require, exports) {
exports.GATrackingHelper = function(settings) {
var urchinId = settings.gaqId || false,
devId = settings.devId || 'UA-3172639-5',
page = || null,
trackingLabel = settings.label || false,
domainName = settings.domainName || '',