Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Ruotian Zhang zrt

🎯
Focusing
Block or report user

Report or block zrt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@zrt
zrt / cat_camera.py
Created Jan 2, 2019 — forked from louchenyao/cat_camera.py
operating raspi camera
View cat_camera.py
#! /usr/bin/env python3
import os
import time
PIC = False
CV2 = False
try:
from picamera import PiCamera
@zrt
zrt / run.py
Created Jun 9, 2018
run perception
View run.py
#! /usr/bin/python3
from random import *
import os,sys
run = os.system
##BEGIN 这些需要修改
dataset = '20180103_nanian_103247'
target_dir = "/home/a/Desktop/PublicCourse/perception_project/Simple"
data_dir = "/home/a/Desktop/PublicCourse/perception_project/%s"%(dataset)
@zrt
zrt / cookie_to_js.py
Created May 24, 2017
raw cookie to js
View cookie_to_js.py
@zrt
zrt / index.html
Created Dec 31, 2016 — forked from CaiJimmy/index.html
Disqus点击加载
View index.html
<button id="load-disqus" onclick="disqus.load();">
加载Disqus
</button>
<div id="disqus_thread"></div>
View keybase.md

Keybase proof

I hereby claim:

  • I am zrt on github.
  • I am zrt (https://keybase.io/zrt) on keybase.
  • I have a public key whose fingerprint is 8781 3E29 0648 42F3 87D9 BE68 63FB 4168 BCA6 5083

To claim this, I am signing this object:

View git_status.py
import os
now=os.getcwd()
a=os.listdir()
a=list(filter(lambda x:os.path.isdir(x),a))
for s in a:
path=os.path.join(now,s)
os.chdir(path)
if os.path.isdir('.git'):
@zrt
zrt / bzoj2725_zrt
Created Aug 3, 2014
BZOJ 2725 : [Violet 6]故乡的梦
View bzoj2725_zrt
/**************************************************************
Problem: 2725
User: zrts
Language: C++
Result: Accepted
Time:13512 ms
Memory:49700 kb
****************************************************************/
#include<iostream>
You can’t perform that action at this time.