ãã¡ã¤ã«ãããåãããæãªã©ãã¤ã³ãã©ã«ãããã¡ã¤ã«ãµã¼ãã¼ï¼SambaãAFPãNFSãªã©ï¼ãçµç±ãããã®ãä¸çªãæ軽ãªæ¹æ³ã ã¨æãã¾ããå®éãæè¿ã®NASã¯å®ãã§ãããRAIDãç°¡åã«çµãã¦ããããä¿¡é ¼æ§ãããã¾ããã¡ãªã¿ã«å¼ç¤¾ã§ã¯Buffaloã®Tera Stationãå©ç¨ãã¦ãã¾ãã ã§ããããã®ãã¡ã¤ã«ãµã¼ãã¼ãã¯ã©ã¦ãã«æã£ã¦è¡ãã¨ãªãã¨çµæ§å¤§å¤ã§ããå¼ç¤¾ã®å ´åã§ãã¨ãã¨ã³ã¸ãã¢ã¨å°å·ãªãã¬ã¼ã¿ã¼ã¨ã§ãã¡ã¤ã«ãããåãããæ©ä¼ãå¤ãã®ã§ãã¨ã³ã¸ãã¢ä»¥å¤ã®äººãã¡ã§ãç°¡åã«æ±ããä»çµã¿ãå¿ è¦ã¨ãªãã¾ããAWSã§ãã®æã®ããã¡ã¤ã«å ±æããããã³ã«ãåãããã«ã¯EC2ãä»ç«ã¦ã¦ãããªããã°ãªãã¾ããããä»åã¯ãã®ãããªæéããéããããäºãåºæ¥ã¾ããã AWSã«ã¯S3ã¨ãã容éç¡å¶éã®ã¹ãã¬ã¼ã¸ãµã¼ãã¹ãããã¾ããCloudBerry ExplorerãCyberduckã使ãã°ãF
ã¦ã¼ã¶ã«Amazon S3ãããã¡ã¤ã«ãç´æ¥ãã¦ã³ãã¼ããã¦ããããããã¨ãããã¾ããããã®éã«ãã¡ã¤ã«åãå·®ãæ¿ããããã¨ãããã¾ãã 調ã¹ãã¨ãããS3ã«ã¯ããã¡ã¤ã«åãå·®ãæ¿ããããã®æ©è½ãç¨æããã¦ãã¾ããã 権éã¾ããã®ä»æ§ãç¥ããªãã¦å°ãæéåã£ãã®ã§ãä»åã¯ãã®ãããã®å 容ã交ãã¦ã¡ã¢ãã¾ãã 追è¨: Laravelã®Filesystemãå©ç¨ãã¦ããå ´åã¯ãã®ã¡ã½ããã使ãã¨ä¸çºã§Pre-Signed URLãçºè¡ããããã¦ã³ãã¼ãæã®ãã¡ã¤ã«åãæå®ãããã§ãã¾ããv5.4ãããã§è¿½å ãããããã§ãã ã©ããªæ©è½ãç¨æããã¦ããã S3ã®ãªãã¸ã§ã¯ãã¯ã以ä¸ã®ãããªURLã使ã£ã¦GETã§åãã«ãããã¨ãã§ãã¾ããã http://[bucket].s3.amazonaws.com/[key] ã¤ã¡ã¼ã¸ã¨ãã¦ã¯ãURLã«æ¬¡ã®ãããªæãã§ãªã¯ã¨ã¹ããã©ã¡ã¼ã¿ãå«ããã¨ããã¡ã¤
FOR /F ãã®1 = FORæã§ãã¡ã¤ã«ã1è¡ãã¤åãåºãã¦å®è¡ããæ¹æ³ - Windowsã®ã³ãã³ãããã³ãã(bat,cmd) FOR /F ã§åºæ¥ãäºããã®1ã§ãã ãã¡ã¤ã«ã®å 容ã 1è¡ãã¤åãåºãã¦ã1è¡æ¯ã«ã³ãã³ãå®è¡ããäºãåºæ¥ã¾ãã o ãã®ã³ãã³ãã«ã¯ããªãã·ã§ã³ delims 㨠eol ã®æ¢å®å¤ãè¨å®ããã¦ãã¾ãã + åãåºåã delims ãªãã·ã§ã³ = æå®ããªãã¨ãåè§ç©ºç½ãã¿ãã§åºåãã¾ãã + ã³ã¡ã³ãè¡ã示ã eol ãªãã·ã§ã³ = æå®ããªãã¨ãè¡ã®å é ãã;ãï¼ã»ãã³ãã³ï¼ã®æã«ã¹ããããã¾ãã o ã§ããããä¾ãã°1è¡ã丸ãã¨åãåºãããæã¯ãè¡ã®ä¸ã«åºã¦ããªãæåã両æ¹ã«æå®ãã¾ãã + ã#ãã¨ããæåãåºã¦ããªãæã¯ããfor /f "delims=# eol=#" %a in (ãã¯ãã.txt)ã + ãã®ä»ãè¡ã®å é ã«åè§ç©ºç½ãåº
ç»åã®ãªã³ã¯åãã調ã¹ãäºã«ãªã£ãã®ã§ããã£ãã£ãã¨æ¸ãã¾ããã wget -r -l 5 -p -nv -nd --spider [URL] > [ãã¡ã¤ã«å] 2>&1 ãªãã·ã§ã³ã®è§£èª¬ -r ä¸ããããURLããå帰çã«ãªã³ã¯ã辿ãããã¡ã¤ã«ãåå¾ãã¾ã -l [number] å帰çã«è¾¿ãæ·±ããæå®ãã¾ãããã®ãªãã·ã§ã³ã¯ã-rãã¨å ±ã«ä½¿ãã¾ã -p ãã®ãªãã·ã§ã³ãæå®ããã¦ããå ´åã¯ãã-lãã§æå®ãããæ·±ãããæ·±ãå ´æã«ãããã¡ã¤ã«ã§ããæ¢ã«ãã¦ã³ãã¼ãããHTMLã®è¡¨ç¤ºã«å¿ è¦ãªãã¡ã¤ã«ã¯ãã¦ã³ãã¼ããã¾ã -nvï¼--no-verboseï¼ åºæ¬æ å ±ã¨ã¨ã©ã¼æ å ±ä»¥å¤ã®åºåãæå¶ãã -ndï¼--no-directoryï¼ ãã¦ã³ãã¼ããããã¡ã¤ã«ãä¿åããéã«ãã£ã¬ã¯ããªãä½æãããã«ã¬ã³ããã£ã¬ã¯ããªã«ãã¹ã¦ä¿åãã¾ã --spider ãã¦ã³ãã¼ãã¯è¡ããããã¡ã¤ã«ã®æ
JPXæ¥çµ400*1ã®ç®åºãä»æ¥ããå§ã¾ã£ãããã ãã以åã«ãæ¸ãã*2ã¨ãããçç´ã«è¨ã£ã¦ãå©çãåºããä¼ç¤¾ãè²·ãç¹æ®ãªææ°ã«ãç¹ã«èå³ã¯æ¹§ããªããè¦ããã«ãCAPMããªãããªããã¨æããããå¾ãªãã®ã ããæã®æ´ç¤¼ãæä¼ãããã«ãããªã¹ã¯ããã¸ã¡ã³ãã®è¦³ç¹ããããã®æ§æ ¼ãææ¡ããããã®è¦æ¹ã«ã¤ãã¦ç°¡åã«æ¸ãã¦ã¿ãããããã ãªTOPIXã¨æ¯è¼ããå½¢ã§ãããã ãã¦JPXæ¥çµ400ããã¾ãã¯TOPIXã®ã©ã¡ããã«å«ã¾ããnåã®éæã«ã¤ãã¦ãããããã®ææ°ã®çµã¿å ¥ãæ¯çã並ã¹ã¦ãWjpxã¨Wtpxã¨ãã2ã¤ã®nx1ãã¯ãã«ã¨æãããã©ã¡ããçæ¹ã®ææ°ã«ããçµã¿å ¥ãããã¦ããªãéæã®ãããçæ¹ã®é åãã¯ãã«ã®å½è©²æåã¯ã¼ãã§ãããããã¦nåã®éæã«ãããå ±åæ£ãnxnè¡åΣã¨ããã°ãJPXæ¥çµ400ã¨TOPIXã®ä¹é¢ãªã¹ã¯ã¯ããããªãµãã«æ¸ããã¨ãã§ãããJPXæ¥çµ400ãè²·ã£ã¦ãTOPIXã売
財å大è£ãå¤çºç¹ä¼ã«ã¤ãã¦ãã³ã³ãµã«ã¿ã³ãã®æè¦ãåèã«ãããã¿ãããªãã¨ãè¨ãã®ã§ãå¢ãä½ã£ã¦æ¹é©æ¡ã¾ã§èãã¦ã¿ãã®ã ããããè¦ããããã¼ã¸ã£ç®¡çã¿ãããªè©±*1ã§ãããå ¨ç¶ãºã¬ã¦ããããã§ãããã£ãããã¨ã¯ããæ°ãæã¡ç´ãã¦ããã£ãããªãã®ã§æ¸ãã¦ãããã¨æããã¡ãªã¿ã«ããã¼ã¸ã£è©ä¾¡ã¯ãæ®éã«ãããã°ããã¨æãã¾ãããä¸ä¸ä¸è¨ã«ãèå³ãããã¾ããããæ¯éãé£çµ¡ä¸ããã ã¨ããããã§ãã¾ãç¾ç¶ããã¹ã¿ã¼ããããããçããå½åµã§è³é調éãã¦ãã«è²·ãä»å ¥ãå®æ½ããç±³å½åµã®å½¢ã§ä¿æãã¦ããã®ããç¾å¨ã®å¤çºç¹ä¼ã®å¤§ã¾ããªå§¿ã§ããã ã§ãç±³å½åµãå¯ããã¦ããé¨åãæ°éã«ä»»ãããã¨ãã話ã ã¨æãã®ã ãããã£ããã®å¤§éããã£ãããªãã®ã§ãæãåã£ã¦åã§æã¡ã¾ãããã¨ããã¡ãããéåãä»å ¥ã®å½¢ã«ã¯ããããªãã®ã§ãåããµã¤ãºã ãå·®é決æ¸ã®å½¢ã§ããã«è²·ãå売ãã建ã¦ã¡ãããç±³å½åµå£²ãã«ç±³å½ãåå¿ãããªãããã£
Python㧠Excelãããã¼ã¿ãæãåºããµã³ãã«ãä½ã£ã¦ã¿ã¾ããã å®è¡ç°å¢ã¯ãMac OS X 10.7.5ãPython 2.7.1 ã§ãã python-excel ã®ã¤ã³ã¹ãã¼ã« Excelæä½ã®ã©ã¤ãã©ãªã¨ãã¦ããpython-excelãã使ãã¾ãã python-excel 㯠xlrd, xlwt, xlutilsã¨ããããã±ã¼ã¸ã«åããã¦ãã¦ãèªã¿è¾¼ã¿ã ããªã xlrd ã ã使ãã°ãããã§ãã Macç°å¢ã§ã¯ easy_install ã§ç°¡åã«ã¤ã³ã¹ãã¼ã«ã§ãã¾ããã $ sudo easy_install xlrd xlrd 0.9.2 ãã¤ã³ã¹ãã¼ã«ããã¾ããã ã¡ãªã¿ã«ãhttp://www.python-excel.org/ ã«GitHubã®ãªã³ã¯ãããã®ã§ã $ git clone https://github.com/python-excel/xlrd.
ãã®æ稿ã¯èªåã®ããã°è¨äºãQiitaç¨ã«æ´å½¢ãããã®ã§ãã追è¨äºé ãããã°ããã°ã®æ¹ã«æ¸ãã¦ããã¾ãã ãPythonã®æ°å¤è¨ç®ã©ã¤ãã©ãª NumPyå ¥éã http://rest-term.com/archives/2999/ Scientific Computing Tools For Python â Numpy NumPy 㯠Pythonããã°ã©ãã³ã°è¨èªã®æ¡å¼µã¢ã¸ã¥ã¼ã«ã§ããã大è¦æ¨¡ãªå¤æ¬¡å é åãè¡åã®ãµãã¼ããããããæä½ããããã®å¤§è¦æ¨¡ãªé«æ°´æºã®æ°å¦é¢æ°ã©ã¤ãã©ãªãæä¾ããã(via Wikipedia) ããã¾ã§ç¥èãããã¾ãã ã£ãNumPyã«ã¤ãã¦ãããä¸åº¦ãããããããã¨æãã¾ããNumPyã¯SciPyã¨ä½µãã¦ç§å¦æè¡è¨ç®ã§ããå©ç¨ããã¦ãã¾ããã¾ããé«éã«è¡åæ¼ç®ãã§ããã®ã§OpenCV(ã³ã³ãã¥ã¼ã¿ãã¸ã§ã³ã©ã¤ãã©ãª)ã§ãNumPyãå©ç¨ããPythonã¤ã³ã¿ã
On 18 May 2017 the ichart data api of yahoo finance went down, without any notice. And it does not seem like it is coming back. This has left many (including me) with broken code and without a descent free end-of-day data source. Something needs to be done. Now. Apparently Yahoo! does not want us to download free data automatically, but it is still possible to download it by hand, clicking the 'do
5. LISPã¨ã¯??? (defun local-similarity (a b) ;; a, b : sequence (declare (optimize (speed 3) (safety 0) (debug 0))) (let ((memo (make-hash-table :test 'equal))) (labels ((dp (x y) (declare (fixnum x y)) (or #1=(gethash `(,x ,y) memo) (setf #1# (cond ((< x 0) 0) ((< y 0) 0) (:else (let ((diagonal-local-distance (if (eql (elt a x) (elt b y)) 1 -1))) (max (+ diagonal-local-distance (dp (1- x) (1- y)))
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}