Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://getbootstrap.com/dist/css/bootstrap.css" rel="stylesheet" type="text/css" />
<!-- Custom styles for this template -->
<link href="http://getbootstrap.com/examples/dashboard/dashboard.css" rel="stylesheet">
<script src="http://getbootstrap.com/dist/js/bootstrap.js"></script>
<meta charset="utf-8">
<title>XX GameCoinEx</title>
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Dreamhost Object swift auth and CORS" />
<title>Test DH Object Swift Auth</title>
<link href="http://getbootstrap.com/dist/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="http://getbootstrap.com/dist/css/bootstrap-theme.css" rel="stylesheet" type="text/css" />
<!-- ref https://gist.github.com/adrian/2571090 -->
<script src="http://code.jquery.com/jquery.min.js"></script>
</head>
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="bootstrap theme template" />
<style>
body {
padding-top: 70px;
padding-bottom: 30px;
}
#!/usr/bin/env python
# Script to run dynamic dns for docker containers.
# DNS is served by dnsmasq running on the docker0 gateway ip, and dynamically
# updated at containers come and go.
#
# To use from docker, just provide the --dns option:
# docker run --dns <gateway> ...
# The gateway ip you need will be printed when this script is run.
#!/usr/bin/python
import json
import os
import shutil
import subprocess
import re
dockerdir = '/var/lib/docker'
volumesdir = os.path.join(dockerdir, 'volumes')
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="hello-er" attributes="what">
<template>
<style>
</style>
<div>
<strong>{{ what }}</strong>
</div>
@y12studio
y12studio / designer.html
Created August 13, 2014 03:31
designer
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@y12studio
y12studio / designer.html
Created August 14, 2014 12:10
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../chart-js/chart-js.html">
<polymer-element name="my-element">
package y12.tw;
// v4
message Y12Meta {
enum Type {
COMMON = 1;
COMMON_ARRAY = 11;
FILE_EXIST = 21;
ASSET_GENESIS = 31;
ASSET_TRANSCATION = 32;