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
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatefulWidget { | |
@override | |
State<StatefulWidget> createState() { | |
return _MyAppState(); | |
} |
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
#This script will create a folder kernel_compare and download the first kernel in `kernel`, commit it, then download the second kernel on `kernel` also, and commit | |
mkdir kernel_compare | |
cd kernel_compare | |
mkdir kernel | |
wget -O android-mainline.tar.gz https://android.googlesource.com/kernel/common/+archive/refs/heads/android-4.14-stable.tar.gz | |
tar xvzf android-mainline.tar.gz -C kernel | |
rm android-mainline.tar.gz |
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
import 'package:flutter/material.dart'; | |
final Color darkBlue = const Color.fromARGB(255, 18, 32, 47); | |
const double COLUMN_WIDTH = 150; | |
const double COLUMN_WIDTH_EXPANDED = COLUMN_WIDTH; | |
const double COLUMN_WIDTH_TOTAL_EXPANDED = COLUMN_WIDTH + COLUMN_WIDTH_EXPANDED; | |
void main() { | |
runApp(MyApp()); |
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
import 'package:flutter/material.dart'; | |
final Color darkBlue = const Color.fromARGB(255, 18, 32, 47); | |
const double COLUMN_WIDTH = 150; | |
const double COLUMN_WIDTH_EXPANDED = COLUMN_WIDTH; | |
const double COLUMN_WIDTH_TOTAL_EXPANDED = COLUMN_WIDTH + COLUMN_WIDTH_EXPANDED; | |
void main() { | |
runApp(MyApp()); |
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
import 'package:flutter/material.dart'; | |
final Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
const double COLUMN_WIDTH = 150; | |
const double COLUMN_WIDTH_EXPANDED = COLUMN_WIDTH; | |
const double COLUMN_WIDTH_TOTAL_EXPANDED = | |
COLUMN_WIDTH + COLUMN_WIDTH_EXPANDED; | |
void main() { |
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
import 'package:flutter/material.dart'; | |
final Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
const double COLUMN_WIDTH = 150; | |
const double COLUMN_WIDTH_EXPANDED = COLUMN_WIDTH; | |
const double COLUMN_WIDTH_TOTAL_EXPANDED = | |
COLUMN_WIDTH + COLUMN_WIDTH_EXPANDED; | |
void main() { |
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
https://github.com/qemu/qemu/blob/stable-4.2/vl.c#L3912 | |
https://github.com/qemu/qemu/blob/stable-4.2/exec.c#L3402 | |
https://github.com/qemu/qemu/blob/stable-4.2/exec.c#L2957 | |
https://github.com/qemu/qemu/blob/stable-4.2/memory.c#L1152 |
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
Yubikey: | |
sudo apt install -y scdaemon pcscd | |
#put on .bashrc: | |
export GPG_TTY="$(tty)" | |
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh" | |
gpg-connect-agent updatestartuptty /bye > /dev/null |
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
sudo mount -o remount,size=2g tmpfs /dev/shm |
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
sudo chmod -R u=rwX,g=rX,o=rX . | |
sudo chown -R $USER:$USER * |