Hello,
I am using the curl found in /usr/bin/curl (Not the PHP Curl )
how do I pass authorization header using curl ?
It will be great if someone can reply.
Regards,
Mithun
I am getting a strange error when trying to display an applet on a page in my tapestry application. The error says that there is an incompatible magic value.
Is there a certain way to display applets in tapestry?
Any help would be great!
I've been looking all over for a simple example of how to have an action (or button) be triggered when the enter key is hit in the text field.
Should I subclass the text field? Would I need to set a delegate to call the action I need? Is there a way to catch the event in my main window controller class?
If you could even just point me to the right direction that would be great. Thanks.
Does anybody know a tool, preferably for the Explorer context menu, to recursively change the encoding of files in a project from / to UTF-8 and other encodings? Freeware or not too expensive would be great.
Edit: Thanks for the answers, +1 for all of them as they are all fine but I am a lazy bastard sometimes, and would really like to be able to just right click a folder and say "convert all .php files to UTF-8". :) Further suggestions are appreciated.
Hi
I want to create panorama view with opengl in android.
Is it possible using spherical view and centering viewpoint at the sphere center to
show bounded image on screen.
will this be good aproch , i havent used opengl but want to achive this effect in android
Am i going in right direction , any pointers for this will be great help .
thanx in advance.
Hi. I'm developing a simple database architecture in VisualParadigm and lately ran over next code excerpt.
IF EXISTS (SELECT * FROM sys.objects
WHERE object_id = OBJECT_ID(N'getType') AND type in (N'P', N'PC'))
DROP PROCEDURE getType;
Next goes my stored procedure:
CREATE PROCEDURE getType @typeId int
AS
SELECT * FROM type t WHERE t.type_id = @typeId;
Can anyone explain what does it mean?
P.S.: It would be great, if you may also check for any syntax errors as I'm totally new to MSSQL and stored procedures.
I want to create a dnn like page modules in asp.net mvc site. Can any one have idea how i can do that. I am using asp.net mvc2.
Any tip of code will be great help
Thanks in advance.
I have some idea that it is due to some complex calculation, but i want to know about what exactly happens which takes long time than the corresponding encryption process. Any link to webpage or paper would be of great help.
Thanks
Thanks for the answers, One more Doubt, What about the Signing and verification? Will this time difference be there for Signing and verification also? Ex. Signing requires more time than Verification?
Recently came across pidgin. Its great, and does what I want, but I am not too keen on the GPL license. Other any alternatives, with less restrictive licenses?
I would prefer the library to be C or C++, as I am most familiar with those languages, but a an IM library implemented in python would be interesting too.
if i use the custom css generator on their webpage i can have a wider width than 960? so isnt the name 960 kind of misleading?
and some persons say that you cant have a flexible grid system (that changes with your browser size) with 960. but you can download a fluid version from the custom css generator. so apparently they didnt know what they were talking about?
would be great if someone could straight these things out.
I recently watching this video on Google Chrome with great interest. It explains that Google Chrome uses one thread for IO, one for opening files and one for intermodule communication.
I think I may be able to use something similar for my own - currently quite messy - application.
I wondered if there were any good articles on best-practices or patterns for such threaded divisions of tasks?
Our small concern is entrusted with creating an Application on ASP.NET with client-server model. As we are almost done with the development we are creating a small team for Performance test. I have googled in the net about the topic but without much help. If anyone of you can share 'How, What and Why' about perf test, it would be great help.
hi,
im totally new to rails. here my question:
i made an app with articles and comments and use devise for authentication
sadly im only able to post 1 hyperlink so this is the middle part of my post with the files at gist: https://gist.github.com/771366
the article_id is pre selected in the comments/_form - but the user_id isnt. i googled a lot, tried value = session[:user_id] and others, but nothing worked
would be great if someone could tell me how it works ^^
thx
my issue is i need to wait 3-4 seconds after a button has been pressed before i can check for it, here is my code under button1_click:
While Not File.Exists(LastCap)
Application.DoEvents()
MsgBox("testtestetstets")
End While
PictureBox1.Load(LastCap)
I think i'm doing something really simple wrong, i'm not the best at VB as i'm just learning so any explaining would be great!
~Thanks
Hi frens
I'm planning to explore the possibilities on how to make a screen lock better (like pattern based). It will be great help if someone points out the difficulty level or where to actually start digging. This is going to be my project idea for minor research paper. What do u guys think or if anyone has more ideas worth exploring, I would like to consider it.
reagrds
I started a new project and created a local git repo with "git init" and now I have a few branches and everything works great.
However, since my webhosting company offers git hosting (details if you're curious), I'd like to push my entire repo to their servers to have a backup in the cloud in case something bad happens to my local repo.
How can I make the remote repo the "origin" since the repo was started locally?
I have over 1000 surveys, many of which contains open-ended replies.
I would like to be able to 'parse' in all the words and get a ranking of the most used words (disregarding common words) to spot a trend.
How can I do this? Is there a program I can use?
EDIT If a 3rd party solution is not available, it would be great if we can keep the discussion to microsoft technologies only. Cheers.
Has anybody used the ATK Framework? It is claimed to be geared toward developing apps for business use. Manipulating data, knowledge bases, etc... This is what I primarily develop (on the side-for my own use). The site hasn't given me a great overview of why it may be better than other frameworks.
What are your thoughts / experiences with this product?
I would like to split my strings in JAVA based on a regular interval, not on regex. This is what I have to split:
1 x3.1.105.41 1 -10
2 x4.1.105.41 0 -10
3 x12.1.105.41 0 -10
4 y3.1.105.41.19 1 0
5 y4.1.105.41.21 0 0
6 y1.1.105.41.23 0 0
7 y12.1.105.41.25 0 0
I would like to seperate each column. Currently, I use the strLine.spli function
Any help would be great!
currently I have this setup in our simple-hosts.conf:
url.rewrite-once = (
".*.(js|ico|gif|jpg|png|css|php|htm)(?.*)?$" = "$0",
"/slapi" = "/slapi/index.php"
)
Works great, except the above fails when I have a dot in the query string:
?url=http://google.com
My regexpy is not 1337
Hi everyone,
I've playing around with linux and noticed that for some mysterious reason commands like '/bin/sh ' just will not work. Each time I'm trying to start a process it yields 'cannot execute binary file' error message.
m@sanctuary:~$ sh sed
/bin/sed: /bin/sed: cannot execute binary file
When I first launch sh and try to execute sed, it succeeds.
I'm starting to loose my wits. It would be just great, if somebody could help me.
Thank you.
Hi,
I get a histogram picture in matplotlib which looks great. Now I realize I need a log scale on the y-axis, so I just add to the code:
ax.set_yscale('log')
but then, the histogram bars dissapear and I only get some sparse points, do you know waht could be the reason?
Thanks
Is a server essentially a background process running an infinite loop listening on a port? For example:
while(1){
command = read(127.0.0.1:xxxx);
if(command){
execute(command);
}
}
When I say server, I obviously am not referring to a physical server (computer). I am referring to a MySQL server, or Apache, etc.
Full disclosure - I haven't had time to poke through any source code. Actual code examples would be great!
I am new to C++ programming, but I have experience in Java. I need guidance on how to pass objects to functions in C++.
Do I need to pass pointers, references, or non-pointer and non-reference values? I remember in Java there are no such issues since we pass just the variable that holds reference to the objects.
It would be great if you could also explain where to use each of those options.