4,669 questions
Advice
0
votes
1
replies
33
views
Why search "vsc" in windows start menu can find out Visual Studio Code?
Windows 10 22H2.
Ask this question because at the same time, type ame can't find out Adobe Media Encoder.
and I don't see vsc.exe defined in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\...
4
votes
3
answers
88
views
Insert with (CTE and) select ... as of scn (flashback) and table alias(es) does not work in PL/SQL - ORA-00984: column not allowed here
In a legacy system we want to copy a lot of productive data/tables in other tables in a stored procedure.
That all copied data is consistent with each other, we want to use the <tableName> as of ...
0
votes
0
answers
44
views
Android Kotlin App Icon Changing Activity Alias issue
I’ve followed afew tutorials that walkthrough using activity-alias to enable changing the icon of the app.
However I have found some issues while playing around with it, and cannot find any info about ...
1
vote
1
answer
132
views
Do I need a .bash_profile to keep aliases in .bash_aliases persistent between ssh sessions?
I am ssh-ing into a linux environment with bash cli, and started looking into .bashrc stuff to add my own aliases for convenience, on the linux side. I ended up with my home directory looking ...
3
votes
1
answer
222
views
How to write a member function alias?
In modern C++ is it possible to write a member function alias with a syntax different from this:
class C {
int f(int a) { return ++a; }
inline int g(int a) { return f(a); }
};
I tried in a few ...
0
votes
1
answer
38
views
Specific new alias failing while existing works (even after restart)
During some cleanup on macOS Monterey, uninstalled and reinstalled gshuf. Aliased shuf to gshuf.
The line from zshrc:
alias shuf='gshuf'
I have a tool for my music with these three lines as the total ...
0
votes
1
answer
73
views
How to create pydantic model with different names of filed?
I have pydantic model of table and another one for create like:
class Users(SQLModel, table=True):
id: UUID = Field(default_factory=uuid4, primary_key=True)
user: str = Field(index=True)
...
0
votes
1
answer
69
views
Issue with Shifting Aliasing Signal on Time Axis in MATLAB
I have two chirp signals "s1" and "s2" in MATLAB:
% Parameter Setting
R = 618e3;
V = 7600;
lambda = 0.0313;
Fa = 5000; % Sampling ...
0
votes
1
answer
91
views
how to make all field optional with alias name?
I am following https://stackoverflow.com/a/77851176/243031 to create my model optional.
I created function to get base class annotations.
def get_annotations(main_cls):
ret_val = main_cls....
2
votes
1
answer
1k
views
What does Nx plugin nxViteTsPaths() do exactly? Especially in addition to vite's tsconfigPaths() plugin
I have a NX/vite based monorepo and want to use path alias to avoid long relative imports.
I configured my tsconfig.json for each packages and then installed the vite plugin tsconfigPaths() for ...
0
votes
1
answer
259
views
Electron-Vite fails to resolve alias path during "vite" task only
I setup a mono repo with the following structure:
front-end
apps
desktop-app (An electron app created by electron-vite scaffolding)
webapp (A mininal web app created by nx application scaffolding)
...
0
votes
1
answer
84
views
declare alternative value for specific lookup values Microsoft SQL
kind of an odd question, is there a way to lookup a list of values and for the ones that don't exist use an alias and do a lookup on that instead.
matching codes/alias table (so say this is from a ...
0
votes
0
answers
161
views
React Native Aliases TypeScript after adding metro.config.js
I have a new TypeScript project, and I'm working on adding aliases. I had set up bable.config.js and tsconfig.json, and everything was working; however, in order to resolve an issue with react-native-...
0
votes
0
answers
13
views
tcsh alias for find command with exec
I would like to create a tcsh alias for a find command with -exec
but fail to get commands of multiple words
alias FnEx 'find !:1 -name !:2 -exec !:3 {} ; '
Appreciate if someone can suggest how to ...
4
votes
1
answer
362
views
Can I define an alias for a git remote?
I have a git remote named foobar:
[remote "foobar"]
url = [email protected]:joeuser/foobar.git
fetch = +refs/heads/*:refs/remotes/foobar/*
but I am also user to calling it foo-...
-1
votes
1
answer
288
views
alias a single file in caddy?
I want to serve a simple folder as website and then, in a subfolder, I wan to serve a few specific files from another root location (not the whole folder, just a few files).
Sadly, this does not work:
...
-1
votes
1
answer
68
views
Nginx - Serving different favicons for each subdomain sharing the same declaration
I have 2 sites: abc.domain.com & def.domain.com
Being subdomains, they share the same cert and also the same root folder. Essentially they go to the same site, but for different clients.
server {
...
4
votes
1
answer
173
views
Why are column aliases being ignored? Oracle SQL Developer - MySQL JDBC
I am trying to determine why a simple SQL select statement I executed with an alias assigned to a column is returning data but with the original column name and not the alias I assigned.
I am ...
-3
votes
1
answer
912
views
Use bash alias: fzf to find files, open file in neovim or exit if no file was selected
I want to make an alias that uses fzf to find a file in my directory, preview it, and then open it in neovim. If I don't select a file and exit the fzf interface, do not open neovim, but exit back to ...
0
votes
1
answer
2k
views
Path Alias Not Working in Bun Project Despite Correct Configuration
I config path alias following this guide: https://bun.sh/guides/runtime/tsconfig-paths. But it's not work
I create a Bun project (I'm planning to migrate a Node app to Bun) by these steps:
mkdir bun-...
2
votes
1
answer
327
views
How to use vite plugin $env or $lib alias in Svelte project
I'm using the Svelkit project.
When importing modules from Sveltkit, path aliases such as $lib and $env are often used.
However, when using a separate vite plugin that is not included within the ...
-2
votes
1
answer
148
views
alias multiple columns
I have a table in sqlite and now I want to alias multiple columns, how can I do it?
For example, my columns are Name, Family, City and now I want to check a condition on them
SELECT (Name,Family,City) ...
0
votes
1
answer
146
views
Are there any strict aliasing rule violations that are not detected by -Wstrict-aliasing?
I created a function that copies strings quickly by copying 8 bytes at a time, similar to the built-in memcpy. In the following function, the char pointer type is cast to an unsigned long long pointer ...
0
votes
1
answer
65
views
git alias for deleting branches by given pattern
After working for a few weeks, I always accumulate a lot of branches, frequently called feature/* or daniel/*.
From time to time, I delete all my local branches running this command (windows):
git ...
2
votes
2
answers
2k
views
Where can I find providers and aliases in Laravel 11?
In Laravel 11, I noticed that the config/app.php file no longer contains the providers and aliases arrays as it did in previous versions.
Where can I find the providers and aliases in Laravel 11, or ...