Git newbie here, quick question. I mistakenly added files using the command "git add file". I have not yet run "git commit". Is there a way to remove these files from the commit?
in WPF, the System.Windows.Clipboard.getImage() function returns a BitmapSource object. As a newbie in WPF coming from a WinForms background, its not clear to me how to save this image to a file. What are the steps I must take?
Hi anyone know how to url cloaking in web pages ? ive seen it on webpages and free redriction services before...but i dont know how to do it server side - do u use htaccess???? im totally clueless....
Creating a server-side socket will fail if I'm trying to use the same port I've used before. An address-in-use error occurs.
(make-instance 'sb-bsd-sockets:inet-socket :type :stream :protocol :tcp)
How do I stop this from happening?
Hints and code snippets very welcome! (CL newbie here.)
Thanks!
Hello.
I know i am asking a silly question, the thing is I wanted to do a project where i am thinking to build a database with a front end using .net or c#. I am totally new to these languages. I thought posting here would give many experts advice. Can anyone tell me which book to prefer for it? (I would be glad if the book was a pdf online )
Thank you.
I'm using Delphi 7, totally new to database programming, and need ODBC. I am told that ADOExpress is a good way to go, and that seems fair enough as it comes with Delphi 7.
I need to programatically create, populate, modify and query a database (currently MySql, but that might change, hence ODBC). Can anyone recommend a good tutorial? Thanks.
RewriteEngine On
RewriteRule ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)$ index.php?p=$1&l=$2
RewriteRule ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/$ index.php?p=$1&l=$2
this works fine if I do site.com/param_one/param_two/, but returns a 404 when I omit param_two. I'm a newbie to routing requests with htaccess, is there a simple quick fix?
I'm a newbie to iframe.
I have a page that needs to call an iframe at another subdomain passing lots of data.
I'm wondering if it's possible to submit the iframe call using a POST instead of GET.
Thanks in advance
Hi everyone, forget my newbie question, but why finding by '2' or '2' in Mysql returns the same record?
For example:
Say I have a record with string field named 'slug', and the value is '2'. And the following SQLs returns same record.
SELECT * From articles WHERE slug='2'
SELECT * From articles WHERE slug='2'
Why didn't Apple implement copy and paste prior to iPhone OS 3.0? The answers I don't think are correct (but I could certainly be wrong) are:
They couldn't figure out how to do it and provide a good user experience
Some crazy multi-tasking or battery limitation
iPhone users didn't want or need it (this was Microsoft's argument and is totally specious)
Thoughts?
Hi, I'm a newbie to the world of ANN. I'm aware of the Gradient Desecent Rule and the Backpropagation Theorem. What I don't get is , when is using a bias important?
For example, when mapping the AND function, when i use 2 inputs and 1 output, it does not give the correct weights, however , when i use 3 inputs(1 of which is a bias), it gives the correct weights.
Hi
I'm doing programming with ASP.NET . I have no idea how to use JavaScript in ASP.NET Server Side controls ( Totally uncomfortable with it ) . Do you mind introduce me some resource for folks like my type , please ?
Hello, Linux newbie question I guess..
How can I find out where gem installs the gems on my Ubuntu 10 system? I want to read gem sourcecode and perhaps change things up a bit.
I'm just a newbie to ruby. I've seen a string method (String).hash .
For example, in irb, I've tried
>> "mgpyone".hash
returns
=> 144611910
how does this method works ?
Hi everyone,
i'm a newbie in using jasperreports. In my swing application i wanna show jasper viewer inside a jpanel or jframe..! can anyone help me out..?
Thanks in advance...!
Hi, Python newbie here.
I have a list L = [a, b, c] and I want to generate a list of tuples :
[(a,a), (a,b), (a,c), (b,a), (b,b), (b,c)...]
I tried doing L * L but it didn't work. Can someone tell me how to get this in python.
I've been reading the Head First iPhone Development book and I understand how to get to a new view from a table but how exactly would I be able to get to a new view or view controller, by just simply pressing a button? Is that even possible?
I mean there are some apps where you click a button, not a table cell and it loads a new view. How exactly is that done? If someone could help out a newbie it would be greatly appreciated!
Hey, super newbie question. Consider the following WCF function:
[ServiceContract]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)]
public class Service1
{
private static NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger();
[WebInvoke(UriTemplate = "",
Method = "POST",
ResponseFormat = WebMessageFormat.Json,
RequestFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Bare) ]
public SomeObject DoPost(string someText)
{
...
return someObject;
In fiddler what would my request headers and body look like?
Thanks for the help.
We are using Mysql.exe to restore database by the following query
string cmd ="-h" + ViewState["host"].ToString() + " " + "-u" +
ViewState["user"].ToString() + " " + "-p" + ViewState["password"].ToString() +
" " + ViewState["dbName"].ToString() + "<" + " " +
Server.MapPath("BackupFiles/") + path;
The same query is executing in MySql command prompt but we are not able to restore using the above query in VisualStudio .Net, we have tried MysqlImport.exe to do the restore but it was no use. we are newbie to MySql if any help would be appreciated.
Hello!
I know C# , but I am a total newbie regarding threading and I am having trouble to understand some basic (I think) concepts like signaling.
I spent some time looking for some examples, even here, without luck.
Maybe some examples or a real simple scenario would be great to understand it.
Thanks a lot in advance.
Running through an iPhone SDK book and one of the examples has me creating a table and then later adding a UISegmentedControl to the table for sorting.
I dutifully did this in IB, and it looks great:
When I run it in the simulator or my phone, it's totally squished:
The buttons work perfectly, it's just they are not sizing according to their content. Any ideas what's going wrong?
Here's the attributes I have set:
how to do the 3D Animation in java? what are the packages to be needed? i am very newbie about this topic. Sample Code, Tutorials and articles are more thankful. Tell me how i have to start please?
NOTE: its for Mobile Appication.