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

Subdomain RewriteRule to transfer URL Params to other directories?

My problem: I want to have a rewriteRule that allows me to forward parameter to another directory on my server. I called a subdomain of my page and this subdomain should points on the "normal" directory of my root page. Addional to that the rule…
elchueko
  • 439
  • 1
  • 6
  • 20
1
vote
3 answers

make alias for ls so that it doesn't show files of the pattern *~

Is there a series of commands that does ls then removes backup files? I want to do something like ls | grep -v *~ but this shows all the files in different lines, any one to make the output identical to ls? When I type in "man ls" My man page for…
Doboy
  • 10,411
  • 11
  • 40
  • 48
1
vote
3 answers

Copying data into differently named columns in another SQL table

I want to copy data from one table into another table where the columns have different names, and am trying to use the following SELECT `content` AS `name`, `id` AS `orig_id` INTO `songs` FROM `items` WHERE `categories` LIKE "%30%" It doesn't…
wheresrhys
  • 22,558
  • 19
  • 94
  • 162
1
vote
1 answer

Image Edges Pixelated Depending on Position Android

I have a dial that I display wind direction in and the arrow displays well in some positions, but others its edges are pixelated. Here is the code to render the image: public class DialView extends View { private Context mContext; private Bitmap…
taraloca
  • 9,077
  • 9
  • 44
  • 77
1
vote
2 answers

Merging rows in SQL for similar IDs?

I've got an interesting dilemma now. I have a database schema like the following: GameList: +-------+----------+-----------+------------+--------------------------------+ | id | steam_id | origin_id | impulse_id | game_title …
stevendesu
  • 15,753
  • 22
  • 105
  • 182
1
vote
2 answers

Accessing Column Aliases in R

I have a list of column aliases I am creating based on a dataframe. column_aliases <- c("colA" = "Column A", "colB" = "Column B", "colC" = "Column C") I know that the names() function can be used to access "colA", "colB", and "colC"; however, is…
325
  • 594
  • 8
  • 21
1
vote
1 answer

error Unrecognized alias when i try use layout: "border"

I try to create panel element with layout:'border' and get next error:Unrecognized alias: layout.border I try to find any answer, but all I could find similar to the answer is the following discussion Unrecognized alias. The solution given in the…
1
vote
1 answer

Error in Sencha Fiddle (Unrecognized alias, Some requested files failed to load.)

I continue to study extjs. I wanted to get data using the store object and display it in the Ext.grid component.Grid, but I get a few errors. Here is a link to my Sencha Fiddle Sencha Fiddle, maybe someone has more experience, please see what I'm…
1
vote
1 answer

How to use alias command with a paramiko SSHClient connection?

I am trying to execute the following, with no success getting either the 'py3start' or the 'py3test' alias commands recognized - (I introduced the 'py3test' for testing purposes to check if setting the alias explicitly, just prior to using it would…
aeon
  • 83
  • 6
1
vote
2 answers

How can I alias `...` to `../..` in Bash?

How can I alias ... to ../.. in Bash? I am aware that other answers allow alias '...'='cd ../..' but I'd like to be able to address the directory two levels up with other commands, allowing for: cd ... ls ... realpath ... I have tried alias…
Anil
  • 1,097
  • 7
  • 20
1
vote
1 answer

How to list all the linux aliases

I am aware that in Linux I can use the alias command to get a list of defined aliases. I am now trying to do the same through Go code with: func ListAlias() error { out, err := exec.Command("alias").Output() if err != nil { …
raviabhiram
  • 671
  • 2
  • 8
  • 21
1
vote
1 answer

Alias compiles with msvc but rejected by gcc

I have written the following code(that uses typedef), which compiles with microsoft visual studio but not with gcc and clang. using type = int(int)&; using type2 = type&; //compiles with msvc but rejcted in gcc and clang Gcc says cannot declare…
Val
  • 148
  • 8
1
vote
1 answer

How do I automatically run a specific import every time I use python (both interactively and when executing scripts)?

I am a big fan of the pretty printing option of rich. Thus, I want to automatically run the lines from rich import pretty pretty.install() every time I use python (before anything else). How can I achieve the following behavior: python -> run the…
1
vote
1 answer

Javascript Replace with Tab character for snippet in iOS Siri Shortcut (to be used for Obsidian app)

I want to append to a dictionary file where the rule is: entry<2TABS>alias1<1TAB>alias2. 2 TAB characters after the main entry and a single TAB character between each alias. Because the iOS Shortcut app cannot use \t in the replacement line, I am…
zanodor
  • 137
  • 6
1
vote
1 answer

NodeJS spawn process that is an alias

I'm trying to spawn a process from nodejs, with spawn from child_process. But the command I'm trying to run is an alias inside the .bashrc file of the running user. // index.ts or whatever import { spawn } from "child_process"; spawn('cmdAlias',…
TazGR
  • 73
  • 7