PIXNET Logo登入

FLASHC

跳到主文

FLASHC It's time to starting forward. Do what you love. Love what you do.

部落格全站分類:不設分類

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 12月 06 週五 201316:37
  • [linux]kill more than one process use ps aux grep awk

[linux]kill more than one process use ps aux grep awk

you can use ps aux ,grep find your program name

#ps aux | grep "prog_name"
(繼續閱讀...)
文章標籤

peicheng 發表在 痞客邦 留言(0) 人氣(26)

  • 個人分類:linux
▲top
  • 12月 05 週四 201317:14
  • [linux] 引數列項目過長 argument list too long




buffer 的大小是 MAX_ARG_PAGES * "page 大小" --- 一般而言是 32 * 4k = 128k。

(繼續閱讀...)
文章標籤

peicheng 發表在 痞客邦 留言(0) 人氣(134)

  • 個人分類:linux
▲top
  • 12月 05 週四 201316:53
  • [linux]system argv maximum length

[linux]system argv maximum length
如何得知 system command line 的 argv 最大長度,
可以使用 getconf 去取得。
root@renode2[/var/log]{14:52}# getconf ARG_MAX
2621440
(繼續閱讀...)
文章標籤

peicheng 發表在 痞客邦 留言(0) 人氣(105)

  • 個人分類:linux
▲top
  • 12月 05 週四 201315:23
  • [git]git pull 遇到 error: Your local changes to the following files would be overwritten by merge:


[git]git pull 遇到 error: Your local changes to the following files would be overwritten by merge:

有部分程式,更改了但是沒有commit 。
(繼續閱讀...)
文章標籤

peicheng 發表在 痞客邦 留言(0) 人氣(58)

  • 個人分類:linux
▲top
  • 10月 02 週三 201317:00
  • [eclipse][ubuntu] eclipse cant not start java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:


$ cat 1380704328894.log
!SESSION 2013-10-02 16:58:48.757 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.6.0_34
java.vendor=Sun Microsystems Inc.
(繼續閱讀...)
文章標籤

peicheng 發表在 痞客邦 留言(0) 人氣(14)

  • 個人分類:linux
▲top
  • 9月 17 週二 201317:33
  • [linux]settup passwordliess login


peicheng@TW-PCLIAO:~
$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@renode2
Warning: the RSA host key for 'renode2' differs from the key for the IP address '10.1.191.177'
Offending key for IP in /home/peicheng/.ssh/known_hosts:28
Matching host key in /home/peicheng/.ssh/known_hosts:78
Are you sure you want to continue connecting (yes/no)? yes
peicheng@TW-PCLIAO:~
$ ssh root@renode2
Warning: the RSA host key for 'renode2' differs from the key for the IP address '10.1.191.177'
Offending key for IP in /home/peicheng/.ssh/known_hosts:28
Matching host key in /home/peicheng/.ssh/known_hosts:78
Are you sure you want to continue connecting (yes/no)? yes
Last login: Wed Jul 10 11:54:56 2013 from remaster
rm the line number  28
(繼續閱讀...)
文章標籤

peicheng 發表在 痞客邦 留言(0) 人氣(5)

  • 個人分類:linux
▲top
  • 9月 04 週三 201318:17
  • [mysql] primary key AUTO_INCREMENT reset



想要重置mysql 內的 AUTO INCREMENT
可以使用 來重置 遞增數值。

ALTER TABLE TABLENAME AUTO_INCREMENT =1
(繼續閱讀...)
文章標籤

peicheng 發表在 痞客邦 留言(0) 人氣(128)

  • 個人分類:linux
▲top
  • 8月 27 週二 201318:29
  • [linux] mac divvy like on linux


在 mac 可以方便使用 divvy 來放大縮小 應用程式 成 grid顯示,
在linux 可以使用 ration 來達到這點。

onyxfish/ration
(繼續閱讀...)
文章標籤

peicheng 發表在 痞客邦 留言(0) 人氣(8)

  • 個人分類:linux
▲top
  • 8月 19 週一 201315:40
  • [linux][puppet] puppet local mode


使用 puppet local mode 只需要
- sync your pp file
- puppet apply ppfile

可以減少網路溝通與Master slave 間的問題。
(繼續閱讀...)
文章標籤

peicheng 發表在 痞客邦 留言(0) 人氣(5)

  • 個人分類:linux
▲top
  • 8月 13 週二 201311:23
  • [linux] easy_install Python.h error


in centos
try
yum install python-devel

root@reservice[/tmp/pymmseg-cpp]{11:20}# python setup.py build
(繼續閱讀...)
文章標籤

peicheng 發表在 痞客邦 留言(0) 人氣(35)

  • 個人分類:linux
▲top
123»

google adsense

靜思語

blogads

近期文章

  • [note]大丈夫豈能 不戰、不和、不守、不死、不降、不走。
  • [hadoop]聖誕禮物 Hortonworks Certified Apache Hadoop Administrator 1.x Got
  • [hadoop]Hortonworks Certified Apache Hadoop 1.x Administrator
  • [武術]2013 12月17日大師隕落 鄭子太極 鞠鴻賓 長洪宗師 陳清河
  • 啟用 peicheng-note http://peichengnote.blogspot.com/
  • [ROSL]Reflections on startup life
  • [武術]八卦掌 走掌 131218 (三)
  • [武術]宮式八卦養生內功 劉雲樵傳 氣血滾滾 養氣還原
  • [book]你要如何衡量你的人生
  • [python][flask] Context 應用上下文

文章彙整

文章分類

  • startup_note (1)
  • 日本 (4)
  • kickboxing (1)
  • music (2)
  • java (1)
  • ambari (2)
  • 轉貼 (5)
  • hadoop (43)
  • elasticsearch/logstash (4)
  • linux (29)
  • mac (4)
  • mac (4)
  • su (1)
  • tech_note (35)
  • 書單 (1)
  • 台灣人在北京 (2)
  • 隨筆 (10)
  • bookmark (3)
  • 合氣道 (5)
  • 遊記 (11)
  • [新加坡] (11)
  • 佛學 (4)
  • 旅遊pic (2)
  • python (64)
  • 歌詞 (7)
  • 北京大學 (12)
  • Gentoo (107)
  • BBS (8)
  • Ubuntu (17)
  • 合氣道 aikido (24)
  • PHP (5)
  • 日記 (268)
  • 新奇 (32)
  • 筆記 (75)
  • CODE (61)
  • DBbase (1)
  • CCU (12)
  • 哲學思想 (67)
  • 讀書心得 (21)
  • 專題 (4)
  • 電影 (34)
  • 台灣武術 (194)
  • 一般 (2)
  • 未分類文章 (1)

最新迴響

  • [21/12/31] 康藥本鋪 kmed.tw 於文章「[武術] 廖白 廖八步...」留言:
    樂威壯 https://kmed.tw/ind...
  • [20/04/12] 小鍋 於文章「[ubuntu] 開發C 出現 erro...」留言:
    感恩喔,不然我都還稿不清楚狀況;朝SVGAlib邁進中...
  • [15/05/09] 訪客 於文章「[武術]120225 武術追求...」留言:
    請各位喜好武術的同好請注意: 有個史上超級不要臉的武術...
  • [15/05/09] 訪客 於文章「[武術]120225 武術追求...」留言:
    請各位喜好武術的同好請注意: 有個史上超級不要臉的武術...
  • [15/05/09] 訪客 於文章「[武術]120225 武術追求...」留言:
    請各位喜好武術的同好請注意: 有個史上超級不要臉的武術...
  • [15/05/09] 訪客 於文章「[武術]120225 武術追求...」留言:
    請各位喜好武術的同好請注意: 有個史上超級不要臉的武術...
  • [15/05/09] 訪客 於文章「[武術]120225 武術追求...」留言:
    請各位喜好武術的同好請注意: 有個史上超級不要臉的武術...
  • [14/11/28] 訪客 於文章「傅佩榮 易經與人生(1)...」留言:
    分享自己在唯心聖教所感受到的益處 : 無意中看到有人刻...
  • [14/11/07] c0ae3d05b 於文章「[hadoop]聖誕禮物 Hortonw...」留言:
    我要☉在這§裡〇強~O你 goo‧﹎gl/ClgFe...
  • [14/08/02] 訪客 於文章「傅佩榮 易經與人生(1)...」留言:
    台灣~有一宗教團體~混元禪師(唯心宗)~大概20年前發展出一...

無名 正妹時計

氣象星座

links

參觀人氣

  • 本日人氣:
  • 累積人氣:

個人頭像

peicheng
暱稱:
peicheng
分類:
不設分類
好友:
累積中
地區:

楊淑君加油 我們都以妳為榮!

文章搜尋