This file contains hidden or 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
{ | |
.mode = { | |
.name = "2560x1440p@60Hz", | |
.refresh = 60, | |
.xres = 2560, | |
.yres = 1440, | |
.pixclock = 241699200, | |
.left_margin = 80, | |
.right_margin = 48, | |
.upper_margin = 33, |
This file contains hidden or 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
# platform/art art | |
# -- platform/bionic bionic 只是增加了kernel header | |
# -- platform/bootable/recovery bootable/recovery | |
# platform/build build | |
# platform/external/bluetooth/bluedroid external/bluetooth/bluedroid | |
# platform/external/busybox external/busybox | |
# platform/external/chromium_org external/chromium_org | |
# platform/external/e2fsprogs external/e2fsprogs | |
# platform/external/libselinux external/libselinux | |
# platform/external/ppp external/ppp |
This file contains hidden or 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
kernel.img: zImage | |
$(Q)$(srctree)/mkkrnlimg $(objtree)/arch/arm/boot/zImage $(objtree)/kernel.img >/dev/null | |
@echo ' Image: kernel.img is ready' | |
%_kernel.img: %.dtb zImage | |
$(Q)cat $(objtree)/arch/arm/boot/zImage $(objtree)/arch/arm/boot/dts/$*.dtb > $(objtree)/zImage-dtb && \ | |
$(srctree)/mkkrnlimg $(objtree)/zImage-dtb $(objtree)/kernel.img >/dev/null && \ | |
rm -f $(objtree)/zImage-dtb | |
@echo ' Image: kernel.img (with $*.dtb) is ready' |
This file contains hidden or 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 | |
set -e | |
cat rk | while read line; do | |
echo $line | while read repo path; do | |
if [[ ! $repo =~ ^platform ]]; then | |
continue | |
fi | |
project="android_$(echo $path | sed 's/\//_/g')" |
This file contains hidden or 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
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:2.2.3' | |
} | |
} |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<manifest> | |
<project name="xingrz/android_device_zte_nx503a" path="device/zte/nx503a" remote="github" revision="cm-13.0" /> | |
<project name="xingrz/android_kernel_zte_nx503a" path="kernel/zte/nx503a" remote="github" revision="cm-13.0" /> | |
<project name="xingrz/android_vendor_zte_nx503a" path="vendor/zte/nx503a" remote="github" revision="cm-13.0" /> | |
</manifest> |
This file contains hidden or 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
--------- beginning of crash | |
05-12 10:52:53.051 12136 12136 F libc : page record for 0xb6f9900c was not found (block_size=64) | |
--------- beginning of main | |
05-12 10:52:54.865 8345 8345 D wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL' | |
05-12 10:52:54.896 8345 8345 D wpa_supplicant: CTRL-DEBUG: global_ctrl_sock-sendto: sock=11 sndbuf=163840 outq=0 send_len=48 | |
05-12 10:52:57.901 8345 8345 D wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL' | |
05-12 10:52:57.926 8345 8345 D wpa_supplicant: CTRL-DEBUG: global_ctrl_sock-sendto: sock=11 sndbuf=163840 outq=0 send_len=48 | |
05-12 10:52:58.076 12155 12155 F libc : page record for 0xb6e9e00c was not found (block_size=64) | |
05-12 10:52:58.084 12154 12154 F libc : page record for 0xb6f5a00c was not found (block_size=64) | |
--------- beginning of system |
This file contains hidden or 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
local rs = require("component").redstone | |
local digital = {} | |
function digital.on(side, port) | |
return rs.getBundledInput(side, port) > 0x00 | |
end | |
function digital.set(side, port, on) | |
if (on) then |
This file contains hidden or 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
echo " " | |
echo " \e[1;37m\e[41mFBI WARNING\e[0m\e[0;37m " | |
echo " " | |
echo " Federal Law provides severe civil and criminal penalties for " | |
echo " the unauthorized reproduction, distribution, or exhibition of " | |
echo " copyrighted motion pictures (Title 17, United States Code, " | |
echo " Sections 501 and 508). The Federal Bureau of Investigation " | |
echo " investigates allegations of criminal copyright infringement " | |
echo " (Title 17, United States Code, Section 506). " | |
echo " \e[0m" |
This file contains hidden or 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
public class RecyclerViewBindingHolder<V extends ViewDataBinding> extends RecyclerView.ViewHolder { | |
public final V binding; | |
public RecyclerViewBindingHolder(V binding) { | |
super(binding.getRoot()); | |
this.binding = binding; | |
} | |
} |