Skip to content

Instantly share code, notes, and snippets.

View blarzHernandez's full-sized avatar
🎯
Focusing

Roberto Hernandez blarzHernandez

🎯
Focusing
View GitHub Profile
#import "AppDelegate.h"
@import IterableSDK;
#import <React/RCTBridge.h>
#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>
#import <React/RCTLinkingManager.h>
#import <UMCore/UMModuleRegistry.h>
#import <UMReactNativeAdapter/UMNativeModulesProxy.h>
#import <UMReactNativeAdapter/UMModuleRegistryAdapter.h>
...
dev_dependencies:
flutter_launcher_icons: "^0.9.0"
flutter_icons:
android: true
ios: true
image_path_ios: "assets/images/launcher/ios.png"
image_path_android: "assets/images/launcher/android.png"
adaptive_icon_background: "assets/images/launcher/background.png"
@blarzHernandez
blarzHernandez / pubspec.yaml
Last active July 2, 2021 22:38
app launcher icons
...
dev_dependencies:
flutter_launcher_icons: "^0.9.0"
flutter_icons:
aandroid: true
ios: true
image_path_ios: "assets/images/launcher/ios.png"
image_path_android: "assets/images/launcher/android.png"
...
<template>
<div id="app">
<img alt="Vue logo" src="./assets/logo.png">
<HelloWorld msg="Welcome to Your Vue.js App"/>
</div>
</template>
<script>
import HelloWorld from './components/HelloWorld.vue'
export default LifeCyclesHooks {
// This hook triggers before the Vue instance is created, we cant acccess to data
beforeCreate(){
console.log("Before create")
}
//Called syncronously after the Vue instance is created.
created(){
console.log("Hook created")
//condition to resolve or reject the promise
const isDadHappy = false;
//Trumpet promise
const trumpet = {
brand: "Mendini",
model: "MTT-30L",
price: 125
};
class Node {
constructor(data, next = null) {
this.data = data;
this.next = next;
}
}
//Let's create four nodes
let node1 = new Node(5);
let node2 = new Node(10);