Skip to content

Instantly share code, notes, and snippets.

View azamara's full-sized avatar

William Kim azamara

View GitHub Profile
@azamara
azamara / index.html
Created September 5, 2012 07:39
for webkit browser
<div class="slide-wrap center">
<label data-text="밀어서 잠금해제">밀어서 잠금해제</label>
<input type="range" min="0" max="100" value="0"/>
</div>
<div class="slide-wrap center">
<label data-text="밀어서 잠금해제">slide to unlock</label>
<input type="range" min="0" max="100" value="0"/>
</div>
@azamara
azamara / .bowerrc
Last active December 19, 2015 10:39
Bower, Grunt, HTML5 cache, coffee, compass, Less, server, watch, livereload, rjs, min, imgopt
{
"directory": "app/bower_components",
"json": "bower.json"
}
@azamara
azamara / test_index.html
Created July 10, 2013 13:20
Mocha 테스트
<!doctype html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Mocha Spec Runner</title>
<link rel="stylesheet" href="lib/mocha/mocha.css">
</head>
<body>
<div id="mocha"></div>
<script src="lib/mocha/mocha.js"></script>
@azamara
azamara / gist:6749891
Created September 29, 2013 06:33
Backbone main.js template
require([
// Application.
"app",
// Main Router.
"router"
],
function(app, Router) {
@azamara
azamara / gist:6861559
Last active December 24, 2015 20:59
Weinre Server

Install

npm -ginstall weinre

Start server

weinre --boundHost 172.20.10.3 --httpPort 9090
@azamara
azamara / jnw.io.conf
Last active December 26, 2015 14:19
jnw.io.conf
server {
listen 80;
server_name www.jnw.io jnw.io;
root /Users/azamara/projects/jnw.io;
index index.html index.htm;
location / {
try_files $uri $uri/ /index.html;
@azamara
azamara / nginx-phpmyadmin.conf
Last active December 26, 2015 14:19
nginx-phpmyadmin.conf
server {
listen 80;
server_name phpmyadmin.jnw.io;
root /home/azamara/projects/phpMyAdmin-4.0.8;
index index.html index.htm index.php;
location / {
try_files $uri $uri/ /index.html;
}
@azamara
azamara / gist:deb592cd1727ff77d1fa
Last active August 29, 2015 14:02 — forked from jedi4ever/gist:903751
[Fork]Tuning stuff for Ubuntu hosts
# /etc/security/limits.conf
* soft nofile 999999
* hard nofile 999999
root soft nofile 999999
root hard nofile 999999
===========================================================
# /etc/sysctl.conf
# sysctl for maximum tuning
@RunWith(GrinderRunner)
class Test1 {
def rootUrl= "http://agpushmedium-arqtest.rhcloud.com"
static GTest test;
static HTTPRequest request;
// This method is executed once per a process.
@BeforeProcess
#!/usr/bin/env ruby -E utf-8
# merge_asana_into_omnifocus.rb
# Hilton Lipschitz
# http://www.hiltmon.com
# Use and modify freely, attribution appreciated
# Script to import Asana projects and their tasks into
# OmniFocus and keep them up to date from Asana.