Skip to content

Instantly share code, notes, and snippets.

View geta6's full-sized avatar

geta6 geta6

View GitHub Profile
server {
listen 80;
charset UTF-8;
server_name example.net;
root /var/www/net.example/public;
location / {
try_files $uri @app;
}

Untitled slide

日本語ダヨー 改行ダヨー

Roses are red Violets are blue

hoge

Untitled Slide

Welcome to Glide.

This automatic slide generator is the easiest way to create beautiful slide for all of your Gists.

  • input key <- to go backward.
  • input key -> to go forward.

Publishing

Glide Help

Welcome to Glide.

Glide is the easiest way to create useful slide for all of your Gists.

Keyboard shortcuts:

  • : go backward.
  • : go forward.
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
jade:
compile:
files: [{
expand: yes
cwd: 'assets/'
src: [ '*.jade' ]
@geta6
geta6 / ma.html
Created September 22, 2013 09:43
<html>
<body onload='init()'>
<button id='b'>BEEEER</button>
<button id='c'>CABBBB</button>
<button id='e'>EGGGGG</button>
<script>
init = function () {
var b = new Audio('./beer.mp3');
var c = new Audio('./cabbage.mp3');
var e = new Audio('./egg.mp3');

俺たちの夏休み

  • 夏休みの成果
  • 夏合宿の成果
  • 2013-09-23 @ masuilab

Node初級入門

http://goo.gl/UDv8fk

echo 'Hello World';
@geta6
geta6 / authorization.coffee
Last active December 23, 2015 18:59
socket.io authorization example.
# ...
sessionStore = new ((require 'connect-mongo') express)
mongoose_connection: mongoose.connections[0]
# ...
app.set 'session', sessionStore
# ...
http = require 'http'
http.get 'http://google.co.jp', (res) ->
data = ''
res
.on 'data', (chunk) ->
data += chunk
.on 'end', ->
console.log data
.on 'error', (error) ->