duangsuse::Echo
大佬 冰冰据说现在在 Sourcebrella 工作,难怪会参加那些啥啥 conf
我中华居然有开发开发工具的公司,我以为都是用外国进口/开源工具的
Forwarded from RustPlayBot
source code:fn main() {
use std::proc::{Command, Stdio};
let child = Command::new("uptime")
.stdout(Stdio::piped())
.spawn()
.expect("::");
let output = child.waitwithoutput().expect(":");
println!(
"{}",
String::fromutf8(output.stdout).unwrapor(String::from("bad utf8"))
);
}
Rustc output:error: expected identifier, found reserved keyword
proc--> /tmp/rusteval/83c11842-a919-11e7-83ea-6be6f37c0aaf:3:14
|
3 | use std::proc::{Command, Stdio};
| ^^^^
error: aborting due to previous error
Program output:(Bad program,see Rustc output)
Forwarded from RustPlayBot
source code:fn main() {
use std::process::{Command, Stdio};
let child = Command::new("uptime")
.stdout(Stdio::piped())
.spawn()
.expect("::");
let output = child.waitwithoutput().expect(":");
println!(
"{}",
String::fromutf8(output.stdout).unwrapor(String::from("bad utf8"))
);
}
Rustc output:Program output:11:35:03 up 46 days, 20:03, 0 users, load average: 0.14, 0.09, 0.02
Forwarded from PyPlayBot
This is PythonPlayBot 0.0.8 ,Python versions:
Py3:Python 3.5.2,
Py2:Python 2.7.12,
IPy:2.4.1
Py3:Python 3.5.2,
Py2:Python 2.7.12,
IPy:2.4.1
Forwarded from PyPlayBot
source code:print ( "put some code... ʕ•̀ω•́ʔ✧" )
Python output:put some code... ʕ•̀ω•́ʔ✧
Forwarded from PyPlayBot
source code:import urllib.request
import string
print(urllib.request.urlopen("http://67.218.150.15/").read().decode())
Python output:空谈误国,实干兴邦。 --习近平
Forwarded from PyPlayBot
source code:import sys
for y in range(16):
for x in range(16):
if ((y==2 and x==4) or (y==3 and (x >1 and x <14)) or (y==4 and x==4) or ((y==2 or y==4) and x==11) or (y==7 and (x > 3 and x < 11)) or (x==11 and (y > 6 and y < 14)) or (y==9 and (x > 4and x < 8)) or (y==11 and (x > 4and x < 8)) or (y==10 and (x==5 or x==7)) or (x==10 and y==13) or (x==9 and y==12) or (x==6 and y==5) or (x==5 and y==6) or (x==3 and y==8)):
sys.stdout.write("⬛️")
else:
if (x==y):
sys.stdout.write("⛔️")
else:
sys.stdout.write("🐸")
print("")
Python output:⛔️🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸
🐸⛔️🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸
🐸🐸⛔️🐸⬛️🐸🐸🐸🐸🐸🐸⬛️🐸🐸🐸🐸
🐸🐸⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️🐸🐸
🐸🐸🐸🐸⬛️🐸🐸🐸🐸🐸🐸⬛️🐸🐸🐸🐸
🐸🐸🐸🐸🐸⛔️⬛️🐸🐸🐸🐸🐸🐸🐸🐸🐸
🐸🐸🐸🐸🐸⬛️⛔️🐸🐸🐸🐸🐸🐸🐸🐸🐸
🐸🐸🐸🐸⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️🐸🐸🐸🐸
🐸🐸🐸⬛️🐸🐸🐸🐸⛔️🐸🐸⬛️🐸🐸🐸🐸
🐸🐸🐸🐸🐸⬛️⬛️⬛️🐸⛔️🐸⬛️🐸🐸🐸🐸
🐸🐸🐸🐸🐸⬛️🐸⬛️🐸🐸⛔️⬛️🐸🐸🐸🐸
🐸🐸🐸🐸🐸⬛️⬛️⬛️🐸🐸🐸⬛️🐸🐸🐸🐸
🐸🐸🐸🐸🐸🐸🐸🐸🐸⬛️🐸⬛️⛔️🐸🐸🐸
🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸⬛️⬛️🐸⛔️🐸🐸
🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸⛔️🐸
🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸⛔️