原创 多維矩陣相乘
實踐發現:除了最後兩維,其它維的寬度都要相同,實際上也只是最後兩個維度相乘。
原创 oracle 實現 if exists 方法的記錄
declare v_cnt number; begin select count(*) into v_cnt from dual where exists (select * from ts
原创 單鏈表反轉
/* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) {
原创 [INS-32025] 所選安裝與指定 Oracle 主目錄中已安裝的軟件衝突
刪除C:\Program Files (x86)\Oracle\Inventory文件夾即可
原创 vim 使用教程
發現一個非常好的vim入門教程:https://github.com/vim-china/hello-vim 資源非常高質量,也很全面。
原创 c++ 獲取目錄內所有文件名
可直接使用,修改自其它博客,侵刪 #include <string> #include <vector> #include <fstream> #include <iostream> #include <stdlib.h> #in
原创 mysql c 操作入門
mysql c 操作入門:https://www.cnblogs.com/sherlockhua/archive/2012/03/31/2426399.html
原创 c語言使用mysql_query插入數據,中文出現亂碼
在插入數據之前,指定編碼,解決。 mysql_query(mysql, "set names 'utf8'");
原创 libevent和基於libevent的網絡編程
轉自:https://www.cnblogs.com/nearmeng/p/4043548.html ——感謝原作者 1 libevent介紹和安裝 介紹 libevent是一個輕量級的基於事件驅動的高性能的開源網絡庫,並且支持多個
原创 mysql(mariadb)報錯超過連接數: ERROR 1040 (HY000): Too many connections
在此記錄下解決過程 1、vi /etc/my.cnf [Service]新添加兩行如下參數: wait_timeout = 600 interactive_timeout = 600 max_connections=4096 2、vi
原创 如何防止出現殭屍進程
作者:wuxinliulei 鏈接:https://www.zhihu.com/question/29378056/answer/70645585 來源:知乎 著作權歸作者所有。商業轉載請聯繫作者獲得授權,非商業轉載請註明出處。 #