`
jianxm
  • 浏览: 46754 次
  • 性别: Icon_minigender_1
  • 来自: 南京
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表
QRCode for Ruby on Rails A plugin for Ruby on Rails to generate QRCode. About This plugin use javascript to generate QRCode. The original javascript program is developed by Kazuhiko Arase. (http://www.d-project.com/qrcode/index.html) Usage In your rails project, install the plugin by following com ...
str % arg -> aString  Format---Uses str as a format specification, and returns the result of applying it to arg. If the format specification contains more than one substitution, then arg must be an Array containing the values to be substituted. "%05d" % 123  » "00123"  &qu ...
昨天把原来JBuilder下的J2ME程序想移植到NetBeans IDE,碰到了小问题,解决了,以为大功告成,可是在今天又碰到了问题,把生成的JAR文件传到我的很老的手机(MOTO C550),手机认为不能识别的文件,不能安装。 通过对比JBuilder IDE发现,JBuilder编译时用的参数javac.target=1.2,可是在NetBeans IDE,设置J2ME项目属性中没有javac.target选项,只能通过修改nbproject\project.properties才能修改javac.target 修改后javac.target后,重新编译,把JAR文件上传到手机,安装成 ...
以前一直用JBuilber作J2EE开发,最近一年来因为主要作ROR项目,主要用NetBeans了。因为以前在JBuilder作了些简单的J2ME小工具软件,前几天心血来潮,想把它们放在NetBeans IDE里编译、调试,编译是没有任何问题,可是运行项目时,总是不能出来想像中应该出来的模拟器,不知什么原因,觉得不应该啊,因为我用的是官方完整安装包。 查看Tools -> Java Platforms,有J2ME -> Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC,以为NetBeans J2ME配置有问题,就想重新配置,于是Add Pla ...
参考 http://blog.csdn.net/sanyking/archive/2007/09/04/1772372.aspx 但noisy_image.rb在linux下会出错,要改为 class NoisyImage require 'RMagick' include Magick attr_reader :code, :code_image Jiggle = 15 Wobble = 15 def initialize(len) chars = ('a'..'z').to_a - ['a','e','i','o','u'] ...
Global site tag (gtag.js) - Google Analytics