Skip to content

Instantly share code, notes, and snippets.

View hkwid's full-sized avatar
😎
gemma

hkawaida hkwid

😎
gemma
View GitHub Profile
@hkwid
hkwid / 0_reuse_code.js
Created January 13, 2016 20:27
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
// Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc
// jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/
// author: Pawel Kozlowski
var myApp = angular.module('myApp', []);
//service style, probably the simplest one
myApp.service('helloWorldFromService', function() {
this.sayHello = function() {
return "Hello, World!"
@hkwid
hkwid / gist:8661858
Created January 28, 2014 03:31 — forked from xl1/gist:8651716

CSS Regions で計算をする

検証環境

Google Chrome 34.0.1797.2 (Official Build 246002) dev-m
OS  Windows 
Blink 537.36 (@165430)
enable-experimental-web-platform-features フラグ オン