What do you want to save?
Add Code snippet
New code examples
-
SQL 2022-03-17 01:45:08
SQLSTATE[42000]: Syntax error or access violation: 1231 Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER'
I finally found the solutions a days ago and I remembered this post. In the "config/database.php" file in mysql tag, the sql modes should be added in order to skip this error. https://dev.mysql.com/doc/refman/8.0/en/sql-mode.html#sql-mode-fu... Add solution -
Other 2022-03-16 21:15:09
Flutter Github Actions Build and Deploy Web to Firebase Hosting, iOS to Testflight, Android to Google Play (fastlane)
name: CI on: push: branches: - master pull_request: branches: - master jobs: build_web: name: Build Flutter (Web) runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: subosito/flutter-action@v1 ... Add solution -
TypeScript 2022-03-12 16:10:02
express typescript tsconfig
// it can vary a lot, but this is a beggining { "compilerOptions": { "target": "es5", "module": "commonjs", "outDir": "./dist", "strict": true, "no... Add solution -
Other 2022-03-11 19:40:02
Type 'T[K]' does not satisfy the constraint '(...args: any) => any'.
{ "compileOnSave": false, "compilerOptions": { //We need to add "skipLibCheck": true, "skipLibCheck": true, //end "baseUrl": "./", "outDir": "./dist/out-tsc... Add solution -
SQL 2022-03-11 18:30:06
SQLSTATE[HY000] [1040] Too many connections
On a shared hosting, "unlimited" means other users are unrestricted with their resource using. Means they can eat up whole pool, while your consumption remains modest This is a limit of database's configuration. If you have permission to edit ... Add solution -
PHP 2022-03-10 06:25:06
read complelx soap response in php
$soap = <<< LOL <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header /> <SOAP-ENV:Body> <ns... Add solution -
Python 2022-03-09 09:05:05
python flask get user input
Unless you want to do something more complicated, feeding data from a HTML form into Flask is pretty easy. Create a view that accepts a POST request (my_form_post). Access the form elements in the dictionary request.form. templates/my-form.html: <for... Add solution -
Other 2022-03-08 18:00:02
ssh ignore host key verification
In your ~/.ssh/config (if this file doesn't exist, just create it): Host * StrictHostKeyChecking no Rather than adding it to your ~/.ssh/config file for all Host *, it would be a safer to specify a particular host. You can also pass a parameter ... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5