Here be dragons. Use with extreme caution.
This script is designed to accept namespaces as a list of arguments and will perform a namespace child resource delete loop before terminating the namespace and any finalizers.
| # Source: https://gist.github.com/baaf4adb25e9efaba886c17a2ad722a5 | |
| ######################################################## | |
| # How To Auto-Scale Kubernetes Clusters With Karpenter # | |
| # https://youtu.be/C-2v7HT-uSA # | |
| ######################################################## | |
| # Referenced videos: | |
| # - Karpenter: https://karpenter.sh | |
| # - GKE Autopilot - Fully Managed Kubernetes Service From Google: https://youtu.be/Zztufl4mFQ4 |
| #!/bin/bash | |
| # create mongodb_exporter.service | |
| cat > /etc/systemd/system/mongodb_exporter.service <<END | |
| [Unit] | |
| Description=mongodb exporter service | |
| After=network.target | |
| [Service] | |
| ExecStart=/usr/local/bin/mongodb_exporter --collect.database --collect.collection --collect.topmetrics --collect.indexusage --mongodb.uri=mongodb+srv://<username>:<password>@<host:port>/?ssl=false |
Reference: https://help.ubuntu.com/community/Oracle%20Instant%20Client
Tested on: Ubuntu 18.04, 20.04
Decide which version of the Oracle client to install
Download the Oracle client packages
| Embbed Desktop começa a integração no SDK do Flutter | |
| 23 de abril de 2019 Jacob Moura | |
| Durante muito tempo o Flutter Embbed Desktop ficou operando de forma totalmente separada do SDK padrão do Flutter, porém a partir da versão 1.5.x o Flutter aplicou várias caracteristicas que diz respeito ao Embbed Desktop, começando a integrar funcionalidades para rodar aplicativos nos computadores. Lembrando que tudo que for falado nesse post é referente ao canal “Master” do Flutter, não aconselhamos o uso desse canal se você não estiver sabendo exatamente o que está fazendo. | |
| Dito isso vamos as caracteristicas: | |
| Testes de Plataforma. | |
| https://i0.wp.com/flutterando.com.br/wp-content/uploads/2019/04/Captura-de-Tela-2019-04-21-a%CC%80s-13.07.12.png?w=354&ssl=1 | |
| Agora podemos testar se o Flutter está sendo rodado no Windows, no Linux ou no Mac. Antes só poderia ser testado em 3, o Android, iOS e o Fuchsia. |
| import 'package:flutter/material.dart'; | |
| import 'package:http/http.dart' as http; | |
| import 'dart:convert'; | |
| main(){ | |
| runApp(new AppName()); | |
| } | |
| class AppName extends StatefulWidget{ | |
| @override | |
| State<StatefulWidget> createState() { |
| version: '2' | |
| services: | |
| mysql: | |
| container_name: bookstack-mysql | |
| restart: unless-stopped | |
| image: mysql:5.7.12 | |
| environment: | |
| - MYSQL_ROOT_PASSWORD=YourRootPassw0rd! | |
| - MYSQL_DATABASE=bookstack |
| // Demonstration video can be found at: https://youtu.be/_gJyK1-NGq8 | |
| // ModifyEC2InstanceType | |
| const AWS = require('aws-sdk'); | |
| exports.handler = (event, context, callback) => { | |
| const { instanceId, instanceRegion, instanceType } = event; | |
| const ec2 = new AWS.EC2({ region: instanceRegion }); |
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv to manually rebuild the font cache