Skip to content

Instantly share code, notes, and snippets.

View itzurabhi's full-sized avatar

Abhishek Sudhakaran itzurabhi

  • KDAB
  • India
View GitHub Profile
{ 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 = [
@itzurabhi
itzurabhi / UB18-Qemu-AARCH64.md
Last active March 26, 2024 06:49
Run Ubuntu 18.04 on Qemu AARCH64 / ARM64

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
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
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
{
"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
[
{
"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
[
{
"id": 0,
"name": "Category 0",
"description": "This is Category 0"
},
{
"id": 1,
"name": "Category 1",
"description": "This is Category 1"