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
mkdir source | |
mkdir bin | |
# clone source | |
cd source | |
git clone --branch android-4.3_r3 https://android.googlesource.com/platform/external/libselinux | |
git clone --branch android-4.3_r3 https://android.googlesource.com/platform/system/core | |
git clone --branch android-4.3_r3 https://android.googlesource.com/platform/external/zlib | |
git clone --branch android-4.3_r3 https://android.googlesource.com/platform/system/extras |
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
======= Debug Command Listing ======= | |
AT just answer OK | |
ATHE print help | |
ATBAx change baudrate. 1:38.4k, 2:19.2k, 3:9.6k 4:57.6k 5:115.2k | |
ATENx,(y) set BootExtension Debug Flag (y=password) | |
ATSE show the seed of password generator | |
ATTI(h,m,s) change system time to hour:min:sec or show current time | |
ATDA(y,m,d) change system date to year/month/day or show current date | |
ATDS dump RAS stack | |
ATDT dump Boot Module Common Area |
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 | |
# Install depot_tools | |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git /opt/depot_tools --depth=1 | |
export PATH=/opt/depot_tools:"$PATH" | |
# Cloning Chromium source | |
mkdir chromium | |
cd chromium | |
fetch --nohooks android |
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 | |
find a/ -type f -print | while read f | |
do | |
mv "$f" "$(sed 's/[^0-9A-Za-z_./()- ]/_/g' <<< "$f")" | |
done |
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
展⸮ѱ SomeWhere City Some Co. Ltd Open Source ^Q^ |
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 | |
# CHANGE THESE | |
auth_email="user@example.com" | |
auth_key="c2547eb745079dac9320b638f5e225cf483cc5cfdda41" # found in cloudflare account settings | |
zone_name="example.com" | |
record_name="www.example.com" | |
# MAYBE CHANGE THESE | |
ip=$(curl --interface eth0 -s http://ipv4.icanhazip.com) |
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 | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
# | |
WP_OWNER=www-data # <-- wordpress owner | |
WP_GROUP=www-data # <-- wordpress group | |
WP_ROOT=$1 # <-- wordpress root directory |
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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm 4.20.0 Kernel Configuration | |
# | |
# | |
# Compiler: arm-none-eabi-gcc (Arch Repository) 8.2.0 | |
# | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=80200 |
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
set OPENSSL_CONF=D:\Program Files\OpenSSL-Win64\bin\openssl.cfg | |
set PATH=D:\Program Files\OpenSSL-Win64\bin | |
echo "%1" | |
openssl pkcs12 -in "%1" -nocerts -nodes -out "FINAL_key.pem" | |
openssl rsa -in "FINAL_key.pem" -outform PVK -pvk-strong -out "FINAL.pvk" | |
openssl pkcs12 -in "%1" -nokeys -nodes -out "FINAL_cert.pem" | |
openssl crl2pkcs7 -nocrl -certfile "FINAL_cert.pem" -outform DER -out "FINAL.spc" | |
del "FINAL_key.pem" |
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
mat_mipmaptextures 0 | |
cl_detailfade 0 | |
cl_detaildist 0 | |
r_drawdetailprops 0 | |
mp_decals 0 | |
r_decals 0 | |
cl_phys_props_enable 0 | |
cl_phys_props_max 0 | |
props_break_max_pieces 0 |
OlderNewer