2010-11-01ãã1ã¶æéã®è¨äºä¸è¦§
ERROR ArgumentError: negative length -42 given
http://rubyforge.org/tracker/download.php/61/321/9924/1800/ruby-serialport-0.6.0-mswin32-gem.zip ã«ãããé©å¿æ¸ã¿ã®ruby-serialport 0.6.0ããã 0.7ã¯linux/macã§ä½¿ãæ¹ãããããããªãã£ãã®ã§ä¿ºã¯0.6ã使ã£ã¦ããç¹ã«åé¡ãªãããwindowsã§ã0.6â¦
ãªããã¢ãã¡ã¢ã¤ã³ã³ã®è¨äºãä¸è¦§ã«åºã¦ããªã
48x48ã§33æ â ok!! 48x48ã§100æ â ã ã 49x49ã§20æ â ã ã uploadããã¨ãã¾ãã¢ã¤ã³ã³ã¢ãããã¼ãç»é¢ã§ç»åãããããã®ãã¼ãã£ã³ã°ã«ãªãã 次ã«twitter.com/homeã«è¡ãã¨å³ä¸ã«ã¢ãã¡ã¢ã¤ã³ã³ãã§ãããã«ãªãããããã°ã«ã°ã«ãã¦ãã®ã§ãã°ããå¾ â¦
mac㧠sudo port install ffmpeg +gpl +lame +x264 +xvid +faac +liogg +vorbis +theora ã§chrome, safariã®html5 video tagã§åçã§ããåç»ãx264+faacã§ä½ã ffmpeg -i input.mov -s 320x240 -acodec libfaac -ac 2 -vcodec libx264 -vpre default -sameqâ¦
https://forums.ubuntulinux.jp/viewtopic.php?pid=61840 ãªããpostfixã¾ã§å ¥ããããã®ã§ããã¨ã§æ¶ããããæ¶ãã¨debhelperã¾ã§æ¶ããã»ã» sudo apt-get install g++ python libibus-dev libcurl4-openssl-dev libssl-dev zlib1g-dev libdbus-1-dev libglâ¦
http://d.hatena.ne.jp/Artisan/20080522/1211403939ãã¹ã¯ããããã¨ããDesktopã«ãªã LANG=C xdg-user-dirs-gtk-update
https://wiki.ubuntulinux.jp/UbuntuTips/Hardware/ExtensionOfMouseButtonWithXbindkeysAndXvkbd xevä¸å¤®ï¼2ã横8ã ã£ã ã¡ãªã¿ã«å·¦ã¯ãªãã¯ã1ã§å³ã¯ãªãã¯ã3ã cat /proc/bus/input/devices | grep "^N:"N: Name="Macintosh mouse button emulation" N: â¦
åè http://maketecheasier.com/enable-flash-support-in-google-chrome-in-ubuntu/2009/08/19 http://labs.adobe.com/downloads/flashplayer10.html ãã64bitã®flashplayerããã¦ã³ãã¼ããã¦ãã wget http://download.macromedia.com/pub/labs/flashplaâ¦
terminalå ãªãctrl+a,e,f,b,n,pã§ã«ã¼ã½ã«ç§»åã§ãããã©ãchromeãfirefoxã®ä¸ã§ã§ããªãã®ã§ã§ããããã«ããterminal㧠gconf-editor/desktop/gnome/interface/gtk_key_theme ã Emacs ã«å¤æ´ é ã¯å¤§æåã§ã ããã§ä¸æ¦ãã°ã¢ã¦ããåèµ·åããã°ctrl+a,â¦
oauthã¨ã使ãã¨ã¨ã©ã¼ "no such file to load -- openssl" 解決ãã sudo apt-get install libssl-dev~/.rvm/src/ruby-1.8.7-p302/ext/openssl ruby extconf.rb make make install ã©ãããaptã§å¿ è¦ãªããã±ã¼ã¸ãå ¥ããåã«rvmã§rubyãä½ãã¨ãããªãããâ¦
ubuntu10.04ã«rvmã§å ¥ããruby1.8.7, 1.9.2ã§irbã使ã£ãã Readline was unable to be required, if you need completion or history install readline then reinstall the ruby. You may follow 'rvm notes' for dependencies and/or read the docs page hâ¦
http://dancingpenguinsoflight.com/2009/01/fixing-the-function-keys-on-the-apple-keyboard-in-ubuntu/Ubuntu10.10ã§appleãã¼ãã¼ãã使ã£ã¦ãããã ãã©F7ã§ã«ã¿ã«ãã«ç¢ºå®ãããæã¨ãã«Fnãã¼ãåææ¼ãããªãã¨ãªããã®ãé¢åã ã£ãã /etc/rc.localâ¦
exiftoolãå ¥ãã sudo port install p5-image-exiftoolgem install mini_exiftool#!/usr/bin/env ruby require 'rubygems' require 'mini_exiftool' exif = MiniExiftool.new ARGV.first w = exif['ImageWidth'] h = exif['ImageHeight'] rot = exif['Rotatâ¦
http://blog.browncat.org/2008/08/ubuntu_804httpsredmine.html http://docs.komagata.org/4016 sudo a2enmod ssl ãªã¬ãªã¬è¨¼ææ¸ãä½ã é©å½ã«è³ªåã«çãã openssl req -new -nodes -keyout server.key -out server.csr openssl x509 -in server.csr -outâ¦
ruby -e 'IO.open(IO.sysopen("/dev/cdrom",File::NONBLOCK)){|io|io.ioctl(0x5309)}'ruby -e 'IO.open(IO.sysopen("/dev/cdrom",File::NONBLOCK)){|io|io.ioctl(0x5319)}'åè http://d.hatena.ne.jp/n9d/20090122/1232592242
sudo apt-get install apache2-prefork-dev sudo gem install passenger sudo passenger-install-apache2-module /etc/apache2/httpd.conf ã«è¿½è¨ LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/apache2/mod_passenger.so Pâ¦
åèï¼Ubuntu8.04 on ML115ãWake on LANã§é éèµ·åãã - sous le grand arbre èµ·åããã®ããããã®ãUbuntuã§ãèµ·åãããæ¹ã¯ubuntu10.04ã®ãã¹ã¯ããããã·ã³ã§ãéçºç¨ãªã®ã ãé»æºå ¥ããªãã§å®¶ãåºã¦ãã§ãèµ·åããªãã¨éçºã§ããªãã»ã»ã¨ããäºããâ¦
pushããã¨ãããªã¨ã©ã¼ãåºã error: refusing to update checked out branch: refs/heads/master error: By default, updating the current branch in a non-bare repository error: is denied, because it will make the index and work tree inconsistenâ¦
URLé·ãã®ã§çããã javascript:location.href="http://jp.rs-online.com/web/"+location.href.split("R=")[1]+".html"
git clone http://github.com/timmyc/sinatra-authentication cd sinatra-authentication rake build gem install pkg/sinatra-authentication-0.3.2.gemmongoid 2 betaã ã¨åããªãã£ã½ãã»ã»
ruby-1.8.7-p302 > ERB::Util.url_encode 'http://ãããã' => "http%3A%2F%2F%E3%81%82%E3%81%82%E3%81%82%E3%81%82" ruby-1.8.7-p302 > CGI.escape 'http://ãããã' => "http%3A%2F%2F%E3%81%82%E3%81%82%E3%81%82%E3%81%82" ruby-1.8.7-p302 > URI.encâ¦