I have a database (mdb file) that I am currently busy with. I would like to know if it is possible to generate MySQL code that would be used to create this database?
I need to know what exactly this code does.. or how this can be used..Actually I used this to repeat the image as a background for the menu .. Need explanation for this..
url("images/home_bg.jpg") repeat-x scroll 0 0 transparent
have the tweetmeme button on my site (http://SweatingTheBigStuff.com) and I want to add a facebook button BELOW it.
Right now the tweetmeme settings show:
float: right; margin-left: 10px;
What's the best Facebook plugin for this and what settings do I need?
I think the Simple Facebook Share Button should be good but I'm not sure the bit of code I should put to move it below the tweetmeme button.
I'm writing some Erlang code and I'm very unsure whether I should let everything fail fast. One problem I find with fail fast is that for the developer/user the exception generated is pretty meaningless. Any idea what I should return which would not give esoteric and hard to read stack traces?
Hi,
I'm creating an Eclipse plug-in which amongst other things creates a new perspective. I want to I execute some code when the perspective loads. Previously I was doing this through createInitialLayout of IPerspectiveFactory but then I realized that this is for defining the page layout only and is usually called when when launching the perspective for the first time only.
Is this possible please?
Thanks and regards,
Krt_Malta
hey in my application i have to give user an option called "BLUETOOTH"
Is it possible that i can put it ON or OFF from my code
i have no idea....
Am i doing right or just trying to do unnecessary work
I want some default values in my combo boxes but can't seem to figure out how to do this without writing a module that populates the combo boxes. How can I manually fill in the combo boxes so I don't have to use code to do something so simple.
Thanks
I have a php page that takes in a bunch of url parameters and sends out an email. I am trying to have this page call another web page using the same url parameters, after the mail is sent. If I do the following, will my email be sent reliably? Is a redirect what I really want to do?
Random code to send email...
header('Location: http://www.othersite.com/' + $_SERVER["REQUEST_URI"]);
We need to INSERT 2000 records into SQL DB from C# .Net code.
For this is there any way to INSERT all 2000 records at a time instead of executing the INSERT query for each record.
Also how would be the performance impact of doing this?
Thanks & Regards
Padma
Hi
Below ASP code have some error in 'Dim MonthNum=Month("Ctxtdatefrom") '
Can help to solve this.
......
If session("cmbLeaveType")=2 then
set rs2 = objconn.execute("select * form Particulars where empid='" & session("empid") & "'")
if ChildNationality = ABC then
Dim MonthNum=Month("Ctxtdatefrom")
Dim MonthNum2=Month("ctxtdateto")
If(MonthNum=5 and monthnum2=5)
if tdays1 then
else
set rs = objconn.execute("insert into leavebank (empid, datesubmit, datefrom, dateto....
END IF
END IF
END IF
END IF
I was looking at twitters embed code and saw that they are using !function ... while i know that this evaluates to false I was wondering what the point of it was.
thoughts?
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
I put some jquery in my website that makes the text move to the right when the page changes. It works in firefox and safari but it doesn't work in internet explore. My url to my website: http://katieduck.com/Courses/Improvisation%20Winter%20Course%20Dartington.html
Here is the code that is nnot working:
$(document).ready(function() {
$('#tabvanilla ul').tabs({ fx: { height: 'toggle', opacity: 'toggle' } });
$('#featuredvid ul').tabs();
});
Maybe you can find out what is wrong
thanks,
Ilaria
Hey!
Has anybody used a good obfuscator for PHP?, I've tried some but they dont work for very big projects. They can't handle variables that are included in one file and used in another, for instance.
Or do you have any other tricks for stopping the spread of your great code? :)
I've just found in my java project this code snippet:
List<IssueType> selectedIssueTypes = new ArrayList<IssueType>();
for (Object item : selectedItems)
selectedIssueTypes.add((IssueType) item);
How do you think, can this style be used?
Question is simple for an expert:
Integer[][] res= new Integer[][] {.....hard code some values here on 2 dim...}
How to I return here 2 rows and 3 values like this
1 2 3
4 5 6
hi guys, can anyone help me how to write code for checking spellings in android?
or can anyone provide me the sites which will be useful to me.
thanks in advance
any help will be appreciated.
Dear all,
I would like to know what the snippet of code does..
Drives = GetLogicalDrives();
if( Drives & 1 ) // i dont understand
this if condition here that what it
checks ? {
}
Please let me know your answer.
Thank you for your time to read my post.
I have the following code :
public class Main {
public void method(Object o)
{
System.out.println("Object Version");
}
public void method(String s)
{
System.out.println("String Version");
}
public static void main(String args[])
{
Main question = new Main();
question.method(null);//1
}
}
why is the result is "String Version" ? and why there is a compiler error if the first method takes a StringBuffer object ?
I need to echo out some specific php code only on the sub-domain of a site. This is where I am so far.
<?php
if($_SERVER['SERVER_NAME'] != "http://support.demo.com")
echo "<?php bb_head(); ?>";
?>
Of course if this worked I'd not be asking a question. Help is appreciated.
Hi,
Dont know if this is the best place but im using NetBeans 4.1 at the moment and if for example i type in the following code
private static final Character firstChar = 'A';
On the IDE i can see the following
private static final Character firstChar = ;
As you can guess its pretty annoying when you see things missing and its only when you highlight over the missing text you can see it, any idea on what is wrong and if i can fix it changing any of the settings
For some reason(Happened before I started working on this project)- my client's website has 2 duplicates of every single file. Effectively tripling the size of the site.
The files look much like this:
wp-comments-post.php | 3,982 bytes
wp-comments-post (john smith's conflicted copy 2012-01-12).php | 3,982 bytes
wp-comments-post (JohnSmith's conflicted copy 2012-01-14).php | 3,982 bytes
The hosting that the website is on has no access to bash or SSH.
In your opinion, what would be the easiest way to delete these duplicate files that would take the least time?
Let says we have several MySQL server, one master and some slaves.
A member table which contains more than 5.000.000 peoples.
Are there any reasons (performance, atomicity, etc..) to use duplicate tables like member_1, member_2, member_3 and then switch randomly when doing operation on it ? (especialy SELECT query) ?
I have a production Active Directory Server running on a Windows Server 2008 R2 machine. I would like to make a duplicate of this machine with all setting the same, except the domain would be a slight variation of the current domain (think winnet to winnet2). Would it be easiest to try to clone the hard drive while the machine is running and change the domain on the clone in a different machine or export the data and import it on a different box?