command | description |
---|---|
ctrl + a | Goto BEGINNING of command line |
Discover gists
import pandas as pd | |
import openpyxl | |
def _get_link_if_exists(cell) -> str | None: | |
try: | |
return cell.hyperlink.target | |
except AttributeError: | |
return None |
Das Programm »Restic« ist ein modernes Backup-Programm, welches als Speicherort sowohl lokale Verzeichnisse als auch per Netzwerk erreichbare Speicher (Online-Speicher) nutzen kann. Der Autor von »Restic« zeigt in anschaulicher Weise in zwei Videos viele Details zur Arbeitsweise seines Programms: »FOSDEM 2015« (2015-01-28) und »CCCCologne« (2016-01-29).
Im Folgenden soll gezeigt werden, wie man unter Linux automatische Backups mit »Restic« einrichten kann. Als Speicherort wird per WebDAV-Protokoll erreichbarer Online-Speicher genutzt. Sinngemäß können die Hinweise aber auch auf andere Netzwerkprotokolle übertragen werden. Getestet wurde unter »openSUSE« und »Linux Mint« (»Ubuntu«), wobei aber auch alle anderen systemd-basierten Linux-Distributionen in derselben Art oder mit geringfügigen Änderungen geeignet sind.
esphome: | |
name: your-device-name | |
friendly_name: your-device-name | |
on_loop: | |
then: | |
if: | |
condition: | |
- light.is_on: WWAlight | |
then: | |
if: |
<?php | |
use Automattic\WooCommerce\Blocks\Package; | |
/* | |
Plugin Name: Remove WooCommerce patterns | |
Version: 1.0.0 | |
Plugin URI: https://mariecomet.fr/ | |
Description: Remove all WooCommerce patterns | |
Author: Marie Comet | |
Author URI: https://mariecomet.fr/ |
<?php | |
/** | |
* Allow users to add an avatar at checkout for the Basic User Avatars plugin. | |
* | |
* This recipe assumes that you have the Basic User Avatar plugin installed and activated. | |
* @link https://wordpress.org/plugins/basic-user-avatars/ | |
* | |
* This recipe requires a custom user field created with the name basic_user_avatar. | |
* The field should be set to "No" for the display on the profile option for either | |
* the group (Show fields on user profile?) or the field (Show field on user profile?). |
<?php | |
/** | |
* Create a custom anchor link for PMPro Member Directory and Profile field name | |
* | |
* You can add this recipe to your site by creating a custom plugin | |
* or using the Code Snippets plugin available for free in the WordPress repository. | |
* Read this companion article for step-by-step directions on either method. | |
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
*/ |
<?php | |
/** | |
* Remove embeds on the PMPro Member Directory pages. | |
* | |
* You can add this recipe to your site by creating a custom plugin | |
* or using the Code Snippets plugin available for free in the WordPress repository. | |
* Read this companion article for step-by-step directions on either method. | |
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
*/ |
<?php // do not copy this line. | |
/** | |
* This recipe will make your phone a tel: link | |
* | |
* You can add this recipe to your site by creating a custom plugin | |
* or using the Code Snippets plugin available for free in the WordPress repository. | |
* Read this companion article for step-by-step directions on either method. | |
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
*/ |
<?php | |
/** | |
* Make user-submitted website links on Member directory/profile pages open in new tab | |
* Add names of fields with URLs to line 13 | |
* | |
* You can add this recipe to your site by creating a custom plugin | |
* or using the Code Snippets plugin available for free in the WordPress repository. | |
* Read this companion article for step-by-step directions on either method. | |
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
*/ |