Hello all
I have fedora installed in my system. I know the password but i forgot the user name. I can access through terminal but i don't no how to login through gui. Please help me.
Thanks in advance.
Hi, Im trying to create a custom formatter in Symfony 1.4.
I have embedded form via
$this->embedRelation('User','BasesfGuardUserAdminForm');
Is there a way to format the name of the embedded form 'User'?
When I generate my java classes from my schema, I get a class called ObjectFactory. Is there a way to customize the name of this class? For example could I tell it to generate MyObjectFactory instead?
We're using AmazonS3 for file storage and recently found out that we need to keep some sort of directory structure. Since S3 doesn't allow that, we know we can name the files according to their structure for storage. For example...
abc/123/draft.doc
What I want to know is if I want to provide a public link to this particular file is there anyway that the file can simply be draft.doc instead of abc/123/draft.doc ?
Is anyone aware of a public wildcard domain name that resolves to IP address 127.0.0.1. For example if I wanted to test a URL locally such as mywebsite.localhost.com or example.localhost.com but I don't have control of DNS settings (hosts file or whatever) then I would use this public DNS to resolve to 127.0.0.1. It needs to be wildcarded so that no matter whatever comes before localhost.com it still resolves to 127.0.0.1.
Hi all:
I want to ask is it possible to update a Sharepoint web's lists and all its items' URLs if I call an update on the web's url? If so, how can I do so?
e.g.
web.Name = "newWebName";
web.Update();
The above only changed the base web's url. But the url of its lists remain unchanged.
Thanks.
I am trying to do something like this:
property = 'name'
value = Thing()
class A:
setattr(A, property, value)
other_thing = 'normal attribute'
def __init__(self, etc)
#etc..........
But I can't seem to find the reference to the class to get the setattr to work the same as just assigning a variable in the class definition. How can I do this?
Hi guys,
I've got this code
mysqli_query ( $userdatabase,
'CREATE TABLE `user_'.$emailreg.'` (
ID int NOT NULL AUTO_INCREMENT PRIMARY KEY,
IP varchar(10),
FLD1 varchar(20),
FLD2 varchar(40),
FLD3 varchar(25),
FLD4 varchar(25),
FLD5 varchar(25) )' );
echo ( mysqli_error ($userdatabase) );
that works fine on my localhost, but when I upload it to the server, it starts giving me a "Incorrect table name '[email protected]'" error. any idea?
Thanks!
Does anyone know the value of the Java system property "os.name" on Windows Server 2008? I found a rally going here (http://stackoverflow.com/questions/1803075/crowdsourcing-a-complete-list-of-common-java-system-properties-and-known-values), but nothing on Windows Server 2008. Any help is appreciated.
Hello,
I'm writing a GTK-Theme that is pretty dark. It works with most programs but some toolbars look pretty strange (in Bluefish and NetBeans for example).
Now I need to get the name of the toolbar widget to write a workaround.
For Maven2 how can I get the name of goal currently being executed in Mojo's execute method? Precisely I need value of @goal attribute inside Mojo's execute method.
Is there a way to get the name of the category and the link to the category page separately inside the wordpress loop. I don't have the id of the category either and I wanna display images instead of category names therefore the_category() doesn't work for me.
Thanks
Appreciate all the answers..
I want to throw the last three character from file name and get the rest?
I have this code:
char* remove(char* mystr) {
char tmp[] = {0};
unsigned int x;
for (x = 0; x < (strlen(mystr) - 3); x++)
tmp[x] = mystr[x];
return tmp;
}
Hello All,
I would like to use regular expression to extract only @patrick @michelle from the following sentence:
@patrick @michelle we having diner @home tonight do you want to join?
Note: @home should not be include in the result because, it is not at beginning of the sentence nor is followed by another @name.
Any solution, tip, comments will be really appreciated.
Is there a way in objective-c/Cocoa to alloc an object when the class name isn't know until run-time. I seem to remember something about this a while ago, but can't find anything on it now.
Something like:
[[@"MyClass" alloc] init];
I seem to recall a function that would return some kind of class id based on a string that can then be used to alloc the object.
So I have a create_table like this for Courses at a School:
create_table :courses do |t|
t.string :name
t.references :course
t.timestamps
end
but I want it to reference TWO other courses like:
has_many :transferrable_as #a Course
has_many :same_as #another Course
can I say
t.references :transferrable_as, :as= :course
?
Is it possible to write some conditional "if" statements in htaccess based on the server name/path?
I know I can use <IfModule> but that doesn't solve the problem when the development and production server are identical.
thanks
Quick question playing with PL SQL it seems that the tables column was named as the data type NUMBER so trying to perform a query fails since the column is being recognized as a datatype instead of a column name. Anyone know how to get around this without modifying the schema?
Since I am unemployed at the moment, I decided to start a small business for computer repair. Can you help out with some ideas for the name for this new company? I was thinking of something like Computer Associates, or Computer Squad, but they sound a little cheesy. I wanted something a little more professional.
Thanks for any suggestions.
I want to change element name with following statement:
SET @myDoc.modify('replace value of (/CustomerInfo)[1] with "Customer"')
from
<CustomerInfo>
<ID1</ID>
</CustomerInfo>
to
<Customer>
<ID1</ID>
</Customer>
But failed. So how can i change it just in sql ?
Hello,
I'd like to create this object...
object = {
'object[1][var_name_1]' : 'value1',
'object[1][var_name_2]' : 'value2',
};
I'm trying to it this way, but I'm getting error missing : after property id...
function getPrefix() {
return 'object[1]';
}
object = {
getPrefix() + '[var_name_1]' : 'value1',
getPrefix() + '[var_name_2]' : 'value2',
}
What am I doing wrong? Or maybbe it is impossible to set object property name using js experession?
Thank you
Hi There,
I was browsing the template.php file for the rootcandy theme and noticed some of the function names start with an underscore i.e.
function _rootcandy_admin_links()
function rootcandy_body_class()
Anyone know why this is? I thought the functions had to start with the name of the theme.
Many thanks
I'm developing a frameword for handle Actions from Java Swing components;
I would like to know if there is a way of checking if a given method name (that will be accessed by reflections) exists in compile time, and show a compiler error if not?