(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| package com.yourapp; | |
| import java.net.Inet4Address; | |
| import java.net.InetAddress; | |
| import java.net.UnknownHostException; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import okhttp3.Dns; |
| package com.yourapp; | |
| import com.facebook.react.modules.network.OkHttpClientFactory; | |
| import com.facebook.react.modules.network.ReactCookieJarContainer; | |
| import okhttp3.OkHttpClient; | |
| public class CustomNetworkModule implements OkHttpClientFactory { | |
| @Override | |
| public OkHttpClient createNewNetworkModuleClient() { |
| import com.yourapp; | |
| import com.facebook.react.modules.network.OkHttpClientProvider; // Import this. | |
| ... | |
| public class MainApplication extends Application implements ReactApplication { | |
| private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { | |
| ... |
| # -*- coding: cp1252 -*- | |
| from random import * | |
| from string import * | |
| from time import * | |
| from ssa_pawaa_xd import * | |
| TEM_INI_PRO = time() | |
| # [dimensions và fps] | |
| COL_INI_SCR = 0 # ô d?c ??u tiên c?a script |
| title | sidebar_label |
|---|---|
JavaScript/React |
JavaScript/React |
Sau đây là quy ước code JavaScript chung của team, áp dụng chủ yếu cho phía Frontend / Mobile React Native.
| https://dora-world.com/assets/images/wallpaper/PC_wallpaper_202211.png | |
| https://dora-world.com/assets/images/wallpaper/PC_wallpaper_202210.png | |
| https://dora-world.com/assets/images/wallpaper/PC_wallpaper_202209.png | |
| https://dora-world.com/assets/images/wallpaper/PC_wallpaper_202208.png | |
| https://dora-world.com/assets/images/wallpaper/PC_wallpaper_202207.png | |
| https://dora-world.com/assets/images/wallpaper/PC_wallpaper_202206.png | |
| https://dora-world.com/assets/images/wallpaper/PC_wallpaper_202205.png | |
| https://dora-world.com/assets/images/wallpaper/PC_wallpaper_202204.png | |
| https://dora-world.com/assets/images/wallpaper/PC_wallpaper_202203.png | |
| https://dora-world.com/assets/images/wallpaper/PC_wallpaper_202202.png |
| { | |
| "id": 820982911946154500, | |
| "email": "[email protected]", | |
| "closed_at": null, | |
| "created_at": "2023-01-10T21:18:40+02:00", | |
| "updated_at": "2023-01-10T21:18:40+02:00", | |
| "number": 234, | |
| "note": null, | |
| "token": "123456abcd", | |
| "gateway": null, |
| function modify(arr) { | |
| let i = 0 | |
| while (i < arr.length) { | |
| if (isNaN(arr[i])) { | |
| arr.splice(i, 1) | |
| --i | |
| } else { | |
| i++ | |
| } | |
| } |
| { | |
| "chunk": [ | |
| { | |
| "type": "m.room.create", | |
| "room_id": "!WFBiWLWvPmrLwVMmhQ:matrix.tauhu.cloud", | |
| "sender": "@quanrens:matrix.tauhu.cloud", | |
| "content": { | |
| "room_version": "10", | |
| "creator": "@quanrens:matrix.tauhu.cloud" | |
| }, |