Questions tagged [aliases]

169 questions
1
vote
1 answer

Angular ':increment' / ':decrement' aliases not triggering

I am having bit of an issue with Angular animations. The goal is to create 'swipe' effect when entering hidden sibling menus. Currently, the menu structure is flat due to the design I need to achieve. This means even submenus are on level of…
Jiri Kralovec
  • 1,487
  • 1
  • 10
  • 18
1
vote
1 answer

Creating an alias in bash that calls a script and an additional command

I was toying with the idea of creating an alias that would allow me to list the contents of a target subdirectory, without changing to that directory. I have successfully been able to create both an alias and a script to change directory and display…
Andrew Messina
  • 25
  • 1
  • 2
  • 7
1
vote
2 answers

Run linux script on received emails

I have written a small little script that looks up a work on wikipedia and then prints the result to the command line. I want to be able to email that word to my server and then have my server email me the results back. So far I have a new user…
italiansoda
  • 462
  • 8
  • 12
1
vote
0 answers

Git bash (Windows 10): how to call python scripts starting the input line without "python -m"

I am using git bash on Windows 10. In order to run script like pip, virtualenv, gunicorn, etc. installed in C:\installation_path_of_python_3.7\scripts I have to type python -m selected_script Is there a way to call the scripts simply by…
Tms91
  • 3,456
  • 6
  • 40
  • 74
1
vote
0 answers

How do I get the right alias from outlook?

I have a database where users are referenced using the alias as a key. I'm writing an outlook plug-in that uses the to, cc, etc. addresses to find data in the database. The problem is that at Microsoft, you can have two aliases: One is a single…
Bob Webster
  • 153
  • 7
1
vote
1 answer

Trying to access alias inside a custom helper throws 'Not found' message. Laravel 5.7

For my app i've created a function that returns either a view or an already rendered view inside some json. Since i will need to use this function quite alot i made a custom helper so i can call it from every controller. however unfortunately, when…
Simon Rook
  • 185
  • 1
  • 3
  • 13
1
vote
0 answers

Some call graphs missing in C

I have a function Process1 for which I want to generate a call graph: /** ******************************************************************************** \file …
Fr1337ddy
  • 11
  • 1
1
vote
2 answers

MySQL aliasing subqueries

I have a table consisting of two columns only: id1 and id2. The following query in MySQL works just fine: (select id1 as id, count(id1) as cnt from my_table group by id1) union all (select id2 as id, count(id2) as cnt from my_table group by…
Andrew L.
  • 111
  • 1
  • 11
1
vote
2 answers

What is the use of maintaining two aliases for a single Elastic Search Index

I have been exploring Elastic Search lately. I have been going through aliases. I see ES provides an API to create multiple aliases to a single index like below: { "actions" : [{ "add" : { "indices" : ["test1", "test2"], "alias" : "alias1" } }]…
Chan15
  • 929
  • 2
  • 9
  • 16
1
vote
1 answer

Bash aliases du - sh + sort

Here is my aim: I want to see disk usage AND have the list sorted by size AND make it an alias. I read on the forum that du -hs somedirectory |sort -h would do the first two jobs, which is true. How can I put this in my .bash_aliases ? The next…
RoBo
  • 68
  • 5
1
vote
1 answer

PHP - IMAP test if an email alias exists

Is there a programmatic way to test the existence of an email alias when logged in as an IMAP client from a remote host rather than sending an email or having to parse the aliases file on the mail server? It is a Postfix mail server. Edit: I found…
jjclarkson
  • 5,890
  • 6
  • 40
  • 62
1
vote
0 answers

Create alias for a long path in webpack (typescript)

I'm trying to create an alias for a long path in webpack but I can't find a working solution. I've managed to find a snippet of what looked like the right solution, but it didn't worked. I've added into webpack.dev.js into module.exports…
Laker
  • 1,622
  • 4
  • 20
  • 32
1
vote
2 answers

OpenLDAP Email Aliases Attribute

I'm doing synchronisation of users between various LDAP's (MS AD, Azure AD, Google Apps, OpenLDAP) Obviously it's a custom solution Got here a problem with mail aliases for example, in Azure or MS AD attribute which store all other mail alias is…
Bryksin
  • 2,322
  • 3
  • 19
  • 31
1
vote
0 answers

How to catch all mails addressed to different mail addresses containing same pattern in postfix

I want to ask how i can catch all mails addressed to different mail addresses containing same pattern to one real mail address using postfix. E.g.: I want to catch: john.smith.test1@domain.com john.smith.test2@domain.com…
1
vote
1 answer

Create aliases for Vagrant virtual machines

I am on Ubuntu 14.10 64.x. Using Vagrant, Virtualbox I can see all the boxes with the vagrant command vagrant box list An example output may be this: geerlingguy/ubuntu1404 (virtualbox, 1.0.4) hashicorp/precise64 (virtualbox,…
TheodorosPloumis
  • 2,396
  • 1
  • 17
  • 31