2013年8月22日木曜日

403エラーへの対処法


WordPress「Forbidden 403 エラー」のほとんどが解決する3つの対処法


http://wordpress.e-joho.jp/archives/437
ロリポップとさくら、それぞれに対する対処法


403 Forbiddenエラーの原因、対処、解決法


http://www.403-forbidden.com/?p=488

403-forbiddenという名前でサイトをやっている以上は説明せざるを得まい、というちょっとネタっぽいサイト

2013年8月10日土曜日

Raspberry Piのピン配

「リンク集」のコンセプトから外れるがこれだけは要コピー。


vi リファレンス

しょっちゅう忘れてしまうviのコマンド
http://hp.vector.co.jp/authors/VA016670/unix/vi_reference.html

Raspberry PiでSPI


Getting SPI working on the Raspberry Pi


http://www.brianhensley.net/2012/07/getting-spi-working-on-raspberry-pi.html
SPIだけでなくI2CやUART, PCMなどのついてのピン配の記載もあって有用
Cコードの例


Light Painting with Raspberry Pi


http://learn.adafruit.com/light-painting-with-raspberry-pi/software

『LightPaint』を例にこちらはPythonで動かす例。わかり易い



Pythonを使ってRaspberry PiのI2Cを動かす


Raspberry Pi and Arduino Connected Using I2C


http://blog.oscarliang.net/raspberry-pi-arduino-connected-i2c/

I2CでRPiとArduinoをつなぐ、って話だが十分参考になる


Raspberry Pi I2C (Python)

http://www.instructables.com/id/Raspberry-Pi-I2C-Python/
話は同じだけど外付けデバイスのコントロール例がいくつか付いているのでそれはそれで参考に。



I2C and the Raspberry Pi


http://www.bootc.net/archives/2012/05/19/i2c-and-the-raspberry-pi/
これはCのコードを使った例だけど、ちょっと取っ付きにくかったので未検証

PythonでRaspberryPiのGPIOを叩く


Python GPIO Basics(Will's Blog
Raspberry Piのピン配

http://willsrpi.blogspot.com/p/python-gpio-basics.html


http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/turing-machine/two.html


Internal Pull-Up/Pull-Downについて
http://raspi.tv/2013/rpi-gpio-basics-6-using-inputs-and-outputs-together-with-rpi-gpio-pull-ups-and-pull-downs
下の方に記載有り

GPIOが上手く使えなかった時に助けられたサンプル
https://github.com/mi0iou/RPi_Thermometer/blob/master/rpi_thermometer.py
GPIO.setmodeのとこ

よく見たらこっちも合ってる(BCM)
http://raspi.tv/2013/rpi-gpio-basics-6-using-inputs-and-outputs-together-with-rpi-gpio-pull-ups-and-pull-downs


GPIO.setmode(BOARDとBCM)の違いについて
http://mamerium.com/raspberry-pi-rpi-gpio-basic/

Raspberry Pi 2でGPIOが暫定的に使えない
開発中のコードはこちら
http://sourceforge.net/p/raspberry-gpio-python/wiki/install/

2013年8月9日金曜日

Macの標準VNCクライアント

Cotton Paper

http://d.hatena.ne.jp/shimtom/20111110/1320852590
Finderの[移動]->[サーバへ接続]と、まぁシンプルなオチ。

CentOSとかDebianとかではたまにifconfigが動かない

というのも/sbinにパスが通ってないらしい。

http://news.mali77.com/index.php/2010/03/ifconfig-not-working-centos/