This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [defaults] | |
| sudo_flags = SSH_AUTH_SOCK="$SSH_AUTH_SOCK" -H -S -n | |
| [ssh_connection] | |
| ssh_args=-o ForwardAgent=yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name 显示豆瓣用户id和性别 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author J.Y Han | |
| // @match https://www.douban.com/people/* | |
| // @grant showDoubanIdAndGender | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use std::future::Future; | |
| use std::pin::Pin; | |
| use std::task::{Context, Poll}; | |
| use std::time::{Duration, Instant}; | |
| struct Inspect<F>(F); | |
| impl<F: Future> Future for Inspect<F> { | |
| type Output = F::Output; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set dFolder to "~/Desktop/screencapture/" | |
| do shell script ("mkdir -p " & dFolder) | |
| set i to 0 | |
| repeat 960 times | |
| do shell script ("screencapture " & dFolder & "frame-" & i & ".png") | |
| delay 30 -- Wait for 30 seconds. | |
| set i to i + 1 | |
| end repeat |
OlderNewer