Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<refs>
<image name="AUDIO.LA.8.0.R1" project="techpack/audio/manifest" server="https://git.codelinaro.org/clo/la" tag="AU_TECHPACK_AUDIO.LA.8.0.R1.00.00.00.000.062" targets="dummy"/>
<image name="CAMERA.LA.3.0.R1" project="techpack/camera/manifest" server="https://git.codelinaro.org/clo/la" tag="AU_TECHPACK_CAMERA.LA.3.0.R1.00.00.00.000.044" targets="dummy"/>
<image name="CV.LA.1.0.R1" project="techpack/cv/manifest" server="https://git.codelinaro.org/clo/la" tag="AU_TECHPACK_CV.LA.1.0.R1.00.00.00.000.030" targets="dummy"/>
<image name="DISPLAY.LA.3.0.R1" project="techpack/display/manifest" server="https://git.codelinaro.org/clo/la" tag="AU_TECHPACK_DISPLAY.LA.3.0.R1.00.00.00.000.085" targets="dummy"/>
<image name="GRAPHICS.LA.1.0.R1" project="techpack/graphics/manifest" server="https://git.codelinaro.org/clo/la" tag="AU_TECHPACK_GRAPHICS.LA.1.0.R1.00.00.00.000.043" targets="dummy"/>
<image name="KERNEL.PLATFORM.2.0.R1" project="kernel
@488315
488315 / gist:228d5325462c0067e4e3e4dbcf7209a3
Created September 13, 2023 00:04 — forked from jtdp/gist:5443498
Revert file permission changes in local git repository.. Very useful when you change permissions due to working on a samba share. Lifted from: http://stackoverflow.com/questions/2517339/git-how-to-recover-the-file-permissions-git-thinks-the-file-should-be
git diff -p \
| grep -E '^(diff|old mode|new mode)' \
| sed -e 's/^old/NEW/;s/^new/old/;s/^NEW/new/' \
| git apply
@488315
488315 / README.md
Created January 1, 2023 09:10 — forked from SebaUbuntu/README.md
Generate framework compatibility matrix from fqnames

Generate framework compatibility matrix from fqnames

  • Download these 2 files
  • Compile AOSP without fcm from stock and wait for check_vintf to error out
  • Delete Python prefix from all lines (e.g. checkvintf E 06-24 00:30:22 49120 49120 check_vintf.cpp:554])
  • Paste the result in fqnames.txt
  • Launch the script
@488315
488315 / logcat.log
Created December 21, 2022 02:07
karnak_keystore_issue
12-21 01:41:53.495 241 241 I keystore2: keystore2::authorization: on_lock_screen_event(LockScreenEvent(0), user_id=0, password.is_some()=false, unlocking_sids=Some([]))
12-21 01:41:53.496 241 241 E keystore2: keystore2::authorization: Error {
12-21 01:41:53.496 241 241 E keystore2: context: "In on_lock_screen_event: Unlock.",
12-21 01:41:53.496 241 241 E keystore2: source: Error {
12-21 01:41:53.496 241 241 E keystore2: context: "In check_keystore_permission: Cannot check permission without calling_sid.",
12-21 01:41:53.496 241 241 E keystore2: source: Rc(
12-21 01:41:53.496 241 241 E keystore2: ResponseCode(
12-21 01:41:53.496 241 241 E keystore2: 4,
12-21 01:41:53.496 241 241 E keystore2: ),
12-21 01:41:53.496 241 241 E keystore2: ),
#!/bin/sh
## configuration variables:
VLAN=5
IPV4_IP="10.0.7.3"
# This is the IP address of the container. You may want to set it to match
# your own network structure such as 192.168.5.3 or similar.
IPV4_GW="10.0.7.1/24"
# As above, this should match the gateway of the VLAN for the container
# network as above which is usually the .1/24 range of the IPV4_IP
#!/bin/bash
echo "Disabling swap...."
sudo swapoff -a
sudo sed -i.bak '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab
echo "Installing necessary dependencies...."
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y
echo "Setting up hostname...."
sudo hostnamectl set-hostname "k8s-master"
PUBLIC_IP_ADDRESS=`hostname -I|cut -d" " -f 1`
sudo echo "${PUBLIC_IP_ADDRESS} k8s-master" >> /etc/hosts
Set-ExecutionPolicy Unrestricted -force
Install-Module PSWindowsUpdate
AddWUServiceManager -MicrosoftUpdate
Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot
<?xml version="1.0" encoding="utf-8"?>
<LayoutModificationTemplate
xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification"
xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout"
xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout"
xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout"
Version="1">
<LayoutOptions StartTileGroupsColumnCount="2" />
<DefaultLayoutOverride>
<StartLayoutCollection>
@488315
488315 / grub
Created February 14, 2021 10:42
grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="udev.log_priority=3"
GRUB_CMDLINE_LINUX=""
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
@488315
488315 / myzsh
Created February 14, 2021 10:07
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH