sudo apt install qemu-system-arm qemu-system-mips qemu-efi-aarch64 qemu-kvm qemu-efi cloud-image-utils
dd if=/dev/zero of=flash0.img bs=1M count=64
dd if=/usr/share/qemu-efi/QEMU_EFI.fd of=flash0.img conv=notrunc
{ pkgs ? import <nixpkgs> {} }: | |
with pkgs; | |
let | |
# Define the required packages | |
androidSdk = androidsdk; | |
androidNdk = androidndk; | |
openjdk = adoptopenjdk11; | |
buildToolsVersion = "30.0.3"; |
{ pkgs ? import <nixpkgs> {} }: | |
with pkgs; | |
let | |
goVersion = "1.19"; | |
in | |
mkShell { | |
buildInputs = [ |
set(LLVM_LINK_COMPONENTS | |
Option | |
Support | |
) | |
add_clang_tool(clang-ast-rewrite | |
ClangASTRename.cpp | |
) | |
clang_target_link_libraries(clang-ast-rewrite |
import "dart:async"; | |
class LoginRequest {} | |
class LoginResponse { | |
String code; | |
LoginResponse(this.code); | |
} | |
class LogoutRequest {} |
{ | |
"waiter" : 1, | |
"items" : [ | |
{ | |
"id" : 1, | |
"portion" : 1, | |
"quantity" : 2, | |
"extras" : [ | |
{ | |
"id" : 14, |
[ | |
{ | |
"id": 0, | |
"category": 0, | |
"price": 28, | |
"name": "Item 0 Category 0", | |
"description": "This item belongs to the category 0" | |
}, | |
{ | |
"id": 1, |
[ | |
{ | |
"id": 0, | |
"name": "Category 0", | |
"description": "This is Category 0" | |
}, | |
{ | |
"id": 1, | |
"name": "Category 1", | |
"description": "This is Category 1" |