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 assert = require('assert') | |
| it('should return true', () => { | |
| assert.equal(hexToRgba(FFF, '.3')==='rgba(255, 255, 255, .3)', true) | |
| }) | |
| it('should return False', () => { | |
| assert.equal(hexToRgba(FGF, 1)==='rgba(255, 255, 255, .3)', 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
| class Node { | |
| constructor(data, next = null, prev = null) { | |
| this.data = data; | |
| this.next = next; | |
| this.prev = prev; | |
| } | |
| } | |
| class LinkedList { | |
| constructor() { | |
| this.head = null; |
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
| 1)- Filtre kısmına bizim hizmet vermediğimiz bir il girilince - bilgiler girilince görsel gelecek. (Bunun için senden bir ölçü istiyoruz mobile uygun tasarım yapabilmek için): | |
| => Gorsel herhangi bir boyutta olabilir | |
| 2)- Ambulans listeleme de sıralama yok. Sıralama kriterleri: Fiyat, temizlik, kalite, zamanlama (3 puan türü) , en çok puan alana göre sıralamalar olacak. | |
| => "Average rate"'a gore siralama ekledim. ama yalnis anladiysam ve 3 tane ayri siralama secenegi olucaksa, onun ekrani/tasarimi nasil olucak ? | |
| 3)- Değerlendir sayfasında küçük bir css düzeltmesi var onu tasarımdan bakabilirsin. | |
| => Bana gönderdiğin xd dosyasında yok bu duzletme, ya da ben göremedim onu, tekrar gösterebilir misin ? | |
| 4)- Login kısmında şifreni mi unuttun? bir sayfaya yönlenmiyor. |
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
| react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ |
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
| website: ((www.)?\w+.\w+(.\w+)?)$ | |
| email: (\w+\d+)@\w+(\.\w+)(\.\w+)?$ |
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
| anotherFunction = () => { | |
| callFunction.then(minResult => { | |
| console.log(minResult) | |
| ) | |
| } |
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
| callFunction = async () => { | |
| this.setState({loading: true, resultAvailable: false}) | |
| let minResult = Math.POSITIVE_INFINITY; | |
| for(let i = 0; i < items.length; i++) { | |
| let item = items[i]; | |
| await fetch.get(MY_URL).then(res => { | |
| if (res < minResult) minResult = res; | |
| }) | |
| } | |
| this.setState({loading: false, resultAvailable: true, result: minResult}) |
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
| callFunction = () => { | |
| this.setState({loading: true, resultAvailable: false}) | |
| let minResult = Math.POSITIVE_INFINITY; | |
| items.foreach(item => { | |
| fetch.get(MY_URL).then(res => { | |
| if (res < minResult) minResult = res; | |
| }) | |
| } | |
| } |
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
| import axios from 'axios'; | |
| export const API = axios.create({ | |
| baseURL: 'google.com', | |
| headers: { | |
| Accept: 'application/json', | |
| 'Content-Type': 'application/json', | |
| }, | |
| }); |