This file contains 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
const script = `<script>window.location.hash = 1;document.title = document.getElementsByTagName('html')[0].scrollHeight;</script>`; | |
onNavigationStateChange(navState) { | |
Util.log("webView Height:", navState.title); | |
this.setState({ | |
height: navState.title | |
}); | |
} | |
renderMobileBody(){ |
This file contains 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
public static int byteToInt(byte[] b,int start) { | |
int s = 0; | |
int s0 = b[start] & 0xff;// 最低位 | |
int s1 = b[start+1] & 0xff; | |
int s2 = b[start+2] & 0xff; | |
int s3 = b[start+3] & 0xff; | |
s3 <<= 24; | |
s2 <<= 16; | |
s1 <<= 8; | |
s = s0 | s1 | s2 | s3; |
This file contains 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
ftp eu5.org | |
put [local] [remote] | |
get [remote] [local] |