links for old versions of Docker for Mac
Docker provides download links in release note. They promised that
(we) will also include download links in release notes for future releases.
Note:
"""As part of the 'Data Structures and Introduction to Algorithms' course, I was asked to solve the following problem: | |
Write a function that sorts five elements in seven comparisons in the worst case. | |
As I found this problem interesting, I decided to implement it in Python. For better understanding, I recommend | |
reading the answer from the link below, which explains the algorithm. | |
""" | |
import random | |
from typing import List |
Docker provides download links in release note. They promised that
(we) will also include download links in release notes for future releases.
Note:
name: Security audit | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
push: | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
jobs: | |
security_audit: |
#! /bin/bash | |
for blog_path in $(wp site list --field=path) | |
do | |
path_wo_slashes="${blog_path////""}" | |
url="http://your.blog.address/$path_wo_slashes" | |
# status = approve, hold, trash, spam | |
tmp_ids=$(wp comment list --status=hold --format=ids --url=$url) | |
# clean the string | |
pending_ids="$(echo -e "${tmp_ids}" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')" |
// Bookmarklet | |
javascript: var % 20b = document.body; | |
var % 20POSTEROUS___bookmarklet_domain = 'http://posterous.com'; | |
var % 20d = new % 20Date(); | |
var % 20e = (new % 20Date(d.getFullYear(), d.getMonth(), d.getDate())).getTime(); | |
if (b && !document.xmlVersion) { | |
void(z = document.createElement('script')); | |
void(z.type = 'text/javascript'); | |
void(z.src = 'http://posterous.com/javascripts/bookmarklet2.js?' + e); | |
void(b.appendChild(z)); |
In 2020, I published the Pub package github_actions_toolkit
to write GitHub Actions with Dart more easily. However, GitHub Actions runners don't support natively the Dart language, and some steps are necessary to execute a Dart program in a GitHub Actions workflow.
Below I compare three ways to create a GitHub Action with Dart, with their pros and cons.
. | Shared Dart container | Isolated Dart container | Natively compiled executable |
---|---|---|---|
✍️ Defines the environment | User | Developer | Developer |
This long post contains a recipe for building a reasonably secure Ubuntu 16.04 mail server in Amazon Web Services, using Postfix, Dovecot, and MySQL, with anti-spam packages in the form of amavisd-new, Clam AntiVirus, SpamAssassin, and Postgrey. Local users [are virtual][1] rather than being system users. Administration of users and domains is achieved through the Postfix Admin web interface. Webmail is provided by Roundcube.
This is an updated version of earlier [Ubuntu 12.04][2] and [Ubuntu 14.04][3] mailserver recipes. A number of people graciously helped to fix bugs and make improvements in the original, so should you find a blocking issue here please do let me know.
Introduction
/*jshint newcap:false */ | |
/*global alert, setTimeout*/ | |
var CJ_PUBLISHER_BOOKMARKLET = (function () { | |
var baseClass = 'cj-account-manager', | |
animate = function (options) { | |
var start = new Date(), | |
intervalId, | |
duration = options.duration || 400; | |
intervalId = setInterval(function() { |
Create the file with the environment variables:
$ cat envs.txt
HOSTNAME=app.domain.com
PASSWORD=foobar
Create the config map: