That is is basically a "fork" of blog article i'm constantly returning to. It seems that the blog is down:
Dave Bass proposed this which I picked up for my implementation (here for an 8-chars token):
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Index</title> | |
<script type="text/javascript"> | |
window.open ("popup.html","mywindow", "width=350,height=250"); | |
// Create IE + others compatible event handler |
That is is basically a "fork" of blog article i'm constantly returning to. It seems that the blog is down:
Dave Bass proposed this which I picked up for my implementation (here for an 8-chars token):
# frozen_string_literal: true | |
source "https://rubygems.org" | |
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } | |
gem 'liquid' | |
gem 'ruby-handlebars' |
require 'benchmark' | |
n = 100_000 | |
Benchmark.bm do |benchmark| | |
benchmark.report("#to_s") do | |
n.times do | |
nil.to_s | |
end | |
end |
echo '== Stoping the app ==' | |
docker-compose down | |
echo '== Pulling changes ==' | |
git pull | |
echo '== Building the image ==' | |
docker-compose build | |
echo '== Removing old assets' |
█▬█ █ ▀█▀ |
<template> | |
<div> | |
<slot></slot> | |
</div> | |
</template> | |
<script> | |
export default { | |
props: { | |
/** |
/** | |
* ActionListeners(alt: AltInstance): ActionListenersInstance | |
* | |
* > Globally listen to individual actions | |
* | |
* If you need to listen to an action but don't want the weight of a store | |
* then this util is what you can use. | |
* | |
* Usage: | |
* |
module Api::Views::V1::Events | |
class Index | |
include Api::View | |
end |
This document details how I setup LE on my server. Firstly, install the client as described on http://letsencrypt.readthedocs.org/en/latest/using.html and make sure you can execute it. I put it in /root/letsencrypt
.
As it is not possible to change the ports used for the standalone
authenticator and I already have a nginx running on port 80/443, I opted to use the webroot
method for each of my domains (note that LE does not issue wildcard certificates by design, so you probably want to get a cert for www.example.com
and example.com
).
For this, I placed config files into etc/letsencrypt/configs
, named after <domain>.conf
. The files are simple: