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
import java.math.BigInteger; | |
import java.security.SecureRandom; | |
public class PollardOptimised { | |
private final static BigInteger ZERO = new BigInteger("0"); | |
private final static BigInteger ONE = new BigInteger("1"); | |
private final static BigInteger TWO = new BigInteger("2"); | |
private final static SecureRandom random = new SecureRandom(); | |
public static BigInteger f(BigInteger x, BigInteger c, BigInteger N) { |
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
server { | |
listen 80; | |
server_name localhost; | |
root /Users/YOUR_USERNAME/Sites; | |
access_log /Library/Logs/default.access.log main; | |
location / { | |
include /usr/local/etc/nginx/conf.d/php-fpm; | |
} |
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
sudo apt-get install python-software-properties //首先尝试安装这个软件 | |
sudo apt-get install software-properties-common //上面尝试如果add-apt-repository不能运行,尝试安装这个软件 | |
sudo apt-get install apt-file | |
sudo apt-file update | |
# 测试成功 | |
# ss 使用 | |
apt-file search add-apt-repository | |
sudo add-apt-repository ppa:hzwhuang/ss-qt5 |
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
Windows 7 All Online/Offline [Retail-MAK] Activation Keys | |
================================================================================= | |
. Run "Command Prompt" as Administrator | |
. slmgr.vbs -ipk Product Key | |
. slui4 | |
================================================================================= | |
Windows 7 Ultimate Retail Phone Activation Keys | |
RHTBY-VWY6D-QJRJ9-JGQ3X-Q2289 | |
V77DJ-CT8WB-Y3GXT-X3FBP-6F987 | |
JC7BV-94FD2-D86PH-XRMHR-BXKDG |
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
package pagination | |
import "fmt" | |
type Pair struct { | |
StartIndex int64 | |
EndIndex int64 | |
} | |
func newPair(l, r int64) Pair { |