ä»åã®å 容ã¯ãLinuxã³ã³ã½ã¼ã«ä¸ããCUIã§Dropboxããã¦ã³ããå©ç¨ããæ¹æ³ã«ã¤ãã¦ãç´¹ä»ããã Linuxã®ã³ã³ã½ã¼ã«ä¸ããDropboxãå©ç¨ããã«ã¯ãGitã«ç»é²ããã¦ãããDropbox Uploaderãã¨ããã¹ã¯ãªãããç¨ããã 1.ãã¼ã«ã®ãã¦ã³ãã¼ãã¨ã¤ã³ã¹ãã¼ã« ã¾ãã¯ãDropbox Uploaderãã使ããããgit cloneã§ãã¡ã¤ã«ãåå¾ã権éãä¸ãã¤ã³ã¹ãã¼ã«ãè¡ãã git clone https://github.com/andreafabrizi/Dropbox-Uploader/ cd Dropbox-Uploader/ chmod +x dropbox_uploader.sh ./dropbox_uploader.sh App Keyãæ±ããããã®ã§ã表示ããã¦ããæé ã«å¾ããã¾ãã¯è¡¨ç¤ºããã¦ããURL(https://www2.drop
æè¿ã¡ããã¡ããPythonã触ãæ©ä¼ãå¤ããªã£ã¦ããã®ã ããå¦çã®ä¸ã§grepãawkã®ããã«è¡ã®æ½åºããããããã¨ãããã Subprocessã§grepã¨ãawkãå¼ã³åºãã®ã¯ãã£ãæªãããPythonå ã§å¦çãå®çµããããã¨ããã®ããã£ãã®ã§å°ã調ã¹ã¦ã¿ãã 1.æå®ããæååãå«ãè¡ãæ½åº 1-1.åºæ¬çãªæ½åºæ¹æ³ Pythonã§grepã®ãããªå¦çãè¡ãã«ã¯ãfind('æåå')ãç¨ãã¦ãã®æååãå«ãæ°ãæå®ãããã¨ã§æ½åºãå¯è½ã ã 以ä¸ãè¨è¿°ä¾ã # -*- coding: utf-8 -* import sys ld = open(sys.argv[1]) lines = ld.readlines() ld.close() for line in lines: if line.find("æåå") >= 0: print line[:-1] [root@BS-PUB-
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}