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
2
votes
2 answers

Executing a script in an alias

I'm trying to alias eclipse to execute eclipse -data $(pwd). However, for some reason adding this to my zshrc doesn't work: alias eclipse="eclipse -data $(pwd)" I can't seem to find the correct syntax - can someone help me out?
chintanparikh
  • 1,632
  • 6
  • 22
  • 36
2
votes
3 answers

ORA-00972: Identifier is too long

I have a query that I am executing in visual studio's query tool and I am getting the following error. ORA-00972: identifier too long. Now I believe I am aware that oracle has a 30 byte limit, but this is the query I am trying to execute. select…
Perfection
  • 721
  • 4
  • 12
  • 36
2
votes
2 answers

GAE SSL cert requirements

I need some help with setting up SSL for an app on GAE. I have a domain associated with my GAE app, through a Custom Domain managed with Google Apps. However my app is being accessed through a url belonging to an Alias. So for example my Google apps…
Kwame
  • 1,115
  • 2
  • 21
  • 38
2
votes
2 answers

Getting resolved queue name for an alias queue in mq api exit

I am trying to get the resolved queue name (i.e. the base queue name of an alias queue) in open_after and put1_before API exit by looking at ResolvedQName field of Object descriptor(MQOD). But it does not seem to contain the base queue name (i.e. is…
TomUrick
  • 81
  • 4
2
votes
1 answer

How to alias singleton scope onto a custom scope in Spring

Ok so I have a custom scope that works in a server environment. I'm trying to write some unit tests and in the case of the unit tests I want these beans to be singleton since it's too complicated to mock everything necessary to make the custom scope…
rozner
  • 580
  • 2
  • 5
  • 11
2
votes
2 answers

Alias 2 columns to the same name

I am wondering if it is possible to alias 2 columns from 2 separate tables to the same name. For example i want to join an email table with a user table and admin table and let the respective 'name' columns be combined in the same column. Email…
Klathmon
  • 273
  • 1
  • 11
2
votes
2 answers

Create a bash alias for the cd - command

I'd like the create the alias -- for the bash cd - command. Searching to solve this problem, I found the advice to use this alias: alias -- -="cd -" However, that leads to the following error, as seen in this session snippet: chris@DeathStar:~$ cd…
Chris
  • 871
  • 1
  • 10
  • 19
2
votes
2 answers

mod_alias AliasMatch Regex - matching everything in a folder except two patterns?

I'd like to use AliasMatch to create an alias for everything within a folder, except for two (or more) specific regex patterns. For instance the following AliasMatch creates an alias for everything in the 'content' folder: AliasMatch /content(.*)…
Tristan
  • 1,561
  • 3
  • 18
  • 22
2
votes
2 answers

Extjs view alias / xtype not defined in controller

I have a view which contains a tab control with 2 tabs. I have defined an alias for each tab, in this format: alias: 'widget.contenttab' I am trying to access 'contenttab' in the controller but it says it is not defined: contenttab is not…
BrynJ
  • 8,322
  • 14
  • 65
  • 89
2
votes
4 answers

How can I alias 'gvim filename' to 'gvim filename &'

I want gvim to always open in a separate window and return the command prompt immediately. In other words I want gvim filename to be the same as gvim filename & it seems like I should be able to do this with an alias. Is there a special wildcard…
derekswanson08
  • 177
  • 2
  • 13
2
votes
1 answer

why is "noclobber" appearing in bash command arguments

There are a bunch of folders in ~/path/ with names that begin with prefix, and I need to access them very frequently. I'm trying to create a shortcut in .bashrc that will make "prefix example" run the command "cd ~/path/prefixexample". I encountered…
zed
  • 43
  • 8
2
votes
1 answer

Right join a table twice to a second table with each alias inner joined to to a third table's two aliases

Maybe I'm going about it the wrong way. Here is what I'm trying to do and my problem. I have 3 tables. assets (a computer, network device, etc) ports (a port on the computer, network device, etc) port_connections (has a port_id_a and port_id_b field…
Blake
  • 33
  • 1
  • 6
2
votes
6 answers

Declare a variable that is Defined in a struct

Consider the following struct defined in ModuleA: typedef struct{ int A; int B; int C[4]; }myStructType; myStructType MyStruct; If I wanted to use this struct from ModuleB, then I would declare the struct in the ModuleA header like…
Pete Baughman
  • 2,996
  • 2
  • 19
  • 33
2
votes
3 answers

How to shorten paths when accessing linked-server objects in SQL

Is there a way to shorted access paths in SQL? I am thinking something similar to alias's but I don't know how to ask this question in google to get the appropriate application of alias'ing This: select * from ServerName.DBName.dbo.TableName To: …
jwrightmail
  • 907
  • 1
  • 13
  • 24
2
votes
2 answers

Red5 create stream name alias at runtime

I would like to create alias names for locally stored video files at runtime. For example, I have a "test/video.flv" file and I create a "abc123" alias (or "abc123.flv" if the extension matters). I would like to use these aliases for unique and…
haxpanel
  • 4,402
  • 4
  • 43
  • 71