First, fix the owners :
sudo chgrp -R www-data .
Then, fix the access permissions :
For read-only folders :
sudo find . -type f -exec chmod 0460 {} \;
To begin, stop the database service and check the service status: | |
------------- SystemD ------------- | |
# systemctl stop mariadb | |
------------- SysVinit ------------- | |
# /etc/init.d/mysqld stop | |
Next, start the service with --skip-grant-tables: | |
------------- SystemD ------------- |
First, fix the owners :
sudo chgrp -R www-data .
Then, fix the access permissions :
For read-only folders :
sudo find . -type f -exec chmod 0460 {} \;
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: dummy | |
labels: | |
env: test | |
spec: | |
containers: | |
- name: dummy | |
image: busybox |
#!/bin/sh | |
# | |
# Wipe all tables contained into a AWS Timestream database. | |
# Usage: wipe-timestream.sh -d [my-db] | |
# | |
# TODO: Iterate through the AWS pagination for getting more than 20 tables per script exec | |
# | |
usage() { |
import csv | |
import gkeepapi | |
import keyring | |
import os | |
import re | |
import urllib.request | |
import uuid | |
from datetime import datetime | |
from notion.block import PageBlock, TextBlock, TodoBlock, BulletedListBlock, NumberedListBlock, ImageBlock |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
set -e | |
ARCH_AMD64="${ARCH_AMD64:-x64}" | |
ARCH_ARM32="${ARCH_ARM32:-arm}" | |
ARCH_ARM64="${ARCH_ARM64:-arm64}" | |
SYS_ARCH="$(arch)" | |
if [[ $SYS_ARCH == x86_64 ]]; then |
from typing import Optional | |
import re | |
import html | |
def sanitize(raw: Optional[str]) -> Optional[str]: | |
""" | |
Takes a raw string of HTML and removes all HTML tags, Markdown tables, and line returns. | |
""" | |
if not raw: |
---
title: Deployment workflow
---
flowchart LR
dev(["Developer"])
subgraph azdo["Azure DevOps"]
repo["Azure Repos"]
pipeline["Azure Pipelines"]