View prop-files-sorter.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BASE_ROM=$1 | |
NEW_ROM=$2 | |
PROP_FILES=$3 | |
TMP=/Users/erfanabdi/Desktop/dep_tmp.txt | |
PROP_FILES_ORG=$PROP_FILES.org | |
cp $PROP_FILES $PROP_FILES_ORG |
View gist:eaebc3bfa4c094b6f022b92f8751d46b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/data/jenkins/rom/rootfs-builder-debos-android9: | |
docker run --rm --interactive --tty --device /dev/kvm --user $(id -u) --group-add kvm --workdir /recipes --mount "type=bind,source=$(pwd),destination=/recipes" --security-opt label=disable godebos/debos -m 5G android9-generic.yaml | |
mv ubuntu-touch-android9-armhf.tar.gz /data/web/build.lolinet.com/public/file/halium/ubport/ | |
/data/jenkins/rom/ubports/halium-install: | |
./halium-install /data/web/build.lolinet.com/public/file/halium/ubport/ubuntu-touch-android9-armhf.tar.gz /data/web/build.lolinet.com/public/file/halium/ubport/system.img | |
/data/jenkins/rom/ubports/ubport_GSI: | |
zip -r9 ubport_GSI.zip * -x .git README.md *placeholder |
View check-kernel-config-anbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FILE=$1 | |
[ -f "$FILE" ] || { | |
echo "Provide a config file as argument" | |
exit | |
} | |
write=false |
View CameraDevice.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2017 The Android Open Source 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 packsparseimg.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/xml" | |
"flag" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"os" | |
"strings" |
View LightsService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* * Copyright (C) 2008 The Android Open Source 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 | |
* distributed under the License is distributed on an "AS IS" BASIS, |
View fetchblobs.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
proptxt="$1" | |
URL="$2" | |
dirdis="$3" | |
while read -r line | |
do | |
[[ $line = \#* ]] && continue | |
[ -z "$line" ] && continue | |
if [[ $line = '-'* ]] |
View getpropfile.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
proptxt="$1" | |
dirsrc="$2" | |
dirdis="$3" | |
while read -r line | |
do | |
[[ $line = \#* ]] && continue | |
[ -z "$line" ] && continue |
View testpropfile.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
proptxt="$1" | |
find="$2" | |
while read -r line | |
do | |
[[ $line = \#* ]] && continue | |
[ -z "$line" ] && continue | |
if [[ $line = '-'* ]] |
NewerOlder