-
Make sure your cpu support
kvm
with below command:grep -E "(vmx|svm)" --color=always /proc/cpuinfo
-
Make sure BIOS have enable “Virtualization Technology”.
-
User access to
/dev/kvm
so add your account into kvm(78) group:
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
public class AccountAuthenticator extends AbstractAccountAuthenticator { | |
private final Context context; | |
@Inject @ClientId String clientId; | |
@Inject @ClientSecret String clientSecret; | |
@Inject ApiService apiService; | |
public AccountAuthenticator(Context context) { | |
super(context); |
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
#user nobody; | |
#Defines which Linux system user will own and run the Nginx server | |
worker_processes 1; | |
#Referes to single threaded process. Generally set to be equal to the number of CPUs or cores. | |
#error_log logs/error.log; #error_log logs/error.log notice; | |
#Specifies the file where server logs. |
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 android.content.pm.PackageManager; | |
import android.graphics.Bitmap; | |
import android.graphics.Canvas; | |
import android.graphics.Path; | |
import android.graphics.drawable.AdaptiveIconDrawable; | |
import android.graphics.drawable.BitmapDrawable; | |
import android.graphics.drawable.Drawable; | |
import android.graphics.drawable.LayerDrawable; | |
import android.os.Build; |
NOTICE: This will take up about 3 GB of space on your device, before syncing any repos or projects.
Install Termux from the Play Store and launch it
Once it finishes unpacking:
pkg update
pkg upgrade -y
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
package main | |
import ( | |
"fmt" | |
"strings" | |
) | |
func main() { | |
// ! Edit grammar | |
cfg := NewGrammar('S', map[byte]Rule{ |
journalctl --boot --unit wpa_supplicant.service --follow
wpa_supplicant[888]: SSL: SSL3 alert: write (local SSL3 detected an error):fatal:protocol version
wpa_supplicant[888]: OpenSSL: openssl_handshake - SSL_connect error:0A000102:SSL routines::unsupported protocol
That may indicate that the network you're trying to connect to, requires some very old protocols.
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
#!/bin/bash | |
set -x | |
# TODO: Update this strings with the actual values for your speakers | |
# TODO: Remember to also adjust the volumes to balance them (depending on their power and their distance from your location) | |
SPEAKER_1_NAME=$(pactl list sinks | grep Name | grep -Eo 'alsa_output\.pci-.+hdmi-stereo') | |
SPEAKER_1_VOLUME=85% | |
SPEAKER_2_NAME=$(pactl list sinks | grep Name | grep -Eo 'alsa_output\.pci-.+analog-stereo') | |
SPEAKER_2_VOLUME=100% | |
COMPOSITE_SPEAKER_NAME=Dual_Monitor |