View dark-slack-theme.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Goauth: | |
image: go-auth | |
ports: | |
- "9000:9000" | |
stdin_open: true | |
links: | |
- Database:db | |
command: | |
- "--db-host" | |
- "db" |
View docker-compose.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Monitoring: | |
scale: 1 | |
prometheus: | |
scale: 1 |
View rancher-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cache: | |
tty: true | |
image: memcached | |
stdin_open: true | |
WebLB: | |
image: rancher/load-balancer-service | |
ports: | |
- 80:80 | |
links: | |
- web |
View gist:1ba0b79c8b3a435ef0e3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mage::getSingleton('core/session', array('name' => 'adminhtml')); | |
$user = Mage::getModel('admin/user')->loadByUsername('YOUR_USERNAME'); | |
$session = Mage::getSingleton('admin/session'); | |
$session->setUser($user); |
NewerOlder