摘要:        
参考: 1. https://stackoverflow.com/questions/49859287/what is the need of threading lock when cpython has gil 2. https://stackoverflow.com/questions/400    阅读全文
posted @ 2018-04-22 12:56
Rocin
阅读(742)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1. 问题:很好奇为什么叫Join? 参考: 1. https://blog.csdn.net/frankarmstrong/article/details/55504161 2. https://stackoverflow.com/questions/15956231/what does this    阅读全文
posted @ 2018-04-22 11:02
Rocin
阅读(682)
评论(0)
推荐(0)
        
            
        
        
摘要:        
在c.py中    阅读全文
posted @ 2018-04-22 09:29
Rocin
阅读(6521)
评论(0)
推荐(0)
        
            
        
        
摘要:        
```
1. shift + f10
2. cd oobe
3. Msoobe ```    阅读全文
posted @ 2018-04-22 00:59
Rocin
阅读(543)
评论(0)
推荐(1)
        
            
        
        
摘要:        
```python
import numpy as np
import matplotlib.pyplot as plt
#用最小距离法(minimum distance algorithm)去检测目标点属于哪一个set #the distance of point x and point y
def dist(x,y): return np.sqrt(np.sum((x - y) ** 2...    阅读全文
posted @ 2018-04-22 00:54
Rocin
阅读(262)
评论(0)
推荐(0)
        
            
        
        
摘要:        
图片来自网上资料    阅读全文
posted @ 2018-04-22 00:51
Rocin
阅读(222)
评论(0)
推荐(0)
        
            
        
        
摘要:        
```
1. 打开/etc/mysql/debian.cnf文件,在这个文件中有系统默认给我们分配的用户名和密码,通过这个密码就可以直接对MySQL进行操作了。
2. 以debian-sys-maint为用户名登录,密码就是debian.cnf里那个。使用mysql -u debian-sys-maint -p 进行登录。
3. 进入mysql之后修改MySQL的密码,具体的操作如下用命令:set...    阅读全文
posted @ 2018-04-22 00:48
Rocin
阅读(2697)
评论(0)
推荐(0)
        
            
        
        
摘要:        
```
1.
在Windows上,安装时请选择UTF-8编码,以便正确地处理中文。
在Mac或Linux上,需要编辑MySQL的配置文件,把数据库默认的编码全部改为UTF-8。MySQL的配置文件默认存放在/etc/my.cnf或者/etc/mysql/my.cnf:
[client]
default-character-set = utf8 [mysqld]
default-storage-e...    阅读全文
posted @ 2018-04-22 00:47
Rocin
阅读(1734)
评论(0)
推荐(0)
        
            
        
        
摘要:        
http://bindog.github.io/blog/2015/03/10/synchronization in multiplayer networked game lockstep/ 游戏的暴击几率是“假”的    阅读全文
posted @ 2018-04-22 00:43
Rocin
阅读(232)
评论(0)
推荐(0)
        
            
        
        
摘要:        
https://en.wikipedia.org/wiki/Scheduling_(computing) 在wiki的下面可以找到    阅读全文
posted @ 2018-04-22 00:33
Rocin
阅读(282)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1. https://blog.csdn.net/wuyuegb2312/article/details/16359821 2. https://www.youtube.com/watch?v=YQ3Fep69CYM    阅读全文
posted @ 2018-04-22 00:31
Rocin
阅读(1909)
评论(0)
推荐(0)
        
            
        
        
摘要:        
42.zip A 42 kb zip file that contains 4.5 Petabytes of uncompressed data.    阅读全文
posted @ 2018-04-22 00:27
Rocin
阅读(236)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1. Type %0|%0 2. Save the file to your desktop as anything.bat    阅读全文
posted @ 2018-04-22 00:25
Rocin
阅读(302)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1. 显示port 22 refused, 输入 apt get install openssh server就可以解决 2. 关闭ssh服务 service ssh stop 3. 可以用 service status all查看    阅读全文
posted @ 2018-04-22 00:22
Rocin
阅读(159)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1. recovery mode E 2. ro rw 3. plus init=/bin/bash 4. passwd root    阅读全文
posted @ 2018-04-22 00:21
Rocin
阅读(425)
评论(0)
推荐(0)
        
            
        
        
摘要:        
    阅读全文
posted @ 2018-04-22 00:16
Rocin
阅读(169)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1. lsof i : 2. nmap 127.0.0.1 3. sudo netstat tunlp (不加sudo看不见PID) 4. gufw 参考 https://askubuntu.com/questions/9368/how can i see what ports are open o    阅读全文
posted @ 2018-04-22 00:13
Rocin
阅读(567)
评论(0)
推荐(0)
        
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号