This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "git.enableSmartCommit": true, | |
| "emmet.syntaxProfiles": { | |
| "javascript": "jsx" | |
| }, | |
| "editor.fontFamily": "Avenir Light, Monaco, 'Courier New', monospace", | |
| "editor.fontSize": 13, | |
| "eslint.enable": true, | |
| "eslint.autoFixOnSave": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const CACHE_NAME = 'whatsappweb-cache-v9'; | |
| const { assets } = global.serviceWorkerOption; | |
| const urlsToCache = ['./', './index.html', ...assets]; | |
| self.addEventListener('install', event => { | |
| console.log('Service Woker Started'); | |
| event.waitUntil( | |
| caches.open(CACHE_NAME).then(cache => { | |
| console.log('Opened cache'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function main(input) { | |
| input=input.split(/\s+/); | |
| var output = 1; | |
| var init = input[1]; | |
| for(var i = 1; i < input[0]; i++){ | |
| if(temp < input[i + 1] ){ | |
| output++; | |
| } | |
| temp = input[i + 1]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.musicapp; | |
| import android.annotation.TargetApi; | |
| import android.app.Notification; | |
| import android.app.NotificationManager; | |
| import android.app.PendingIntent; | |
| import android.content.BroadcastReceiver; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.content.IntentFilter; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //RCTListViewManger.h | |
| #import <UIKit/UIKit.h> | |
| @interface RCTNativeListView : UIView | |
| @property (nonatomic) NSArray * colors; | |
| @end | |
| -------------------------------------------------------------------------------- | |
| //RCTListViewManger.m |
NewerOlder