index
-> November 3, 2021
Note
- @RepositoryRestResource: annotation is optional and is used to customize the REST endpoint. If we decided to omit it, Spring would automatically create an endpoint at “/websiteUsers” instead of “/users“.
Quote
- The snake which cannot cast its skin has to die. As well the minds which are prevented from changing their opinions; they cease to be mind.
- We are waves from the same sea, leaves from the same tree, flowers from the same garden
- We have different mountains and rivers, but we share the same sun, moon and sky
WITH RECURSIVE fam_tree (id, name, parent, family) as
(
SELECT id,
name,
parentid,
''::text as family
FROM the_unknown_table
WHERE parent IS NULL
UNION ALL
SELECT t2.id,
t2.name,
t2.parentid,
fam_tree.family || '^' || t2.name
FROM the_unknown_table t2
INNER JOIN fam_tree ON fam_tree.id = t2.parentid
)
SELECT *
FROM fam_tree;
Spring
- https://dzone.com/articles/avoiding-many-if-blocks
- https://stackoverflow.com/questions/33284395/reducing-the-cyclomatic-complexity-of-a-java-method
- https://docs.spring.io/spring-boot/docs/current/gradle-plugin/reference/html/#packaging-layered-jars
- https://reflectoring.io/bean-validation-with-spring-boot/
- https://dzone.com/articles/hibernate-performance-tuning
- https://spring.io/blog/2015/06/17/devtools-in-spring-boot-1-3
- https://bmuschko.com/blog/gradle-docker-convention-plugin/
- https://stackoverflow.com/questions/29605201/how-to-secure-spring-cloud-config-server
- https://vladmihalcea.com/how-do-solve-the-postgresql-cast-operator-issue-with-jpa-and-hibernate/
- https://docs.jboss.org/hibernate/core/3.3/reference/en/html/queryhql.html#queryhql-joins
- https://docs.jboss.org/hibernate/core/3.3/reference/en/html/performance.html#performance-fetching
- https://stackoverflow.com/questions/12922320/hibernate-query-how-to-select-those-parents-that-have-all-the-children-matchin
- https://stackoverflow.com/questions/15539550/jpa-query-jpql-to-select-parents-that-have-all-children-with-a-property-in-a-s
- https://docs.spring.io/spring-data/jpa/docs/1.7.0.DATAJPA-580-SNAPSHOT/reference/html/auditing.html audit
- https://dzone.com/articles/spring-data-jpa-auditing-automatically-the-good-stuff
- https://docs.spring.io/spring-boot/docs/1.3.1.RELEASE/reference/htmlsingle/#howto-two-datasources mutlple datasource in spring jpa
- https://stackoverflow.com/questions/42086928/multiple-datasource-with-spring-boot-jpa
- https://spring.io/guides/topicals/spring-boot-docker
- https://docs.spring.io/spring-framework/docs/4.2.x/spring-framework-reference/html/transaction.html
- https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#jpa.query-methods.query-creation
- https://www.baeldung.com/spring-data-rest-events RepositoryEventHandler vs aop? -> learn repositoryEventHandler
- https://www.drissamri.be/blog/java/enable-https-in-spring-boot/
- https://stackoverflow.com/questions/32587434/how-can-i-set-parameters-from-docker-command-line-to-configure-spring-boot-appli
- https://stackoverflow.com/questions/36991562/how-can-i-set-up-a-letsencrypt-ssl-certificate-and-use-it-in-a-spring-boot-appli
- https://stackoverflow.com/questions/26028971/docker-container-ssl-certificates
- https://stackoverflow.com/questions/12617827/gradle-1-2-exclude-directory-under-resources-sourcesets#12632944
- https://www.mkyong.com/gradle/gradle-how-to-exclude-some-tests/
- https://stackoverflow.com/questions/21612729/understanding-gradle-task-dependency-dependson#21613379
- https://stackoverflow.com/questions/45147280/spring-webflux-how-to-forward-to-index-html-to-serve-static-content
- https://stackoverflow.com/questions/58687966/how-to-let-vue-router-handle-request-when-embeded-with-spring-boot-webflux
- https://github.com/jonashackt/spring-boot-vuejs?files=1
- https://github.com/pacphi/reactive-jdbc-demo/blob/master/build.gradle
- https://stackoverflow.com/questions/31823778/how-to-return-hashmap-from-jpa-query
- https://stackoverflow.com/questions/33035922/debug-java-program-by-executing-gradle-run
- https://www.baeldung.com/spring-boot-command-line-arguments
- https://stackoverflow.com/questions/59871791/mutual-authentication-got-javax-net-ssl-sslhandshakeexception-null-cert-chain-i
- https://stackoverflow.com/questions/1666052/java-https-client-certificate-authentication
- https://stackoverflow.com/questions/57414368/how-to-fix-sslhandshakeexception-while-using-spring-resttemplate-with-a-self-s
- https://stackoverflow.com/questions/27724544/specifying-trust-store-information-in-spring-boot-application-properties
- https://github.com/mostafacs/ecommerce-microservices-spring-reactive-webflux
- https://medium.com/backend-habit/intellij-idea-running-multiple-project-microservices-in-one-workspace-d61126fe0eef
- https://github.com/anthofo/spring-boot-security-oauth2-jwt
- https://gist.github.com/destan/b708d11bd4f403506d6d5bb5fe6a82c5
- https://www.baeldung.com/rest-api-spring-oauth2-angular
- https://github.com/francescopeloi/spring-boot-build-docker-image-demo
spring:
security:
oauth2:
resourceserver:
jwt:
issuer-uri: http://localhost:8083/auth/realms/baeldung
jwk-set-uri: http://localhost:8083/auth/realms/baeldung/protocol/openid-connect/certs
Linux
- https://linuxjourney.com/
- https://ngrok.com/ -- you can ssh through ngok
- https://medium.com/botfuel/how-to-expose-a-local-development-server-to-the-internet-c31532d741cc
- Localtunnel allows you to easily share a web service on your local development machine without messing with DNS and firewall settings.
- https://packetriot.com/ vs ngrok
- free ssh remotely Teleconsole
- https://telebit.cloud/
- https://github.com/beameio/beame-insta-ssl
- https://www.tecmint.com/run-linux-command-process-in-background-detach-process/?fbclid=IwAR2hh3yw7SmQuOP37khgrAbDRAmtOossZUmJTNhesWZof0B-f8l1vPUI81Q
- https://superuser.com/questions/1298594/port-forwarding-without-router-access-how-does-it-work
- https://superuser.com/questions/595989/ssh-through-a-router-without-port-forwarding?rq=1
- https://stackoverflow.com/questions/5130968/how-can-i-copy-the-output-of-a-command-directly-into-my-clipboard
- https://stackoverflow.com/questions/15409947/how-to-split-a-string-in-shell
- https://stackoverflow.com/questions/31656645/how-do-i-echo-directly-on-standard-output-inside-a-shell-function
- https://www.tecmint.com/free-online-linux-learning-guide-for-beginners/
- https://www.tecmint.com/manage-users-and-groups-in-linux/
- https://www.ibm.com/support/pages/incorrect-file-permissions-assigned-messages-transferred-sftp-client-adapter
APK
- https://apps.evozi.com/apk-downloader/
- https://oceanofapk.com/oxford-advanced-learner-dictionary-9th-edition-apk-free-download/
- https://androidfilehost.com/?fid=6006931924117895039
Cool
Docker
Gitlab
- https://www.youtube.com/watch?v=34u4wbeEYEo&list=PLaFCDlD-mVOlnL0f9rl3jyOHNdHU--vlJ
- https://docs.gitlab.com/charts/installation/command-line-options.html
Other
- https://www.dxomark.com/smartphones/
- https://github.com/fingerprintjs/fingerprintjs
- https://github.com/jackspirou/clientjs
- https://github.com/Song-Li/cross_browser
- https://stackoverflow.com/questions/216542/how-do-i-uniquely-identify-computers-visiting-my-web-site
- https://panopticlick.eff.org/static/browser-uniqueness.pdf
- https://regex101.com/codegen?language=java
- https://github.com/ageitgey/face_recognition
- https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition
- https://www.reddit.com/r/YouShouldKnow/comments/i3jiuq/ysk_that_ie_and_eg_are_not_interchangeable/
- https://www.reddit.com/r/java/comments/d9nxpo/r2dbc_08_release_candidate_1_released/?utm_medium=android_app&utm_source=share
- https://telegra.ph/Give-your-Pixel-Camera-Superpowers-with-this-Synthetic-Long-Exposure-script-using-Termux-09-10
- https://4pda.to/forum/index.php?showtopic=955226
- https://free.facebook.com/messages/?ref_component=mfreebasic_home_header&ref_page=MMessagingEntBasedReadController&refid=12
- https://0.freebasics.com/welcome/?next=https%3A%2F%2F0.freebasics.com%2F
- http://m.comss.info/list.php?c=promo
- https://thehiddenwiki.org/
- https://academictips.org/blogs/
- http://www.androidpolice.com/
- http://www.vpngate.net/en/
- https://dev.to/yashints/chrome-devtools-can-do-that-4a8l
- https://portswigger.net/research/practical-web-cache-poisoning
- https://www.reddit.com/r/coding/comments/ft9yak/boost_your_commandline_productivity_with_fuzzy/?utm_medium=android_app&utm_source=share
- https://localhost:9443/ibmmq/console/login.html user: ibm & ibmmq
- https://github.com/pochih/CBIR
- https://github.com/sdmg15/Best-websites-a-programmer-should-visit
Android
- https://github.com/googlesamples/android-vision.git
- https://github.com/NordicSemiconductor/Android-BLE-Library
- https://github.com/Polidea/RxAndroidBle
- https://stackoverflow.com/questions/44510927/how-to-truly-protect-an-android-apps-google-api-key-if-it-uses-safetynet?rq=1 attestation service & SafetyNet Attestation API
- https://blog.mindorks.com/securing-api-keys-using-android-ndk?fbclid=IwAR3S0vtrWA62DNzGceIJAqvuNdARVmAExiLYOl-XKn0Rp5O5YZvSl6AOHf8
- https://github.com/JesusFreke/smalidea
- https://github.com/patrickfav/uber-apk-signer
- https://stackoverflow.com/questions/16421179/whats-the-best-way-of-structuring-data-on-firebase
- https://stackoverflow.com/questions/42672790/firebase-for-complex-query-a-no-go
- https://heartbeat.fritz.ai/image-recognition-for-android-with-a-custom-tensorflow-lite-model-6418186ecc0e
- https://towardsdatascience.com/10-minutes-to-building-a-binary-image-classifier-by-applying-transfer-learning-to-mobilenet-eab5a8719525
- https://stackoverflow.com/questions/63815276/how-to-get-dir-file-list-in-android-11
- https://github.com/openintents/filemanager/issues/134
- https://proandroiddev.com/compose-camerax-on-android-58578f37e6df
- https://stackoverflow.com/questions/61795508/how-can-i-use-a-cameraview-with-jetpack-compose
Emacs
- https://www.reddit.com/r/emacs/comments/er6dq7/my_gtd_workflow_with_emacsorgmode/?utm_medium=android_app&utm_source=share
- https://github.com/chadhs/dotfiles/blob/master/editors/emacs-config.org
- https://www.reddit.com/r/emacs/comments/bb5mnv/sql_workflows_inside_emacs_anyone_have_a_nice/
- http://www.cs.northwestern.edu/academics/courses/325/readings/graham/graham-notes.html
- http://www.gigamonkeys.com/book/
- https://www.reddit.com/r/emacs/comments/biz2i8/polymode_is_damn_awesome/
- http://ergoemacs.org/emacs/emacs_line_ending_char.html
- http://cachestocaches.com/2017/3/complete-guide-email-emacs-using-mu-and-/
- https://vxlabs.com/2014/06/06/configuring-emacs-mu4e-with-nullmailer-offlineimap-and-multiple-identities/
- https://sachachua.com/blog/2008/05/geek-how-to-use-offlineimap-and-the-dovecot-mail-server-to-read-your-gmail-in-emacs-efficiently/
- http://cachestocaches.com/2017/3/complete-guide-email-emacs-using-mu-and-/
- https://emacs.readthedocs.io/en/latest/mu4e__email_client.html
- https://vxlabs.com/2014/06/06/configuring-emacs-mu4e-with-nullmailer-offlineimap-and-multiple-identities/