Nuxt.js snippet for bootstrap, bootstrap-vue, popper and jquery configuration
Especial thanks to kaloraat for his article: https://kaloraat.com/articles/how-to-use-jquery-in-nuxtjs
| #/bin/sh | |
| gitlab_repo_url=$( git remote get-url origin | sed -rn 's/(.*)\.git/\1/p' ) | |
| gitlab_commit_path="/-/commit/" | |
| git_tag=$( git describe ) | |
| changelog_markdown="CHANGELOG.md" | |
| changelog_markdown_tmp="CHANGELOG.md.tmp" | |
| to_long_commit_type(){ | |
| short_commit_type="$1" | |
| case $short_commit_type in |
| import 'dart:convert'; | |
| void main() { | |
| print('Raw JSON: $rawJson'); | |
| final Map jsonMap = json.decode(rawJson); | |
| print('JSON Map: $jsonMap'); | |
| final persona = Ciudadano.fromMap(jsonMap); | |
| persona.describir(); | |
| persona.peso = 84.7; | |
| persona.edad = 78; |
| abstract class Animal {} | |
| abstract class Mamal extends Animal { } | |
| abstract class Bird extends Animal { } | |
| abstract class Fish extends Animal { } |
| import 'dart:math'; | |
| Future<String> httpGet(String url) { | |
| int numeroDeLaSuerte = new Random().nextInt(100); | |
| int delay = new Random().nextInt(10); | |
| return Future.delayed(new Duration(seconds: delay), | |
| () => "Hola tu número de la suerte es: ${numeroDeLaSuerte}"); | |
| } | |
| void main() async { |
Nuxt.js snippet for bootstrap, bootstrap-vue, popper and jquery configuration
Especial thanks to kaloraat for his article: https://kaloraat.com/articles/how-to-use-jquery-in-nuxtjs
| { | |
| "settings": { | |
| "javascript.validate.enable": false, | |
| "typescript.validate.enable": false, | |
| "standard.autoFixOnSave": true, | |
| "javascript.format.enable": false, | |
| "typescript.format.enable": false, | |
| "editor.tabSize": 2 | |
| } | |
| } |
| flutter: 2020-08-27 09:33:02.129166 WARNING biometric_storage - Error while initializing biometric storage.### | |
| MissingPluginException(No implementation found for method init on channel biometric_storage) | |
| #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157) | |
| <asynchronous suspension> | |
| #1 BiometricStorage.getStorage (package:biometric_storage/src/biometric_storage.dart:143) | |
| <asynchronous suspension> | |
| #2 CloudStorageHelper._getStorageFile (package:authpass/cloud_storage/cloud_storage_provider.dart:141) | |
| <asynchronous suspension> | |
| #3 CloudStorageHelper._readDataMap (package:authpass/cloud_storage/cloud_storage_provider.dart:147) | |
| <asynchronous suspension> |
| CREATE OR REPLACE PROCEDURE clone_user_privileges(existing_user TEXT, new_user TEXT, new_password TEXT) | |
| LANGUAGE plpgsql | |
| AS $$ | |
| DECLARE | |
| r RECORD; | |
| BEGIN | |
| -- Crear el nuevo usuario con contraseña, manejando comillas adecuadamente | |
| BEGIN | |
| EXECUTE format('CREATE USER %I WITH PASSWORD %L', new_user, quote_literal(new_password)); | |
| EXCEPTION WHEN OTHERS THEN |