This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: netbox | |
--- | |
apiVersion: helm.cattle.io/v1 | |
kind: HelmChart | |
metadata: | |
name: netbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ # Use Live CD to boot | |
$ sudo su # Switch to root | |
$ fdisk -l # Get names of root, boot & EFI partition names. you can also use blkid | |
$ # http://dadadom.de/2020/04/11/fix-fedora-uefi-boot-with-encrypted-partitions/ | |
$ udiskctl unlock -b /dev/nvme0n1p6 # unlock root luks partition | |
$ mount /dev/mapper/fedora_fedora-root /mnt # mount root partition | |
$ mount /dev/mapper/fedora_fedora-var /mnt/var | |
$ mount /dev/nvme0n1p5 /mnt/boot # mount boot partition |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wed Feb 17 19:35:51 UTC 2021 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$progressBar = $this->output->createProgressBar(count($users)); | |
$progressBar->setEmptyBarCharacter(' '); | |
$progressBar->setProgressCharacter('>'); | |
$progressBar->setBarCharacter('-'); | |
$progressBar->start(); | |
foreach ($users as $user) { | |
$this->performTask($user); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
IF(`user_id`="1",`user_id`,`friend_id`) AS `user_id`, | |
IF(`user_id`="1",`friend_id`,`user_id`) AS `friend_id`, | |
`user_id` AS `source_id` | |
FROM | |
friends | |
WHERE | |
`user_id`="1" | |
OR | |
`friend_id`="1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AddDefaultCharset utf-8 |