search for: mazurek

Displaying 20 results from an estimated 24 matches for "mazurek".

2006 Jun 09
8
Installation on OSX...
...looks like DarwinPorts is over a month out of date. I went to look at Fink to see if it had mysql, and it does, but it would appear to be the same problem. Is my timing just unlucky? Or are there newer instruction updates that haven''t been put into the wiki? Thanks, Brad -- Bradley Mazurek
2006 Apr 18
2
link_to_function onmousedown
Hi, Is there some way to produce an anchor that looks like the following using helpers, or should I just code it in the rhtml like this? <a href="#" onmousedown="javascript:foo(); return false"> Thanks, Brad -- Bradley Mazurek
2006 May 24
1
How to marshal Javascript data?
...want to send the data to the server. How do I marshall that data up and send it to the server? Do I have to somehow wrap all this in some sort of form containing only hidden fields? Am I coming at this from the right direction? What''s the right way to do it? Thanks, Brad -- Bradley Mazurek
2006 Apr 04
1
Manipulating has_many :through associations
...oo belongs_to :bar If I have an instance of foo and an instance of bar, how do I add the association between the two of them? my_foo.bars << my_bar or (inversely), my_bar.foos << my_foo or do I somehow need to manipulate the join model explicitly? Thanks, Brad -- Bradley Mazurek
2006 Mar 17
2
How to let the layout be more OO?
I am confused about the @content_for_layout.''cause it will display all the views in the layout.Do I have any methods to let the layout be more OO? I mean that for example,the app currently have more than one views to be displayed,but only some of them to be displayed at the same time at different <div></div> units. I hope there exists a kind of way that: <%= if
2006 Mar 08
1
Components calling components...
...emplate. Here''s the problem: When I put my template in (regardless of content: empty file, only HTML, etc) and reload I get a bus error and a core dump. I''m using WEBrick, Rail 1.0.0, ruby 1.8.4 on FreeBSD 5.4. Any ideas on what I may be doing wrong? Thanks, Brad -- Bradley Mazurek
2004 Aug 16
2
randomize Dial() target
Hi, is it possible to randomize extension which would be choosed by Dial()? I would like to forward phone calls to one of sales rep in randomized way (not to harm anyone;) ). tia mazek -- http://www.marcinmazurek.com/ ::: nic-hdl: MM3380-RIPE GnuPG 6687 E661 98B0 AEE6 DA8B 7F48 AEE4 776F 5688 DC89
2004 Apr 18
4
Intel 536ep as a FXO?
Hi, I've seen some reports about ruuning Intel modem with 537 or MD3200 chipset running with Zaptel drivers as a FXO port. Did anybody managed to set up a PCI faxmodem based on Intel536ep chipset to work with * and Zaptel drivers? Modem seemd to work just fine with Linux, but the driver says no;) some more info: Linux 2.4.26 mazuchna:~# cat /proc/pci | grep 536 Communication
2006 May 25
0
Double Render Error...
...m in via an after_filter (or when using them in a before_filter with the login engine and access a protected method), I get a double render error. Shouldn''t I be able to render a partial to a string, regardless of whether render may have already been performed? Thanks, Brad -- Bradley Mazurek
2006 Mar 08
0
Can components call components?
Is a component supposed to be able to call another component (which presumably could call another component)? Brad -- Bradley Mazurek
2006 Mar 12
0
Unexpected attribute modification
...ar.id (-> 345678) How is @left_sidebar being modified by @right_sidebar= ? If I do this: left = render_to_string(...) right = render_to_string(...) @left_sidebar = left @right_sidebar = right I seem to be okay. What am I missing and/or not understanding? Thanks, Brad -- Bradley Mazurek
2006 Mar 16
0
Conflicting Attributes in Model and Join Table...
...en. I think that the user_id from the join table is being merged into my Post instance. What would you do differently so that there was no collision between my Post''s user_id (the author) and the join table''s user_id (for whom this post is a favorite)? Thanks, Brad -- Bradley Mazurek
2004 Aug 19
1
chan_phone - compilation problem
...e[1]: Leaving directory `/usr/local/src/avm/asterisk/asterisk/channels' make: *** [subdirs] Error 1 I have symlink "/usr/src/linx". It's a _fresh_ checkout, not an update. WWW says I need 2.4 kernel. Will asterisk compile and work on 2.6 kernels? tia mazek -- http://www.marcinmazurek.com/ ::: nic-hdl: MM3380-RIPE GnuPG 6687 E661 98B0 AEE6 DA8B 7F48 AEE4 776F 5688 DC89
2004 Nov 30
1
wanic 520 with asterisk card
Hi, has anyone been trying to use wanic520 card with asterisk? It's E1 card, but I can't find any info about asterisk and wanic cooperation. anyone? tia mazek -- http://www.marcinmazurek.com/ ::: nic-hdl: MM3380-RIPE GnuPG 6687 E661 98B0 AEE6 DA8B 7F48 AEE4 776F 5688 DC89
2004 Dec 19
1
TE110P - problem with zone from zaptel.conf
...E) failed: Invalid argument Notice: Configuration file is /etc/zaptel.conf line 206: Unable to register tone zone 'pl' I've got loadzone and defaultzone set to pl, and there is a definition of that zone in zonedata.c but it doesn't work. Any hints? tia mazek -- http://www.marcinmazurek.com/ ::: nic-hdl: MM3380-RIPE GnuPG 6687 E661 98B0 AEE6 DA8B 7F48 AEE4 776F 5688 DC89
2007 Feb 17
2
HOW to enable traceroute with IPTABLES
Hi, I am setting up a firewall on CENTOS 4.4. I have done default block iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT DROP I have enabled ICMP to www.google.com iptables -A OUTPUT -p icmp -d 64.233.189.104 -j ACCEPT iptables -A INPUT -p icmp -s 64.233.189.104 -j ACCEPT Ping works fine as below [root at firebox rc.d]# ping 64.233.189.104 PING 64.233.189.104 (
2007 Jan 30
2
Accessing an external USB disk
I was able to remove the NTFS partition and repartition the HD as a type Linux (83). Next I created the ext3 file system. If I reboot with the USB drive attached, the boot process hangs, however if I turn off the drive, boot and then turn it on, all is fine. # cat /etc/fstab shows the drive, but I am not sure how to use it for a backup nor do I know how to access it. Any help would be
2006 Mar 10
1
Problem rendering components
I have an AccountsController that inherits from ApplicationController. In ApplicationController I define a generic layout. In this layout I render @title that is actually assigned in the AccountsController but has a default value in ApplicationController. In the layout template, I also have the standard contents_for_layout and lastly, I have a render_component. The component called from the
2006 Apr 08
5
If-Else Conditionals in Views
I find myself doing the following quite a lot: <% if user %><%= user.name %><% else %>Anonymous<% end %> I know that if I dont care about an else I can just do: <%= user.name if user %> Is there any simpler way to handle the else? This is a simple example so it''s not really an issue.. but for more complicated tests this gets quite tedious. -- Posted
2004 Apr 26
8
Intel 537ep
...pstn call. So far Asterisk registers my modem. What do i do next. I couldnt find any help setting up my modem. p.s: can any one tell me the full extent of modem functionality in asterisk ( AND please dont mention digium cards... i am talking about cheap analogue voice modems here) --- Marcin Mazurek <M.Mazurek@netsync.pl> wrote: > Hi, > > I've seen some reports about ruuning Intel modem > with 537 or MD3200 > chipset running with Zaptel drivers as a FXO port. > Did anybody managed > to set up a PCI faxmodem based on Intel536ep chipset > to work with * and &gt...