https://github.com/bright/dev-tips
We hope you can find here some useful insights about programming that may help you in everyday work.
https://github.com/bright/dev-tips
Last synced: 9 months ago
JSON representation
We hope you can find here some useful insights about programming that may help you in everyday work.
- Host: GitHub
- URL: https://github.com/bright/dev-tips
- Owner: bright
- License: mit
- Created: 2022-02-03T07:18:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-12T10:12:27.000Z (over 3 years ago)
- Last Synced: 2025-04-07T02:38:14.520Z (about 1 year ago)
- Language: Kotlin
- Size: 13.7 KB
- Stars: 4
- Watchers: 7
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## bright-dev-tips 🚀🚀🚀
We hope you can find here some useful insights about programming that may help you in everyday work.
If you have learned something new on your own and you think it is worth sharing, just add a new file so that others may take advantage of it.
## table of contents
### bash
* [How to pass some environment variables from the host to the container launched by docker run?](bash/pass_host_envs_to_docker_container.sh)
### gradle
* [Configuring all Gradle tasks of a given type in one place](gradle/build.gradle)
### kotlin
* [How to reuse tests with interface default methods?](kotlin/ReuseTestsWithInterfaceDefaultMethods.kt)
* [Function accepting both ‘suspend’ and non-‘suspend’ functions as parameter](kotlin/AcceptSuspendAndNonSuspendAsParameter.kt)
### MySQL
* [For indexing values stored in JSON, use a stored generated column](MySQL/adding-index-to-json-column.sql)
### typescript
* [How an interface can inherit from a class in TypeScript?](typescript/interface-extends-class.ts)
### javascript
* [Deep cloning of a given value using structured clone algorithm](javascript/structured-clone.js)