原创 centos編譯5.4.10內核
清理 make clean 刪除大多數的編譯生成文件, 但是會保留內核的配置文件.config, 還有足夠的編譯支持來建立擴展模塊 make mrproper 刪除所有的編譯生成文件, 還有內核配置文件, 再加上各種
原创 關於64位機器的c語言中各個類型的字節數
==sizeof-a=8, sizeof-b=12, sizeof int=4 ==sizeof-*p=8, sizeof-short=2 sizeof char=1 ==sizeof long=8, sizeof -double=
原创 linux 字體字號設置
gsettings set org.mate.interface font-name 'Noto Sans CJK SC 36' 通用字體 ,作用於菜單欄 gsettings set org.mate.interface d
原创 g_file_new_for_commandline_arg ()機器翻譯
GFile * g_file_new_for_commandline_arg (const char *arg); Creates a GFile with the given argument from the command lin
原创 g_get_system_data_dirs函數(機器翻譯)
g_get_system_data_dirs () const gchar* const * g_get_system_data_dirs (void); Returns an ordered list of b
原创 lanchpad提交代碼
參考: https://blog.csdn.net/ligerendaqiu123/article/details/50603706 祕鑰操作 gpg --gen-key gpg --keyserver keyserver.ubunt
原创 蘋果系統知識記錄
一刷機原理: https://www.jianshu.com/p/cb20654558eb 要點: 實際上,刷機過程中,數據是這麼流動的: ipsw文件 --> iTunes --> iOS設備的CPU --> iOS設備的Flash/e
原创 gdk_display_get_n_screens
1593 /** 1594 * gdk_display_get_n_screens: 1595 * @display: a #GdkDisplay 1596 * 1597 * Gets the number of screen m
原创 chroot使用
本文是基於:https://www.cnblogs.com/charlieroro/p/9259675.html 的學習筆記 chroot的目的是,把指定目錄設爲/創建一個新環境,並進入一個bash。 如果希望
原创 ubuntu獲取軟件deb包形式的源代碼及編譯
1,更新/etc/apt/source.list,把deb-src的註釋打開 2,獲得源碼 apt source cups 3,解決依賴 apt build-dep cups 4,進入源代碼目錄 5,製作安裝包 dpkg-buildpac
原创 設置hdfs磁盤配額
設置磁盤配額 命令行: hdfs dfsadmin -setQuota 5 /tmp 超額的錯誤提示爲: put: The NameSpacequota (directories and files) of directory /tm
原创 關於【error: expected identifier before ‘,’ token】錯誤的檢查
在編譯項目時,發生瞭如下錯誤: In file included from trunk/be/include/nodes/JoinedTable.h:11:0, from trunk/be/include