原创 Typora 語法結構與功能

Typora 語法結構與功能 Typora 語法結構與功能 數學表達式 下標 上標 插入表情 下劃線 刪除線 代碼 強調 斜體 插入圖片 插入URL連接 目錄列表Table of ContentsTOC 水平分割線 標註 表格 數學

原创 markdown manual

MarkDown manual 顯示markdown在瀏覽器上 markdown 插件安裝 語法說明 Vim 模式 [toc]引用目錄 MarkDown manual 顯示markdown在瀏覽器上 command line -

原创 無法從 mirrors.ustc.edu.cn : The requested URL returned error: 404 獲取文件

無法從 mirrors.ustc.edu.cn : The requested URL returned error: 404 獲取文件 在安裝msys2 更換中科大的鏡像的時候,根據網絡鏡像地址,出現該問題 原因 因爲中科大鏡像地址更換

原创 MinGW-w64 and msys install on windows

MinGW-w64 and msys 安裝 on windows 因爲使用installer安裝需要聯網,sourceforge的網速很慢不穩定,所以我使用的方法是下載壓縮包安裝 下載MinGW-w64 MinGW-w64下載頁面 如果

原创 python 錯誤與異常

python 錯誤與異常 錯誤 語法錯誤 不符合解釋器和編譯器 邏輯錯誤 異常 程序遇到邏輯或者算法問題 運行過程中計算機錯誤(內存不夠或者IO錯誤) 區別 錯誤在執行前修改,邏輯錯誤無法修改 運行時,異常產生,檢查到錯誤且

原创 python_basic

python 基礎知識 字符串 字符串可以乘法 words=hel print words*3 輸出: helhelhel 邏輯行和物理行 物理行是你在編寫程序時候所看見的,即每一行 邏輯行是python看見的每個語句 一個物理行使用多個

原创 vim notes

不按 Esc 而是按 ^『或者 ^c,速度快很多 學會幾個定位鍵的區別:0, $, {, }, g, G, w, e, b… Shift+V 選定幾行,然後用 一起移動 Ctrl+V 選定行首或行尾的字符,然後用 shift+i 做插入

原创 python-link-mysql

python 使用mysql python API MySQL Oracle SQL Server DB API procedure: connection -> cusor -> … ->close cusor -> clos

原创 python 使用virtualenv 出現VCRUNTIME140.dll 缺失 解決辦法

使用virtualenv 創建新的python虛擬環境的時候出現了 VCRUNTIME140.dll 缺失 解決辦法: 將python安裝的根目錄中的所有.dll文件複製到python根目錄\Scripts\ 即可解決問題 當在使用vir

原创 vim實用技巧學習part_one

vim實用技巧學習 part one 入門使用命令 dw ​ 刪除光標下的單詞 / ​ /the 高亮顯示查找的匹配項 the vit <a href=" ">text</a> //當光標在a上面的時候 實用vit命令光標

原创 python_basic2

pyhton基礎知識 two 數據結構 列表 元組 字典 列表 list = ['apple', 'mango', 'carrot', 'banana'] len(list) list.append(’ ‘) list.sort(

原创 python_basic4

pyhton基礎知識 four 特殊的方法 __init__(self,…) 這個方法在新建對象恰好要被返回使用之前被調用。 __del__(self) 恰好在對象要被刪除之前調用。 __str__(self) 在我們對對

原创 jekyll serve E`/assets/themes/bootstrap-3/css/style.css' not found.

jekyll serve E`/assets/themes/bootstrap-3/css/style.css’ not found. 登錄127.0.0.1:4000之後,網頁沒有樣式,而且在終端出現一下ERROR E`/assets/

原创 python_basic3

pyhton基礎知識 three 面向對象的編程 self Python中的self等價於C++中的self指針和Java、C#中的this參考。 創建一個類 class Person: pass # An empty block

原创 Debug Assertion Failed! File: afx.inl

VC++調程序出現如下錯誤:  Debug   Assertion   Failed!      Program:  D:\wyuStud\debug\wyuStud.exe    File:   afx.inl          L