Questions tagged [alias]

An alias is an alternative name. In computer science, the most common contexts are command aliases in shells, column aliases in databases, or variable references in languages like C++.

For bash aliases use the tag.

4406 questions
1
vote
1 answer

how are these two pointers aliases?

I have these two pointers, amen and ptr, where all the values i assign to amen will also be assigned to ptr. Can ptr and amen be aliases? void func(const char *ptr) { struct samp *test; DIR *dp; char *amen; if(ptr[0]=='c'||ptr[0]=='C') …
John
  • 794
  • 2
  • 18
  • 34
1
vote
1 answer

htaccess mod rewrite in an aliased folder not working

I have a site "new.mysite.com" in Drupal. In the vhost file I have a directory "weight-loss" pointing to another location on the server for this website. In that folder I have a mini-site based on Zend Framework which is using mod_rewrite. The…
EricP
  • 1,459
  • 6
  • 33
  • 55
1
vote
2 answers

Oracle DB User alias

Is there a SQL script I could run, or some other action I could take, that would create an alias for an entire DB User? I'm running in to an issue where the User name text is too long for a particular program, and I want to create an alias or…
Stealth Rabbi
  • 10,156
  • 22
  • 100
  • 176
1
vote
3 answers

ERROR: Keytool error:java.lang.RuntimeException::Usage error, ûgenkey is not a legal command

I wanna upload my app in the market. In order to upload app, I need to sign my application using my own personal certificate. But I get error while generating certificate. Command in CMD :keytool –genkey –v –keystore nainesh.keystore –alias…
user1097193
  • 21
  • 1
  • 5
1
vote
1 answer

Aliases for anonymous type properties

Is it possible when creating an anonymous type to also create aliases for the property names? The issue I have is that my property names are rather large and I'm trying to keep the Json data to a minimum to make it more lightweight, and rather than…
Wildcat
  • 495
  • 2
  • 5
  • 9
1
vote
1 answer

How do I do this alias in BASH

At work, in csh, I use this alias in my .alias file: alias n 'nedit \!* &' I can then type --> n file1 file2 ... file, and nedit will start in the background with each of the files in a separate tabbed window, leaving my terminal free for other…
Eric Lund
  • 45
  • 5
1
vote
1 answer

How to create a file alias in iOS?

In order to support UIDocumentController options on different file types, I thought that perhaps creating and pointing to a file alias would be a good solution. The file is large, so copying the file and duplicating it would create some overhead. Is…
akaru
  • 6,299
  • 9
  • 63
  • 102
1
vote
3 answers

Is it compulsory to use aliases in a Select Query in Oracle?

EDIT: Managed to test it all and I guess my friend was wrong here, thanks for the help, people. From what I understand the second example (with the alias) is useful when referring to an object type's field. For example, I went ahead and made an…
Mo Moosa
  • 937
  • 2
  • 19
  • 39
1
vote
2 answers

Rails execute edit when show action is called

I have got a rails controller where the edit action displays a form where all values of the object can be changed. So now when a user accesses /controller/1 I want to do exactly the same as if /controller/1/edit was visited. I have to achieve this…
gorootde
  • 4,003
  • 4
  • 41
  • 83
1
vote
1 answer

paperclip duplicate url error

I'm attempting to upload an image via ajax using paperclip. I'm using the qqfileuploader for the ajax stuff and it doesn't seem to have an option where I can define the parameter name for the post request. The parameters sent from the ajax post…
pedalpete
  • 21,076
  • 45
  • 128
  • 239
1
vote
2 answers

Hibernate association with createCriteria and createAlias

I have two simple mapings:
catdog
  • 87
  • 2
  • 3
  • 9
1
vote
1 answer

Shared application (Alias directive) permission issues

I am using an Alias directory to use a content management system for multiple websites. It's like an application pool in IIS (for the Windows guys here). While every website has its own user (I am using a VDS with DirectAdmin), and the CMS also has…
Dirk Luijk
  • 55
  • 6
1
vote
1 answer

Subsonic alias query - how?

I am trying to build the following query: `new Select("GTekst = ArrGruppe.Tekst", "GLTekst = ArrGruppeLinie.Tekst") .From(ArrGruppeLinie.Schema) .InnerJoin(ArrGruppe.IdColumn,…
flowerpowerdad
  • 1,247
  • 1
  • 9
  • 17
1
vote
1 answer

Hibernate criteria filter on foreign keys

Can we create deep alias for foreign key table using criteria? For example if I have three table A, B and C where C is foreign key table of B and B is foreign key table of A. I want to apply filter like the following…
Karthik E
  • 23
  • 7
1
vote
1 answer

Yii framework: importing classes while in the config/main.php file

Trying to import a class while in config/main.php (before the Yii configuration is returned): //class LanguageSettings is placed directly in protected/components/LanguageSettings.php Yii::import('application.components.*'); …
Sebastian
  • 709
  • 1
  • 8
  • 15