Tag: ase

60 votes
8 answers
2.9K views
Create new user in MySQL and give it full access to one database

I want to create a new user in MySQL and give it full access only to one database, say dbTest, that I create w

avatar
Emilia
0 1 0 9
asked 07 September, 2021
53 votes
7 answers
2.8K views
'IF' in 'SELECT' statement - choose output value based on column values

SELECT id, amount FROM report I need amount to be amount if report.type='P' and -amount if report.

avatar
Keila
0 1 0 9
asked 07 September, 2021
54 votes
14 answers
2.1K views
How do I specify unique constraint for multiple columns in MySQL?

I have a table: table votes ( id, user, email, address, primary key(id), ); Now I want

avatar
Leonardo
0 1 0 9
asked 07 September, 2021
60 votes
30 answers
1.7K views
How do I quickly rename a MySQL database (change schema name)?

The MySQL manual at MySQL covers this. Usually I just dump the database and reimport it with a new name. This

avatar
Freida
0 1 0 9
asked 07 September, 2021
54 votes
25 answers
3K views
Git refusing to merge unrelated histories on rebase

During git rebase origin/development the following error message is shown from Git: fatal: refusing to merge

avatar
Hildegard
0 1 0 9
asked 07 September, 2021
54 votes
19 answers
472 views
Undoing a git rebase

Does anybody know how to easily undo a git rebase? The only way that comes to mind is to go at it manually:

avatar
Shantay
0 1 0 9
asked 07 September, 2021
53 votes
30 answers
3K views
Delete commits from a branch in Git

I would like to know how to delete a commit. By delete, I mean it is as if I didn't make that commit, an

avatar
Don
0 1 0 9
asked 07 September, 2021
57 votes
30 answers
954 views
Squash my last X commits together using Git

How can I squash my last X commits together into one commit using Git?

avatar
Tana
0 1 0 9
asked 07 September, 2021
63 votes
1 answers
426 views
Azure pipeline custom task - info logs are considered errors

I have developed an azure custom pipeline task (Build and Release) that executes nightwatch.js test cases. nig

avatar
Deedee
0 1 0 9
asked 07 September, 2021
58 votes
21 answers
907 views
How to convert a string to lower case in Bash?

Is there a way in bash to convert a string into a lower case string? For example, if I have: a="Hi all" I

avatar
Tuan
0 1 0 9
asked 07 September, 2021
63 votes
3 answers
2.3K views
insert into database from Joomla form fields

I am beginner to Joomla! development and have created a very simple module. How do I create a form with 3 tex

avatar
Frederick
0 1 0 9
asked 07 September, 2021
59 votes
1 answers
955 views
Joomla database settings

What is the file, where database setting are stored in Joomla CMS? Like server, user name, database name and

avatar
Leonardo
0 1 0 9
asked 07 September, 2021
52 votes
29 answers
2.9K views
Error: Could not build Objective-C module 'Firebase'

When I compile the application I get an error equal to this: Could not build Objective-C module 'Fire

avatar
Chelsea
0 1 0 9
asked 07 September, 2021
49 votes
9 answers
2.3K views
How do I switch apps from the firebase cli?

This seems like something which should be pretty easy to do, but for whatever reason, I'm being defeated.

avatar
Dusty
0 1 0 9
asked 07 September, 2021
48 votes
2 answers
1.7K views
HTTP Error: 401 while setting up firebase cloud functions for android project

I`m trying to set up firebase functions, but I get an error after running firebase init. Error: HTTP Error: 4

avatar
Juliane
0 1 0 9
asked 07 September, 2021
62 votes
8 answers
382 views
Get users by name property using Firebase

I'm trying to create an application where I can get/set data in specific users accounts and I was tempted

avatar
Stacia
0 1 0 9
asked 07 September, 2021
55 votes
3 answers
3K views
How can I solve the error 'TS2532: Object is possibly 'undefined'?

I'm trying to rebuild a web app example that uses Firebase Cloud Functions and Firestore. When deploying

avatar
Tana
0 1 0 9
asked 07 September, 2021
53 votes
8 answers
2.1K views
How to add Document with Custom ID to firestore

Is there any chance to add a document to firestore collection with custom generated id, not the id generated b

avatar
Patsy
0 1 0 9
asked 07 September, 2021
59 votes
9 answers
2.4K views
type &apos;List<dynamic>&apos; is not a subtype of type &apos;List<Widget>&apos;

I have a snippet of code which I copied from Firestore example: Widget _buildBody(BuildContext context) {

avatar
Shanita
0 1 0 9
asked 07 September, 2021
54 votes
4 answers
2.2K views
How to deploy some functions to Cloud Functions for Firebase without affecting some other functions?

When I run firebase deploy --only functions it reads the index.js file and updates all functions exported fr

avatar
Majorie
0 1 0 9
asked 07 September, 2021