生活與筆記本
一些想法和一點關於程式
標籤
二元樹
(1)
字串常數池
(1)
投資
(3)
每月損益
(37)
例外處理
(1)
泛型
(2)
股票
(15)
指標
(5)
英文
(8)
基本資料型別
(1)
期貨
(1)
程式交易
(10)
量化投資
(5)
亂亂寫
(3)
概念
(3)
資料結構
(3)
演算法
(3)
數學
(3)
轉型
(1)
AMA
(1)
ArrayList
(1)
assert
(1)
BeautifulSoup
(1)
C/C++
(8)
casting
(1)
ClassCastException
(1)
classpath
(1)
Collection
(4)
Comparable
(1)
comparTo()
(1)
constructor
(1)
database
(3)
Debian
(1)
Dropbox
(2)
EA
(2)
enum
(1)
equals()
(2)
exception
(3)
extends
(1)
ffmpeg
(1)
final
(1)
Git
(1)
HashMap
(1)
HashSet
(1)
hasNext()
(1)
HTS
(3)
instanceof
(1)
IS-A
(1)
Iterator
(1)
JAVA
(43)
length
(1)
Linux
(31)
List
(1)
Mac
(6)
Map
(1)
ML
(2)
MT4
(6)
MySQL
(2)
next()
(1)
NullPointerException
(1)
Number
(1)
Numpy
(2)
OpenCart
(1)
OpenCV
(3)
OSX
(1)
overloading
(1)
overriding
(3)
pandas
(2)
PHP
(8)
PriorityQueue
(1)
Python
(11)
Queue
(1)
random()
(1)
reverse()
(1)
Samba
(1)
SCJP
(21)
sqrt()
(1)
synchronized
(1)
talib
(1)
ufw
(1)
uTorrent
(1)
var-args
(2)
VHF
(1)
vim
(2)
Yhoo知識+
(4)
2019年8月25日 星期日
用class篩html發生錯誤
>>> futureTR[0].find('td', class="12bk")
File "<stdin>", line 1
futureTR[0].find('td', class="12bk")
^
SyntaxError: invalid syntax
因為class在Python中是保留字,所以要換成class
_
。(加底線)
>>> futureTR[0].find('td', class_="12bk")
<td class="12bk">
<div align="center">TX </div>
</td>
>>>
2019年8月21日 星期三
Git簡單操作
在資料夾裡:
git init #初始化資料夾,讓 Git 對這個資料夾版控
git add filename.xxx #把檔案暫存,還沒上傳
git commit #檔案上傳(會跳出vim讓你填註解)
git status #查目前狀態
若檔案有修改,再做一次add , commit
2019年8月7日 星期三
更改VirtualBox硬碟大小
在vdi檔的資料夾底下
vboxmanage modifymedium disk Win2012R2.vdi --resize 40960
2019年8月3日 星期六
執行wine時出錯
執行winecfg時出錯:
# winecfg
002b:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
原來是用了root的身份,退出root 再執行一次就好了
2019年8月2日 星期五
VirtualBox 6.0.10 新增機器錯誤
1.查核心版本
$ uname -r
4.19.0-5-amd64
2.安裝核心標頭檔
$ sudo apt install build-essential linux-headers-
4.19.0-5-amd64
3.重新開機
參考自
2019年7月31日 星期三
2019/7 26,395 36,590
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)