Table of Contents
This file contains hidden or 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
| # This isn't meant to be ran as a script, but line-by-line | |
| # Props to Binary (benary.org) for helping me with this | |
| # 0: Create a Scaleway instance and SSH into it | |
| ssh root@... | |
| # 1: Install Nix | |
| adduser user # set a password, doesn't matter what because it's not staying long | |
| adduser user sudo | |
| su -l user |
This file contains hidden or 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
| systemd = { | |
| services = { | |
| "macchanger-wireless" = { | |
| description = "Changes MAC of my wireless interface for privacy reasons"; | |
| wants = [ "network-pre.target" ]; | |
| wantedBy = [ "multi-user.target" ]; | |
| before = [ "network-pre.target" ]; | |
| bindsTo = [ "sys-subsystem-net-devices-wlp3s0.device" ]; | |
| after = [ "sys-subsystem-net-devices-wlp3s0.device" ]; | |
| script = '' |
This file contains hidden or 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
| #cloud-config | |
| # Set the hostname for this machine (takes precedence over hostname assigned by DHCP lease). | |
| hostname: myhost | |
| # Authorize SSH keys for the `rancher` sudoer user | |
| ssh_authorized_keys: | |
| - ssh-rsa AAA...ZZZ example1@rancher | |
This file contains hidden or 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
| version: "3.2" | |
| services: | |
| zk: | |
| image: confluentinc/cp-zookeeper:5.1.0 | |
| hostname: zk | |
| container_name: zk | |
| restart: unless-stopped | |
| ports: | |
| - "2181:2181" | |
| environment: |
This file contains hidden or 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
| # I used this shell.nix to build LineageOS 13.0 for my maguro (Samsung Galaxy Nexus GSM) phone | |
| # The build instructions for normal Linuxes are here: https://wiki.lineageos.org/devices/maguro/build | |
| # For NixOS, follow those instructions but skip anything related to installing packages | |
| # Detailed instructions: | |
| # cd into an empty directory of your choice | |
| # copy this file there | |
| # in nix-shell: | |
| # $ repo init -u https://github.com/LineageOS/android.git -b cm-13.0 | |
| # $ repo sync | |
| # $ source build/envsetup.sh |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # To run this script you need to install https://rclone.org/ first | |
| # Use current date and time for future backup folder name | |
| TIMESTAMP=$(date +"%Y-%m-%d_%H-%M-%S") | |
| # Declare the directory where the temporary backup files will be stored | |
| BACKUP_DIR="/backup/$TIMESTAMP/mysql" | |
| # State the username for your MySQL / MariaDB instace that can access the neccessary databases | |
| MYSQL_USER="" | |
| # Point this script to mysql executable file | |
| MYSQL=/usr/bin/mysql |
This is an initiative to create an overview of the issues found with the Creality CR-6 SE.
As of this writing (2020-09-19) the large number of the motherboard issues have not been publicly acknowledged. Hopefully this overview forces Creality to acknowledge the issues with the Creality CR-6 SE leveling free 3d printer.
According to Creality all issues should be resolved in the newer models:
Here are the improvements we did as below:
This file contains hidden or 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
| import * as cdk from '@aws-cdk/core'; | |
| import * as ec2 from '@aws-cdk/aws-ec2'; // import ec2 library | |
| import * as iam from '@aws-cdk/aws-iam'; | |
| import * as elbv2 from '@aws-cdk/aws-elasticloadbalancingv2'; | |
| import * as elbvtargets from '@aws-cdk/aws-elasticloadbalancingv2-targets'; | |
| import * as ssm from '@aws-cdk/aws-ssm'; | |
| import * as kms from '@aws-cdk/aws-kms'; | |
| export class InfraCdkappMysqlStack extends cdk.Stack { |
This file contains hidden or 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
| # Source: https://gist.github.com/f11e690295311d8d7dd53b5128bd6d3e | |
| ##################################### | |
| # Tekton vs. Argo Workflows # | |
| # Kubernetes-Native CI/CD Pipelines # | |
| # https://youtu.be/dAUpAq7hfeA # | |
| ##################################### | |
| # Referenced videos: | |
| # - Tekton - Kubernetes Cloud-Native CI/CD Pipelines And Workflows: https://youtu.be/7mvrpxz_BfE |