Jump to...
redirecting...

Log for OwO

頭香((( #換日線
意思是說不是 device tree 的問題吧
他们是port rom的,并不是写rom的,所以能力有限
真棒,拿到root了
寫個script丟init就好了那麼麻煩
教我😭
教不了
在坐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打广告
被发现了,我在为cm打广告
被发现了,我在为cm打广告
被发现了,我在为cm打广告
不過 CM 不是改叫 LineageOS 了 (重點是這個嗎
不過 CM 不是改叫 LineageOS 了 (重點是這個嗎
开发Android rom好复杂,快哭了刚刚研究了一下device tree😭
CM 牺牲了自己,12月25日正式退出,有lineage os继续
说到最后CM很可怜
記得是CM變公司但是商業化失敗,所以變成LineageOS承接
是這樣啊 ' A')
如果Lineage OS死了,Android就GG惹
AOSP
還以為原本是商業 + 社群的結構
原來是社群轉商業啊
等,lineage os继承cm的目的何在
CyanogenMod ≠ CyanogenOS
如果我輸入 owo/ouo/oao/omo 我要如何取得owo , ouo , oao , omo這幾個值呢?
就是...可以分開取得/中間的值這樣
在Linux上可以用awk,或用perl的正規表示式抓
阿...少說了平台是Nodejs
不過我要查一下語法(好容易忘qq)
Nodejs可以call out 嗎?像Perl可以:system("sed s/mode/node/g xx.txt")這樣呼叫系統的sed指令
.split('/')
(查詢資料中
Language:
js


Source:
console.log('q/q/a/w/q'.split('/'))


Result:
[ 'q', 'q', 'a', 'w', 'q' ]
childprocess (?
sed 用內建函數就能做到了
Node.js 一定有像是 exec 類的指令吧。
連 PHP 都有了。
🌚👉 對吧
這隻好噁爛 @rextester_bot
eval
(?
還是你指的是shell command
那是執行 JavaScript 吧喂w
/js@mmis_js_bot var ouo = "Hello/World!"
console.log(ouo.split(/))
shell
怎麼執行?
🌚👉
/js@mmis_js_bot var ouo = "Hello/World!"
console.log(ouo.split("/"))
create process
你的引號
這麼嗨喔
打了才發現(X
require('child_process').exec
🤔 喔~
靠杯wwwww
wwwwww
split('/')[0](?
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
\OwO/
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:
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
這樣我大概知道bot有多少RAM誒(
bot是在哪邊compile code?
某台我們不知道的機器上
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)
child_process.exec(
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:
[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
這什麼 怕
google rextester🌝
線上編譯 太強
說穿了技術不值錢,貴的是機器成本
要做到這種功能,其實並不難
真正難做的是介面