Displaying 20 results from an estimated 1000 matches similar to: "How to close Frame?"
2008 Apr 30
3
pretty url
I want to write a permalink like /year/month/day/title, code is as follows:
self.permalink = "#{now.year}/#{now.month}/#{now.day}/#{title}"
in the view, I use restful url post_path(@post). And in the html source
code, the url is /posts/2008%2F4%2F30%2FTest
You can see, the ''/'' is replaced by "%2F", which is not I expect.
How not to replace the
2007 Apr 26
2
Bitmap in Toolbar display only a quarter of picture on Windows XP
I don''t know why the bitmap in toolbar displays only a quarter of picture on
Windows XP, but it displays OK on Ubuntu.
The attachments are results both on Windows XP and Ubuntu
--
flyerhzm@hotmail.com
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2009 Sep 13
0
regrex_crawler -- a crawler which uses regular expression to catch data from website
RegexpCrawler is a crawler which uses regular expression to catch data
from website. It is easy to use and less code if you are familiar with
regular expression.
The project site is: http://github.com/flyerhzm/regexp_crawler/tree
I give an example: a script to synchronize your github projects except
fork projects, , please check example/github_projects.rb
require ''rubygems''
2012 May 22
1
rails-brakeman.com, an online service to find security issues in your rails projects
Hi,
I just released rails-brakeman.com, it is an online service to find
security issues in your rails projects, it works based on Justin''s great
gem brakeman <https://github.com/presidentbeef/brakeman>.
Rails developers always write code fast, but sometimes they leave some
security issues in their rails project. Do you still remember mass
assignment issues from github? Using
2007 Jun 25
2
Problem
This is the source code generated by SaltedLoginGenerator
@params[''user''].delete(''form'')
Can anybody explain what the delete message do?
--
http://sourceforge.net/projects/mycodeline/
http://rubyforge.org/projects/ropenwiki/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2007 May 01
1
Text of Status Bar always disappear
The first time I create the status bar by call
@sb = create_status_bar
@sb.set_status_text(''Welcome to use Code Line Statistics'')
it works perfect. But when I click a tool bar button that trigger an event,
and call
@sb.set_status_text(''Finish'')
if the mouse is on the button, the text of status bar is "Finish"; but once
the mouse is out of the
2007 May 01
1
How to insert item to ListCtrl
The only way I know to use ListCtrl is to call ListCtrl#set_item_count and
define a callback function on_get_item_text(item, col)
How can I insert Listitem one by one, that each Listitem is composed with
several string
--
flyerhzm@hotmail.com
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2009 Sep 30
5
A rails plugin to generate css sprite image automatically
Hi guys,
I have written a rails plugin/gem to generate css sprite image
automatically.
The project repository is here: http://github.com/flyerhzm/css_sprite
It is based on RMagick and you need only define a rule from what
source images to a destination image, as follows:
forum_icon_vertical.gif: # destination image file
sources: # source image file list
- good_topic.gif
2006 Mar 19
2
Functional Testing
Hey all,
I have a many-to-many relationship (Questions
has_and_belongs_to_many Answers), and when I destroy
the Question (the one) I also destroy all the Answers
(the many).
Since the following doesn''t seem to work for
has_and_belongs_to_many:
class Question < AR::Base...
has_and_belongs_to_many :answers, :dependent =>
:destroy
end
I have this embedded in a transaction block
2007 Jan 19
2
[Xen-ia64-devel][PATCH] Fix Xen crash when creating VTI in some machines.
Xend will do a hypercall to destory domain when creating VTI guest fail.
If "is_vti"
not be set at this point, HV will call relinquish_vcpu_resource() which
belong
to domU. It may try to free a NULL pointer, so dom0 crash.
This patch fix it.
Signed-off-by, Zhang Xin < xing.z.zhang@intel.com >
Good good study,day day up ! ^_^
-Wing(zhang xin)
OTC,Intel Corporation
2006 Jun 22
1
Active Record question, orphaned children
I have a Deck object and a Card object with their corresponding tables. (You
know a deck of cards.) When I destory a Deck it leaves orphaned cards in
the database. Is there a way to set up the objects with ActiveRecord so that
when a parent object is destoryed the child objects are destroyed as well?
My code below.
class Deck < ActiveRecord::Base
has_many :cards
end
class Card <
2011 Jul 28
2
rails 3 routing error
Here''s the error:
1) SessionsController GET ''new'' should be successful
Failure/Error: get :new
ActionController::RoutingError:
No route matches {:controller=>"sessions", :action=>"new"}
# ./spec/controllers/sessions_controller_spec.rb:8:in `block (3
levels) in <top (required)>''
2) SessionsController GET
2017 Mar 17
2
Re: VIR_ERR_OPERATION_INVALID from virDomainDestroyFlags call
"Daniel P. Berrange" <berrange@redhat.com> writes:
> On Fri, Mar 17, 2017 at 11:55:13AM +0100, Milan Zamazal wrote:
>> Hi, we experienced a strange, non-reproducible error after a successful
>> migration to another host. When we called virDomainDestroyFlags with
>> VIR_DOMAIN_DESTROY_GRACEFUL flag after the migration on the source host,
>> we got
2013 Apr 07
1
reset = destroy start
what is different between destroy -> start and reset in virsh?
i meet this position , when i reset a domain, it cannot start , it stoped at initialize initd.but when i destory it ,and start it , it can run normally.
i am very confuse about them.
who can tell me the difference....
thanks a lots.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Dec 21
1
Continous decoding of several audio files without destroying speex_decoder
Hi All,
We are using speex decoder only for narrow band decoding.
Quite often, even though source frame is not silence, decoded audio is
silence.
I wonder there is a problem in the way we uses speex decoder API.
Basically, we initialize speex decoder only once and just reset the decoder
before we decoding another file.
Do we need to intialize speex decoder and destory decoder for each audio
file
2010 Jan 07
0
flyerhzm-metric_fu = metric_fu + rails_best_practices
I have forked metric_fu and add rails_best_practices to it.
rails_best_practices is a great gem to check your rails app codes and
give you some good suggestions for better rails codes.
The repository of flyerhzm-metric_fu is here: http://github.com/flyerhzm/metric_fu
The repository of rails_best_practices is here:
http://github.com/flyerhzm/rails_best_practices
--
You received this message
2019 Jan 18
1
stuck in pxe loop from uefi + tianocore/ovmf
Hello all, hope all is well
Was wondering if I'm doing something wrong/missing something.
I have pxe+tftp+uefi working between 2 vms. However after the build is
done and I reboot, I still come up to pxe b/c tianocore always starts,
from what I've seen, with trying PXE first. Great for initial builds
:) but I would like to it stop after.
In the xml I am pointing to the disk to boot first.
2013 Feb 01
0
watch ruby/rails conferences' videos and slides on your iphone/ipad
Hi guys,
There are many ruby / rails conferences every year, like RubyConf,
RailsConf and JRubyConf, a lot of great sessions. I built an ios app named
ConferencesBox<https://itunes.apple.com/us/app/conferences-box/id594774178?ls=1&mt=8>,
which collects ruby and rails conferences'' videos and slides, so that you
can watch them on your iphone or ipad, try it
2010 Aug 16
0
rails_best_practices gem 0.4.0 released
Hi,
I have released rails_best_practices 0.4.0, rails_best_practices is a code
metric tool for rails codes, from 0.4.0, it can check the rails3 codes
better.
The project repository is here:
http://github.com/flyerhzm/rails_best_practices
In addition, if you want to add your rails best practices into the gem,
please post your best practices on http://rails-bestpractices.com
--
Best regards,
2007 Feb 14
0
Asterisk & CME integration using h323
Hi all, I'm trying to trunk my asterisk with a cisco cme 3.3 using h323.
Cisco conf:
dial-peer voice 8 voip
destination-pattern 2...
session target ipv4:<asterisk ip>
codec g711alaw
no vad
h323.conf
[general]
port = 1720
bindaddr = 0.0.0.0
;tos=lowdelay
;
disallow=all
allow=alaw
allow=ulaw
allow=gsm
context=from-internal
extension.conf
[from-internal]
exten =>