Skip to content

Instantly share code, notes, and snippets.

View dark-slack-theme.css
:root {
--primary: #09F;
--accent: #57A;
--background: #2b2929;
--background-elevated: #222;
--background-hover: rgba(255, 255, 255, 0.1);
--sidebar-background: #1a2129;
--border-dim: #666;
View docker-compose.yaml
CassandraSeed
environment:
RANCHER_ENABLE: 'true'
RANCHER_SEED_SERVICE: CassandraSeed
CASSANDRA_RACK: 'rack1'
CASSANDRA_DC: aws-us-east
CASSANDRA_ENDPOINT_SNITCH: GossipingPropertyFileSnitch
labels:
io.rancher.container.pull_image: always
tty: true
View packer_template.json
{
"variables": {
"app_name": null,
"env_name": null,
"lifecycle": null,
"subnet_id": null,
"source_ami": "ami-0d4cfd66",
"ssh_keypair_name": null,
"ssh_private_key_file": null,
"war_path": null,
View docker-compose.yml
Goauth:
image: go-auth
ports:
- "9000:9000"
stdin_open: true
links:
- Database:db
command:
- "--db-host"
- "db"
View docker-compose.yaml
Monitoring:
command:
- -labels=io.rancher.project.name,io.rancher.project_service.name,io.rancher.container.system,foo
image: usman/container-exporter:v1
ports:
- 9104:9104/tcp
labels:
io.rancher.scheduler.global: 'true'
io.rancher.scheduler.affinity:host_label: monitored=true
volumes:
View rancher-compose.yml
cache:
scale: 1
WebLB:
scale: 1
load_balancer_config:
lb_cookie_stickiness_policy: null
description: null
name: WebLB config
app_cookie_stickiness_policy: null
health_check:
View docker-compose.yml
cache:
tty: true
image: memcached
stdin_open: true
WebLB:
image: rancher/load-balancer-service
ports:
- 80:80
links:
- web
View gist:1ba0b79c8b3a435ef0e3
-- phpMyAdmin SQL Dump
-- version 3.3.9
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jun 06, 2015 at 05:07 PM
-- Server version: 5.5.8
-- PHP Version: 5.3.5
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
View gist:67997fbf79af3e0e186c
Mage::getSingleton('core/session', array('name' => 'adminhtml'));
$user = Mage::getModel('admin/user')->loadByUsername('YOUR_USERNAME');
$session = Mage::getSingleton('admin/session');
$session->setUser($user);
You can’t perform that action at this time.