This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.
Step 1 - Enable NBD on the Host
modprobe nbd max_part=8
import UIKit | |
final class CustomIntensityVisualEffectView: UIVisualEffectView { | |
/// Create visual effect view with given effect and its intensity | |
/// | |
/// - Parameters: | |
/// - effect: visual effect, eg UIBlurEffect(style: .dark) | |
/// - intensity: custom intensity from 0.0 (no effect) to 1.0 (full effect) using linear scale | |
init(effect: UIVisualEffect, intensity: CGFloat) { | |
theEffect = effect |
-ea | |
-server | |
-Xms512m | |
-Xmx2g | |
-XX:ParallelGCThreads=8 | |
-XX:PermSize=350m | |
-XX:MaxPermSize=350m | |
-XX:ReservedCodeCacheSize=240m | |
-XX:LargePageSizeInBytes=256m | |
-XX:+UseConcMarkSweepGC |
David Fowler 🇧🇧🇺🇸💉💉💉 on Twitter: "If you are queuing background jobs/work items today in your .NET applications, how are you doing it and what are you using it for? #dotnet #aspnetcore" / Twitter | |
https://twitter.com/davidfowl/status/1442566223099666436 | |
Background tasks with hosted services in ASP.NET Core | Microsoft Docs | |
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/host/hosted-services?view=aspnetcore-6.0&tabs=visual-studio | |
Messaging that just works — RabbitMQ | |
https://www.rabbitmq.com/ | |
.NET/C# Client API Guide — RabbitMQ |
English manual for the ZUOYA GMK67 Mechanical Keyboard. Made from the printed version (Original).
Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.
NOTE: This logic can be extended to more than two accounts also. :)
The setup can be done in 5 easy steps:
package main | |
import ( | |
"database/sql" | |
"fmt" | |
"log" | |
"math/rand" | |
"sync" | |
"time" |
package main | |
import ( | |
"database/sql" | |
"fmt" | |
"log" | |
"math/rand" | |
"sync" | |
"time" |