I am trying send user profile images from a client to the server using ActiveResource.
Is there a gem/plugin that adds Multipart support to ActiveResource?
I used jquery stepcarousel plugin for my gallery in my application it works but what happens is when i navigate through images i can see new image flickers for few seconds and then shows up.... Any tips to avoid it....
This code get's the currently logged in user, using the Spring Security Plugin (acegi):
def principalInfo = authenticateService.principal()
def person = null
if (principalInfo != "anonymousUser" && principalInfo.username) {
person = Person.findByUsername(principalInfo.username)
}
I would like then do:
session.user = person
This needs to be done after the user logs in. I can't figure out where to put my code to do this. It seem like it should be some place in the Login Controller, but I can't see where.
Using scrollTo plugin to animate scroll effect:
http://plugins.jquery.com/project/ScrollTo
http://demos.flesler.com/jquery/scrollTo/
Tryed this code:
$(".top-scroll").hover(function(){
$("body").scrollTo($(".top-corner"), 2000);
},function(){
$("body").stop().scrollTo();
});
It must start to scroll when we hover .top-scroll block (mouseover) and stop when we hover it out (mouseleave).
Start works, stop - not.
How to fix?
Thanks.
I'm using a jQuery plugin called InfiniteScroll (https://github.com/paulirish/infinite-scroll) and I have a URL with this pattern: '/category/2/', when I paged the result I use the following pattern: "/category/2?page=2".
When Infinite Scroll makes de request, he increments the wrong number, in the case above, the request is: "/category/3?page=2" in place of "/category/2?page=3".
Anyone knows how workaround this?
Hello,
I currently am displaying dates as follows "yyyy/mm/dd" in a wordpress blog (it needs to be input in this format because a plugin is using it to define a post expiration date). I want to use jQuery to locate all of these strings on a page (they're all in table cells) and reformat them to "mm.dd.yy"
The site is:
http://www.beattrainsoundsystem.com/category/gigs
The dates also exist in the footer on every page which I would also like to change.
Thanks!
I am trying to validate html select element using jQuery Validate plugin. I set "required" rule to true but it always passes validation because zero index is chosed by default. Is there any way to define empty value that is used by required rule?
Hi,
I'm a big fan of Resharper in visual studio. It has some awesome refactoring tools, similar to what you get in Ecplipse for Java. Is there anything like this for Ruby? Better yet, is there a plugin or something into VIM that does refactoring for Ruby code like renaming all instances of a method or variable, renaming classes sitewide, etc?
thanks,
craig
Hi there,
I've got some osgi plugin development going on. I've created a launch configuration in my eclipse IDE, which adds all required bundles to my runtime. Is there any possibilty to export/convert the eclipse launch config to a config.ini which I can use on my standalone equinox env?
When viewing a jpg or mp3 in Windows Explorer, the bottom pane shows metadata from the media file. Furthermore, for video and picture, the icon is shown as a preview of the media.
Is there a way to add this kind of functionality to windows for custom file types that aren't supported by default in windows? Is there a certain sort of plugin or extension that must be written? If so, how is it implemented?
Thank you.
Hi all ,
I need your advice deciding on a new project architecture I'm going to implement.
Can I use MEF and Prism side by side?
Is it too complex to accomplish this?
Can make the same stuff Prism does with MEF?
Right now, two features Prism gives, but are not in MEF are Regions and the Event Aggregator. Can I do everything else with MEF, rather than Prism?
Thanks in advance ...
i have some problems with linking nasm program for macos:
GLOBAL _start
SEGMENT .text
_start:
mov ax, 5
mov bx, ax
mov [a], ebx
SEGMENT .data
a DW 0
t2 DW 0
fry$ nasm -f elf test.asm
fry$ ld -o test test.o -arch i386
ld: warning: in test.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: could not find entry point "start" (perhaps missing crt1.
fry$ nasm -f macho test.asm
fry$ ld -o test test.o -arch i386
ld: could not find entry point "start" (perhaps missing crt1.o)
can anyone help me?
I am using acegi-0.5.2 and was able to make myOpenID account work (had to add http://.myopenid.com/ in the database). Now, I'm wondering how to make the Google and Yahoo openid URL work. I'm using these URLs:
https://www.google.com/accounts/o8/id
http://yahoo.com/
Any help on how to make them work? Do i need to install this plugin?
Thanks in advance.
Hi,
I have seen few UMl eclipse plugins,but I have nt find option to give project for UML diagram, which will generate class diagrams depends on oops relation to one class to other class,
can anybody tell me which plugin I use to generate UMl diagrams to my project ?
Hi,
I implemented an IE plugin (ActiveX) that has some inputbox controls on it. Each time when I press TAB or Backspace, the container (main IE window) will also process those events. Is there any way to stop propagating the WM_KEYDOWN to the parent window?
Thanks,
Cristian
I'm on a Mac and I'm trying to make a Vim plugin for compiling/running actionscript files.
First, I need to run mxmlc on the command line, but to do that I have to keep on typing the path to it. Where do I place it so that I don't have to retype the path?
I am talking about rails resource_controller gem plugin here:
Basically when I am doing json format, I would like to completely suppress the flash notice if possible, trying to call flash "" will fail, while calling flash[:notice]="" doesn't look really nice either. Is there some better approach?
Can someone shed light on how to setup by_star gem: https://rubygems.org/gems/by_star?
I ran ruby script/plugin install git://github.com/radar/by_star.git.
However, when I went to call a by_star method in one of my models from console, I got an undefined method error.
Do I need include or require statement? Could I be missing dependent gems? Ruby version issue?
Hi!
I have installed Visual Studio Team System 2008 Architecture version: 9.0.30729.1 SP and Microsoft Net Framework 3.5 SP1.
When I'm going to add a new item I can't find ADO.NET Entity Data Model template.
What's happening?
Thanks!
I am using Git Version Control witht he JGit Plugin for the eclipse IDE. when I changed the location of my repo, and when to push to the new repository. I am receiving the following error message.
Cant connect to any repository:
git+ssh/username@remoteIPAddressgoeshere/srv/wma/git
Transport error occured during push operation:
Java.IOException: Channel is Broken)
i am trying to experiment with Juggernaut plugin using chat_sandbox example.
i get this error message
Juggernaut: There has been an error connecting on 127.0.0.1:5001
I have no idea what it means.
my juggernaut.yml is as follows
:hosts:
- :port: 5001
:host: 127.0.0.1
:public_host: 127.0.0.1
:public_port: 5001
# :secret_key: your_secret_key
# :environment: :development
Thanks in advance.
Where do the JFace providers belong in an MVP or MVC architecture? Or should Provider pattern be treated as a different way of View-Model separation? If so, is it the same as the ASP.NET Provider pattern?
Is there an article on a proper design of JFace applications using Providers?
In Eclipse 3.4 for Windows, the Source - Format option for formatting Java code was extended to format HTML code. However, for OS X, this option is disabled. Additionally, there are no formatting options in the Preferences. I've downloaded all the Web Tools for Eclipse and the option is still unavailable.
Which plugin/feature allows for HTML formatting on Eclipse OS X, if there is one? Otherwise, what is a good Web-based alternative?
Thanks,
Adam
Is is possible to do the following from a Visual Studio 2010 plugin? If yes, how?
Run all unittests in solution (with code coverage enabled)
Wait for all tests to complete
For successfully completed tests: Determine which methods were called during each test (directly by the test or indirectly by the tested methods).
What I actually don't know is how to interact with the testing framework...