Log for
OwO
他们是port rom的,并不是写rom的,所以能力有限
教不了
在坐bas回家
沒有line (sarawak可憐的孩子)
还有一个强大的功能就是status bar,拖着他左右移动调整屏幕亮度
还有一个强大的功能就是status bar,拖着他左右移动调整屏幕亮度
忘了,还有一个就是s7edge默认指纹解锁是要按下home btn wake device后才会扫描指纹,但是此rom只需在lock screen的时候,手指轻轻放在homebtn就解锁了,非常神奇
忘了,还有一个就是s7edge默认指纹解锁是要按下home btn wake device后才会扫描指纹,但是此rom只需在lock screen的时候,手指轻轻放在homebtn就解锁了,非常神奇
你現在是把這裡當 Facebook Timeline 就是了
你現在是把這裡當 Facebook Timeline 就是了
不過 CM 不是改叫 LineageOS 了 (重點是這個嗎
不過 CM 不是改叫 LineageOS 了 (重點是這個嗎
开发Android rom好复杂,快哭了刚刚研究了一下device tree😭
CM 牺牲了自己,12月25日正式退出,有lineage os继续
記得是CM變公司但是商業化失敗,所以變成LineageOS承接
如果Lineage OS死了,Android就GG惹
如果我輸入 owo/ouo/oao/omo 我要如何取得owo , ouo , oao , omo這幾個值呢?
在Linux上可以用awk,或用perl的正規表示式抓
Nodejs可以call out 嗎?像Perl可以:system("sed s/mode/node/g xx.txt")這樣呼叫系統的sed指令
Language:
js
Source:
console.log('q/q/a/w/q'.split('/'))Result:
[ 'q', 'q', 'a', 'w', 'q' ]
childprocess (?
sed 用內建函數就能做到了
Node.js 一定有像是 exec 類的指令吧。
require('child_process').exec
Language:
c
Source:
"echo 'hello';"
Errors:
source_file.c:1:1: error: expected identifier or ‘(’ before string constant
"echo 'hello';"
^
Language:
c
Source:
'int a; a=5; printf a;
'
Errors:
source_file.c:1:1: warning: missing terminating ' character
'int a; a=5; printf a;
^
source_file.c:1:1: error: missing terminating ' character
source_file.c:2:1: warning: missing terminating ' character
'
^
source_file.c:2:1: error: missing terminating ' character
Language:
c
Source:
int a=5; printf("a=%d",a);Errors:
source_file.c:1:17: error: expected declaration specifiers or ‘...’ before string constant
int a=5; printf("a=%d",a);
^
source_file.c:1:24: error: expected declaration specifiers or ‘...’ before ‘a’
int a=5; printf("a=%d",a);
^
Language:
perl
Source:
printf "test";
Result:
test
Language:
vb.net
Source:
Console.write("a")Errors:
(1:0) Declaration expected.
Language:
c++
Source:
#include <iostream>
#include <malloc.h>
int main(void) {
while(malloc(100000)) {
std::cout << ".";
}
return 0;
}Result:
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Language:
javascript
Source:
var a = require('net');
net.connect('8.8.8.8');Errors:
source_file.js:2
net.connect('8.8.8.8');
^
ReferenceError: net is not defined
at Object.<anonymous> (source_file.js:2:1)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
Language:
js
Source:
var net = require('net');
net.connect('web.do.mmis1000.me', 80);
net.write('')Errors:
source_file.js:3
net.write('')
^
TypeError: net.write is not a function
at Object.<anonymous> (source_file.js:3:5)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
Language:
js
Source:
var net = require('net');
var socket = net.connect('web.do.mmis1000.me', 80);
socket.write('HTTP/1.1 GET /\r\n\r\n')Errors:
events.js:141
throw er; // Unhandled 'error' event
^
Error: connect ENOENT web.do.mmis1000.me
at Object.exports._errnoException (util.js:870:11)
at exports._exceptionWithHostPort (util.js:893:20)
at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1063:14)
Language:
js
Source:
while (true) {
Buffer.alloc(10 * 1000 * 1000).fill('1')
}Errors:
source_file.js:2
Buffer.alloc(10 * 1000 * 1000).fill('1')
^
TypeError: Buffer.alloc is not a function
at Object.<anonymous> (source_file.js:2:10)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
Language:
js
Source:
while (true) {
(new Buffer(10 * 1000 * 1000)).fill('1')
}Errors:
Kill signal (SIGKILL)
Language:
js
Source:
while (true) {
(new Buffer(1 * 1000 * 1000)).fill('1');
process.stdout.write('[]')
}Errors:
buffer.js:23
const ui8 = new Uint8Array(size);
^
RangeError: Invalid array buffer length
at new ArrayBuffer (native)
at new Uint8Array (native)
at createBuffer (buffer.js:23:15)
at allocate (buffer.js:98:12)
at new Buffer (buffer.js:53:12)
at Object.<anonymous> (source_file.js:2:4)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)Result:
[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]