git clone https://github.com/certbot/certbot /opt/letsencrypt
ln -s /opt/letsencrypt/certbot-auto /usr/bin/certbot
certbot certonly --expand --agree-tos --text --non-interactive \
--standalone \
<?php | |
class sfWidgetFormSchemaFormatterBootstrap extends sfWidgetFormSchemaFormatter | |
{ | |
protected | |
$rowFormat = "<div class=\"control-group %row_class%\">\n %label%\n <div class=\"controls\">\n %field%\n %error%\n %help%\n %hidden_fields%\n </div>\n</div>\n", | |
$errorRowFormat = '%errors%', | |
$errorListFormatInARow = "<span class=\"help-inline\">%errors%</span>\n", | |
$errorRowFormatInARow = "%error% ", | |
$namedErrorRowFormatInARow = "%name%: %error% ", | |
$helpFormat = '<p class="help-block">%help%</p>', |
// script moved to http://github.com/b1rdex/nw-contextmenu |
class @BaseCtrl | |
@register: (app, name) -> | |
name ?= @name || @toString().match(/function\s*(.*?)\(/)?[1] | |
app.controller name, this | |
@inject: (annotations...) -> | |
ANNOTATION_REG = /^(\S+)(\s+as\s+(\w+))?$/ | |
@annotations = _.map annotations, (annotation) -> |
<?php | |
/** | |
* Script for flushing bytecode cache | |
* | |
* usage: | |
* php flush_cache.php unix:///var/run/php5-fpm.sock | |
* php flush_cache.php 127.0.0.1 9000 | |
* | |
* Change SECRET bellow before use! |
git clone https://github.com/certbot/certbot /opt/letsencrypt
ln -s /opt/letsencrypt/certbot-auto /usr/bin/certbot
certbot certonly --expand --agree-tos --text --non-interactive \
--standalone \
select.form-control + .chosen-container.chosen-container-single .chosen-single { | |
display: block; | |
width: 100%; | |
height: 34px; | |
padding: 6px 12px; | |
font-size: 14px; | |
line-height: 1.428571429; | |
color: #555; | |
vertical-align: middle; | |
background-color: #fff; |
registry-github: &docker | |
username: username | |
password: | |
- DOCKER_TOKEN | |
registry-internal: &internal | |
server: registry.example.com | |
username: testuser | |
password: testpassword123 | |
# This uses YAML magic and Ruby template language to select registry on the fly | |
registry: *<%= ENV["MRSK_REGISTRY"] || 'internal' %> |
This documentation adds important additions to the docs for mrsk deploy tool (see github.com/mrsked/mrsk)
You can use mrsk deploy --destination staging
This will read config/deploy.yml and config/deploy.staging.yml files, and also will read .env.staging file if it exists.
# yaml-language-server: $schema=https://raw.githubusercontent.com/kjellberg/mrsk/validate-with-json-schema/lib/mrsk/configuration/schema.yaml | |
service: testexample | |
image: githubuser/test/main | |
servers: | |
web: | |
hosts: | |
- 1.1.1.1 | |
labels: | |
traefik.http.routers.web.rule: Host(`test.example.com`) | |
traefik.http.routers.web_secure.entrypoints: websecure |