This file contains hidden or 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
extends ../layout/layout | |
include ../../blocks/grey-separator/grey-separator | |
block content | |
if appearance == 'vip-service' | |
style | |
include:less i-vip-service-user-registered.less | |
else | |
style | |
include:less user-registered.less |
This file contains hidden or 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
{ | |
"component": "activity-streams", | |
"types": [ | |
{ | |
"type": "StreamEventFilter", | |
"schema": { | |
"key?": "<SrtreamEventFilter>", | |
"$eq?": "<number|string|array|object>", | |
"$gt?": "<number>", | |
"$gte?": "<number>", |
This file contains hidden or 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
{ | |
"realtime": { | |
"events": [ | |
{ | |
"name": "usermail#updated", | |
"payload": { | |
"employeeId": "<seq>", | |
"updates": [{ | |
"emailCardId": "<guid>", | |
"email": "<EmailCard>" |
This file contains hidden or 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
{ | |
"rabbit_version": "3.5.6", | |
"users": [ | |
{ | |
"name": "guest", | |
"password_hash": "FI5Pa2W8B3ypqqZ8o95C40NQ1VE=", | |
"tags": "administrator" | |
} | |
], | |
"vhosts": [ |
This file contains hidden or 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
#!/usr/bin/env bash | |
rancher_containers=$(docker ps | grep rancher | awk '{print $1}') | |
for id in $rancher_containers; do | |
echo $id | |
docker exec $id mysql --database cattle --execute 'purge binary logs before now();' | |
done |
This file contains hidden or 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
(function (fn) { | |
var moment = require('moment-timezone'), | |
user = require('../i-user/i-user'); | |
module.exports = fn(moment); | |
if (typeof (global) !== 'undefined') { | |
delete global.moment; // ensure we can't user global moment object | |
} |
This file contains hidden or 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
update builds set build_status = 'error' where build_status IN ('pending','running'); | |
update jobs set job_status = 'error' where job_status IN ('pending','running'); |
This file contains hidden or 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
clone: | |
path: github.com/gogits/gogs | |
build: | |
image: golang:$$GO_VERSION | |
environment: | |
- TAGS="pam sqlite" | |
- BUILD_OS="windows linux darwin freebsd openbsd netbsd" |
This file contains hidden or 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
CATTLE_AGENT_PACKAGE_AGENT_BINARIES_URL=/usr/share/cattle/artifacts/agent-binaries.tar.gz | |
CATTLE_AGENT_PACKAGE_CADVISOR_URL=/usr/share/cattle/artifacts/cadvisor.tar.gz | |
CATTLE_AGENT_PACKAGE_HOST_API_URL=/usr/share/cattle/artifacts/host-api.tar.gz | |
CATTLE_AGENT_PACKAGE_NODE_AGENT_URL=/usr/share/cattle/artifacts/node-agent.tar.gz | |
CATTLE_AGENT_PACKAGE_PYTHON_AGENT_URL=/usr/share/cattle/artifacts/python-agent.tar.gz | |
CATTLE_AGENT_PACKAGE_RANCHER_DNS_URL=/usr/share/cattle/artifacts/rancher-dns.tar.gz | |
CATTLE_AGENT_PACKAGE_RANCHER_METADATA_URL=/usr/share/cattle/artifacts/rancher-metadata.tar.gz | |
CATTLE_AGENT_PACKAGE_VOLMGR_URL=/usr/share/cattle/artifacts/volmgr.tar.gz | |
CATTLE_CATTLE_VERSION=v0.115.0 | |
CATTLE_DB_CATTLE_DATABASE=mysql |
This file contains hidden or 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
[client] | |
port = 3306 | |
socket = /tmp/mysql.sock | |
[mysql] | |
prompt = '\\u@\\h [\\d] > ' | |
default_character_set = utf8_general_ci | |
safe_updates | |
show_warnings | |
connect_timeout = 5 |