Skip to content

Instantly share code, notes, and snippets.

View WSL_ArchLinux_DistroD_XOrg.md
View incremental_nuget.csproj
<Target Name="PackIncremental" AfterTargets="Build">
<PropertyGroup>
<!-- if version is greater than MAX_VALUE then version gets reset to 0 -->
<!-- set max value to uint16.MaxValue which is the limit of the assembly metadata format-->
<MAX_VALUE>65534</MAX_VALUE>
</PropertyGroup>
<!-- create file if it does not exist-->
<WriteLinesToFile Condition="!Exists('VERSION_MAJOR.txt')" File="VERSION_MAJOR.txt" Lines="0" Overwrite="true" Encoding="Unicode" />
<WriteLinesToFile Condition="!Exists('VERSION_MINOR.txt')" File="VERSION_MINOR.txt" Lines="0" Overwrite="true" Encoding="Unicode" />
View MotionEventSerializer.cpp
//
// Created by Matthew Good on 7/6/21.
//
#include "MotionEventSerializer.h"
MotionEventSerializer::IndexInfo::IndexInfo() {}
MotionEventSerializer::IndexInfo::IndexInfo(int pointerIndex, int segment_length, int reserved) {
idx_pointerId = (pointerIndex*segment_length)+reserved;
@mgood7123
mgood7123 / $ git checkout -b Total-Control_11; git remote add Total-Control_11 git@github.com:Total-Control-9985android_vendor_samsung_dreamlte.git; git push Total-Control_11 HEAD:Total-Control_11;
Created Apr 22, 2021
$ git checkout -b Total-Control_11; git remote add Total-Control_11 git@github.com:Total-Control-9985/android_vendor_samsung_dreamlte.git; git push Total-Control_11 HEAD:Total-Control_11;
View $ git checkout -b Total-Control_11; git remote add Total-Control_11 git@github.com:Total-Control-9985android_vendor_samsung_dreamlte.git; git push Total-Control_11 HEAD:Total-Control_11;
$ git checkout -b Total-Control_11
Switched to a new branch 'Total-Control_11'
$ git remote add Total-Control_11 git@github.com:Total-Control-9985/android_vendor_samsung_dreamlte.git
$ git push Total-Control_11 HEAD:Total-Control_11
Warning: Permanently added the RSA host key for IP address '13.237.44.5' to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
@mgood7123
mgood7123 / devicesamsungdreamltelineage_dreamlte.mk
Created Apr 22, 2021
device/samsung/dreamlte/lineage_dreamlte.mk
View devicesamsungdreamltelineage_dreamlte.mk
#
# Copyright (C) 2019 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
View $ ls vendor;
$ ls vendor
codeaurora
gapps
havoc
nxp
qcom
samsung
support
@mgood7123
mgood7123 / $ . buildenvsetup.sh; print_lunch_menu; lunch 9;
Created Apr 21, 2021
$ . build/envsetup.sh; print_lunch_menu; lunch 9;
View $ . buildenvsetup.sh; print_lunch_menu; lunch 9;
$ . build/envsetup.sh; print_lunch_menu; lunch 9
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_x86-eng
4. aosp_x86_64-eng
5. arm_krait-eng
@mgood7123
mgood7123 / $ cat devicesamsungdreamlteAndroidProducts.mk; . .buildenvsetup.sh; print_lunch_menu;
Created Apr 21, 2021
$ cat device/samsung/dreamlte/AndroidProducts.mk; . ./build/envsetup.sh; print_lunch_menu;
View $ cat devicesamsungdreamlteAndroidProducts.mk; . .buildenvsetup.sh; print_lunch_menu;
$ cat device/samsung/dreamlte/AndroidProducts.mk
#
# Copyright (C) 2019 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@mgood7123
mgood7123 / $ cat devicesamsungdreamlteAndroidProducts.mk; . .buildenvsetup.sh ; print_lunch_menu;
Created Apr 21, 2021
$ cat device/samsung/dreamlte/AndroidProducts.mk; . ./build/envsetup.sh ; print_lunch_menu;
View $ cat devicesamsungdreamlteAndroidProducts.mk; . .buildenvsetup.sh ; print_lunch_menu;
$ cat device/samsung/dreamlte/AndroidProducts.mk
#
# Copyright (C) 2019 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@mgood7123
mgood7123 / $ cat devicesamsungdreamlteAndroidProducts.mk; ls ; . .buildenv_setup.sh ; lunch;
Created Apr 21, 2021
$ cat device/samsung/dreamlte/AndroidProducts.mk; ls ; . ./build/env_setup.sh ; lunch;
View $ cat devicesamsungdreamlteAndroidProducts.mk; ls ; . .buildenv_setup.sh ; lunch;
$ cat device/samsung/dreamlte/AndroidProducts.mk
#
# Copyright (C) 2019 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#