- Filler Word Removal
- Line Break and Bracket Handling
- Text Formatting and Cleanup
- Style and Expression Normalization
- Proper Noun Correction
- Final Output Generation
turns out we simply use nitro.devProxy.
At first hostRewrite option seems to rewrite request header, but it actually rewrites host field of the response header. So we need to manually pass headers option.
https://github.com/http-party/node-http-proxy
const endpoint = 'https://api.example.com/graphql'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
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
| buildscript { | |
| repositories { | |
| google() | |
| mavenCentral() | |
| gradlePluginPortal() | |
| } | |
| dependencies { | |
| // https://github.com/Kotlin/kotlinx.atomicfu/issues/56 | |
| classpath "org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.17.2" | |
| } |
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.codingfeline.loggertest | |
| import com.github.aakira.napier.DebugAntilog | |
| import com.github.aakira.napier.Napier | |
| import ru.pocketbyte.kydra.log.KydraLog | |
| import ru.pocketbyte.kydra.log.debug | |
| import ru.pocketbyte.kydra.log.initDefault | |
| import kotlin.native.concurrent.TransferMode | |
| import kotlin.native.concurrent.Worker | |
| import kotlin.test.Test |
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 HomeFragment: Fragment(R.layout.fragment_home) { | |
| private val binding by viewBinding { FragmentHomeBinding.bind(it) } | |
| // do not implement onCreateView! | |
| override fun onViewCreated(view: View, savedInstanceState: Bundle?) { | |
| binding.mainText.text = "Hello World!" | |
| } | |
| } |
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
| abstract class AbstractStateNotifier<ACTION : Action, STATE : State, EFFECT : Effect, VM : MviViewModel<*, ACTION, STATE, EFFECT>>( | |
| uiContext: CoroutineContext | |
| ) : CoroutineScope { | |
| private val job = SupervisorJob() | |
| override val coroutineContext: CoroutineContext = job + uiContext | |
| fun stateChanged(vm: VM, state: (state: STATE) -> Unit): Job { | |
| return launch { vm.states.collect { state(it) } } |
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
| Verifying my Blockstack ID is secured with the address 1HTj28w1QgzARDLpxBepDFEMb1fGc8kBtp https://explorer.blockstack.org/address/1HTj28w1QgzARDLpxBepDFEMb1fGc8kBtp |
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
| { | |
| "data": { | |
| "__schema": { | |
| "queryType": { | |
| "name": "Query" | |
| }, | |
| "mutationType": { | |
| "name": "Mutation" | |
| }, | |
| "subscriptionType": 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
| query IntrospectionQuery { | |
| __schema { | |
| queryType { name } | |
| mutationType { name } | |
| subscriptionType { name } | |
| types { | |
| ...FullType | |
| } | |
| directives { | |
| name |
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
| query IntrospectionQuery { | |
| __schema { | |
| queryType { name } | |
| mutationType { name } | |
| subscriptionType { name } | |
| types { | |
| ...FullType | |
| } | |
| directives { | |
| name |
NewerOlder