Skip to content

Instantly share code, notes, and snippets.

Avatar

Abhishek Sudhakaran itzurabhi

  • Blackfig Technologies
  • India
View GitHub Profile
@itzurabhi
itzurabhi / UB18-Qemu-AARCH64.md
Last active January 16, 2023 10:01
Run Ubuntu 18.04 on Qemu AARCH64 / ARM64
View UB18-Qemu-AARCH64.md

Install the dependecies

sudo apt install qemu-system-arm qemu-system-mips qemu-efi-aarch64 qemu-kvm qemu-efi cloud-image-utils

Prepare the EFI partition

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
@itzurabhi
itzurabhi / CMakeLists.txt
Last active June 22, 2020 08:43
Clang AST Rewrite
View CMakeLists.txt
set(LLVM_LINK_COMPONENTS
Option
Support
)
add_clang_tool(clang-ast-rewrite
ClangASTRename.cpp
)
clang_target_link_libraries(clang-ast-rewrite
@itzurabhi
itzurabhi / main.dart
Last active November 5, 2019 10:10
Dart Interface Based Mocking
View main.dart
import "dart:async";
class LoginRequest {}
class LoginResponse {
String code;
LoginResponse(this.code);
}
class LogoutRequest {}
@itzurabhi
itzurabhi / order.json
Created May 12, 2017 05:02
Order Post Structure
View order.json
{
"waiter" : 1,
"items" : [
{
"id" : 1,
"portion" : 1,
"quantity" : 2,
"extras" : [
{
"id" : 14,
@itzurabhi
itzurabhi / items.json
Last active March 15, 2017 05:21
Items from category for android test
View items.json
[
{
"id": 0,
"category": 0,
"price": 28,
"name": "Item 0 Category 0",
"description": "This item belongs to the category 0"
},
{
"id": 1,
@itzurabhi
itzurabhi / categories.json
Created March 15, 2017 04:44
Categories for Android Test
View categories.json
[
{
"id": 0,
"name": "Category 0",
"description": "This is Category 0"
},
{
"id": 1,
"name": "Category 1",
"description": "This is Category 1"