ebarnouflant
ebarnouflant copied to clipboard
Turn Github issues into blog posts
Bash script, that can also be used as cloud-init script for launching GitHub hosted runners non-interactively: ```bash #!/bin/bash -ex set -o pipefail RUNNER_ORG=YOUR_ORG RUNNER_TOKEN=YOUR_TOKEN RUNNER_LABELS=self-hosted,x64,docker RUNNER_VERSION=2.311.0 # Install docker, then...
I was testing Scaleway's object storage with Carrierwave, and noticed that all my files were correctly uploaded, but corrupted. For instance a simple text file with `hello` would contain the...
``` # cat wildcard.conf [ req ] prompt = no distinguished_name = dn req_extensions = req_ext [ dn ] CN = *.domain.com emailAddress = [email protected] O = MyOrg OU =...
Clone and install the sample speech to text node repository: ``` git clone https://github.com/googleapis/nodejs-speech.git cd nodejs-speech/samples && npm install && cd .. ``` Create service account key credential file in...
## Use external schema to directly connect Redshift to a PostgreSQL database From https://aws.amazon.com/blogs/big-data/build-a-simplified-etl-and-live-data-query-solution-using-redshift-federated-query/ ``` CREATE EXTERNAL SCHEMA IF NOT EXISTS pg FROM POSTGRES DATABASE 'app' SCHEMA 'public' URI 'db-endpoint-xyz.eu-west-3.rds.amazonaws.com'...
On ubuntu 20.04, if you're getting errors like this when running selenium tests using chromium and chromedriver: ``` Selenium::WebDriver::Error::UnknownError: unknown error: Chrome failed to start: crashed. (unknown error: DevToolsActivePort file...
Explanations: * https://community.letsencrypt.org/t/certbot-1-12-which-supports-preferred-chain-in-os-packages/161499/7 * https://blog.devgenius.io/lets-encrypt-change-affects-openssl-1-0-x-and-centos-7-49bd66016af3 * https://community.letsencrypt.org/t/problem-with-certificate-has-expired/161013/2 ``` Let's Encrypt serves a chain up to the (now expired) DST Root CA X3, because that helps with Android compatibility. The current...
Install rosetta2, so that you can run Intel-only apps on your new ARM chip: ``` /usr/sbin/softwareupdate --install-rosetta --agree-to-license ``` Install Xcode from the App Store. Download and install [homebrew](https://brew.sh). Download...
If you just want to have a look at what sonarqube would detect in your ruby code, here are the 5-min instructions. The following assumes that you have launched a...
## Server Sent Events * https://stackoverflow.com/questions/18584525/server-sent-events-and-browser-limits