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:⛔️🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸
🐸⛔️🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸
🐸🐸⛔️🐸⬛️🐸🐸🐸🐸🐸🐸⬛️🐸🐸🐸🐸
🐸🐸⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️🐸🐸
🐸🐸🐸🐸⬛️🐸🐸🐸🐸🐸🐸⬛️🐸🐸🐸🐸
🐸🐸🐸🐸🐸⛔️⬛️🐸🐸🐸🐸🐸🐸🐸🐸🐸
🐸🐸🐸🐸🐸⬛️⛔️🐸🐸🐸🐸🐸🐸🐸🐸🐸
🐸🐸🐸🐸⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️🐸🐸🐸🐸
🐸🐸🐸⬛️🐸🐸🐸🐸⛔️🐸🐸⬛️🐸🐸🐸🐸
🐸🐸🐸🐸🐸⬛️⬛️⬛️🐸⛔️🐸⬛️🐸🐸🐸🐸
🐸🐸🐸🐸🐸⬛️🐸⬛️🐸🐸⛔️⬛️🐸🐸🐸🐸
🐸🐸🐸🐸🐸⬛️⬛️⬛️🐸🐸🐸⬛️🐸🐸🐸🐸
🐸🐸🐸🐸🐸🐸🐸🐸🐸⬛️🐸⬛️⛔️🐸🐸🐸
🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸⬛️⬛️🐸⛔️🐸🐸
🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸⛔️🐸
🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸⛔️
Forwarded from PyPlayBot
source code:import urllib.request
import string
print(urllib.request.urlopen("https://api.lwl12.com/hitokoto/main/get").read().decode("utf-8"))
Python output:人生就像一场无成果的游戏,幸福的分量是固定的,假设世上存在的幸福和不幸的总量是固定的,那这就是“有人获得幸福,势必会有人遭遇不幸”的游戏,任谁都觉得自己是世上最不幸的人,认为自己的这般不幸,肯定会有人获得了巨大的幸福。
Black Hat, out there in the cold
Hacking websites for control
Can you crack me?
Black Hat, working for the Chinese
With twitchy fingers on flashing keys
Can you spoof me?
Black Hat, don't let them put you in the light
Never give in: just fight!
不过,中国小学生「黑客」的确很多,而且中国人对待隐私的态度也是非常差,难怪 OpenBSD 6.0 发行歌词里提到这个
#China #security
duangsuse::Echo
Black Hat, out there in the cold Hacking websites for control Can you crack me? Black Hat, working for the Chinese With twitchy fingers on flashing keys Can you spoof me? Black Hat, don't let them put you in the light Never give in: just fight! 不过,中国小学生「…
想到支付表拍照的事情
太应景了
Black Hat, working for the Chinese
With twitchy fingers on flashing keys
Can you spoof me?
太应景了