cannot ssh to server as root 2017-02-16 225 words 1 min read rootパスワードを知っているのに、rootでssh接続できない問題の解決方法です。 実はsshdの設定ファイルに、rootでのログイン許可を Read more...
Pythonでスパイダーを作る 2016-12-01 1354 words 3 mins read PythonのRequestsライブラリを利用してウェブページの内容を抽出し保存する。 そして、BeautifulSoupライブラリを利用し、 Read more...
VundleでVimのプラグインを簡単管理 2016-11-21 967 words 2 mins read Vimのプラグインを管理する人気のツール、Vundleの利用メモ 本家のサイト:[https://github.com/VundleVim/V Read more...
PythonでGoogle maps のapiを利用する 2016-11-12 1559 words 4 mins read PythonでGoogle mapsのAPI を利用しルート検索をやってみた。 利用するモジュールはgooglemaps/google-maps- Read more...
iPhoneでGoogleマップを表示する時のメモ 2016-11-01 478 words 1 min read GoogleマップをiPhone上に表示したい時にはまったことを残す。 Google Maps API > iOS向け > Maps SDK for iOSを参考に、とりあえず画面上Google Read more...
Pythonで回文チェック 2016-10-29 510 words 2 mins read もう一題をやった。Palindrome chain length 回文に関する計算問題です。 回文とは、文字列を真ん中で割って、左辺と右辺が反転的に対称している文字列 Read more...
Pythonの出力フォーマット 2016-10-29 275 words 1 min read 今日もCodeWarの問題を練習した。RGB To Hex Conversion 問題を簡略化にすると、rgbの数字を16進に変換し出力する。 1 2 3 4 rgb(255, 255, 255) # returns FFFFFF rgb(255, 255, 300) # returns Read more...
Hexoをインストール 2016-10-24 129 words 1 min read ここのURLを参考しながら、HexoのBlogを設定した。 https://liginc.co.jp/web/programming/server/104594 Install の途中で、以下のエラーが出た。 1 2 % hexo deploy ERROR Deployer not found: github https://github.com/hexojs/hexo/issues/1040 を参考にして、直した。 1 % Read more...