Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shivam-880/til

Today I learned
https://github.com/shivam-880/til

java javascript maven sbt scala til

Last synced: 9 days ago
JSON representation

Today I learned

Awesome Lists containing this project

README

        

# Today I Learned

A collection of succinct write-ups on whatever I learn on a day to day basis across various languages and technologies.

## Categories

### Ammonite
- [Launch a particular version of ammonite](https://github.com/iamsmkr/til/blob/master/amm.md#launch-a-particular-version-of-ammonite)

### AWS
- [Install and configure AWS CLI](https://github.com/iamsmkr/til/blob/master/aws.md#install-and-configure-aws-cli)
- [List files in a bucket](https://github.com/iamsmkr/til/blob/master/aws.md#list-files-in-a-bucket)
- [Copy single file from a bucket](https://github.com/iamsmkr/til/blob/master/aws.md#copy-single-file-from-a-bucket)
- [Copy all files from a bucket (directory)](https://github.com/iamsmkr/til/blob/master/aws.md#copy-all-files-from-a-bucket-directory)

### Bash
- [Banners in Bash Scripts](https://github.com/iamsmkr/til/blob/master/bash.md#banners-in-bash-scripts)
- [Configure Base Dir](https://github.com/iamsmkr/til/blob/master/bash.md#configure-base-dir)
- [Cumulative size of all the files in a dir/subdir](https://github.com/iamsmkr/til/blob/master/bash.md#cumulative-size-of-all-the-files-in-a-dirsubdir)
- [Delete all directories except](https://github.com/iamsmkr/til/blob/master/bash.md#delete-all-directories-except)
- [Extract IP Address](https://github.com/iamsmkr/til/blob/master/bash.md#extract-ip-address)
- [Find lines of code](https://github.com/iamsmkr/til/blob/master/bash.md#find-lines-of-code)
- [Interactive Bash Script](https://github.com/iamsmkr/til/blob/master/bash.md#interactive-bash-script)
- [Output to both console and log file](https://github.com/iamsmkr/til/blob/master/bash.md#output-to-both-console-and-log-file)
- [Print last line of each file](https://github.com/iamsmkr/til/blob/master/bash.md#print-last-line-of-each-file)
- [Write lines from and to given line numbers from a file to another file](https://github.com/iamsmkr/til/blob/master/bash.md#write-lines-from-and-to-given-line-numbers-from-a-file-to-another-file)

### Docker
- [Access services running on host machine from inside a container service as localhost](https://github.com/iamsmkr/til/blob/master/docker.md#access-services-running-on-host-machine-from-inside-a-container-service-as-localhost)
- [Build a docker image](https://github.com/iamsmkr/til/blob/master/docker.md#build-a-docker-image)
- [Delete docker volumes that are not being used by any container](https://github.com/iamsmkr/til/blob/master/docker.md#delete-docker-volumes-that-are-not-being-used-by-any-container)
- [Follow container logs](https://github.com/iamsmkr/til/blob/master/docker.md#follow-container-logs)
- [List docker volume data](https://github.com/iamsmkr/til/blob/master/docker.md#list-docker-volume-data)
- [Multi-stage based builder pattern to create docker images](https://github.com/iamsmkr/til/blob/master/docker.md#multi-stage-based-builder-pattern-to-create-docker-images)
- [Run a container](https://github.com/iamsmkr/til/blob/master/docker.md#run-a-container)
- [Set path in Dockerfile](https://github.com/iamsmkr/til/blob/master/docker.md#set-path-in-dockerfile)

### Great Expectations
- [Create and save expectations in an Expectation Suite](https://github.com/iamsmkr/til/blob/master/ge.md#create-and-save-expectations-in-an-expectation-suite)
- [Vaildate batch against an expectation suite](https://github.com/iamsmkr/til/blob/master/ge.md#vaildate-batch-against-an-expectation-suite)
- [Validate batch and create data docs](https://github.com/iamsmkr/til/blob/master/ge.md#validate-batch-and-create-data-docs)

### Git
- [Branch Desciptions](https://github.com/iamsmkr/til/blob/master/git.md#branch-descriptions)
- [Rename branch](https://github.com/iamsmkr/til/blob/master/git.md#rename-branch)
- [Delete a branch](https://github.com/iamsmkr/til/blob/master/git.md#delete-a-branch)
- [Change commit message](https://github.com/iamsmkr/til/blob/master/git.md#change-commit-message)
- [Git commits count](https://github.com/iamsmkr/til/blob/master/git.md#git-commits-count)
- [Revert commit already pushed to github](https://github.com/iamsmkr/til/blob/master/git.md#revert-commit-already-pushed-to-github)
- [Revert commit head to second last commit](https://github.com/iamsmkr/til/blob/master/git.md#revert-commit-head-to-second-last-commit)
- [Change git editor to Vim](https://github.com/iamsmkr/til/blob/master/git.md#change-git-editor-to-vim)
- [Symbolic links in git](https://github.com/iamsmkr/til/blob/master/git.md#symbolic-links-in-git)
- [Most recent commit log with the file names](https://github.com/iamsmkr/til/blob/master/git.md#most-recent-commit-log-with-the-file-names)
- [Merge branches with unrelated histories](https://github.com/iamsmkr/til/blob/master/git.md#merge-branches-with-unrelated-histories)
- [Merge unrelated local remote repositories](https://github.com/iamsmkr/til/blob/master/git.md#merge-unrelated-local-remote-repositories)
- [Rebase from another branch arrow](https://github.com/iamsmkr/til/blob/master/git.md#rebase-from-another-branch-arrow)
- [Reorder commits while rebasing](https://github.com/iamsmkr/til/blob/master/git.md#reorder-commits-while-rebasing)
- [Change remote url](https://github.com/iamsmkr/til/blob/master/git.md#change-remote-url)
- [Adding code to existing github repository](https://github.com/iamsmkr/til/blob/master/git.md#adding-code-to-existing-github-repository)
- [Initialize repo with a default branch](https://github.com/iamsmkr/til/blob/master/git.md#initialize-repo-with-a-default-branch)
- [Sparse Checkout](https://github.com/iamsmkr/til/blob/master/git.md#sparse-checkout)
- [List changes in stash](https://github.com/iamsmkr/til/blob/master/git.md#list-changes-in-stash)
- [List only file names in stash](https://github.com/iamsmkr/til/blob/master/git.md#list-only-file-names-in-stash)
- [Selectively stash git changes](https://github.com/iamsmkr/til/blob/master/git.md#selectively-stash-git-changes)
- [Create a tag](https://github.com/iamsmkr/til/blob/master/git.md#create-a-tag)
- [Delete a tag](https://github.com/iamsmkr/til/blob/master/git.md#delete-a-tag)
- [Push tags](https://github.com/iamsmkr/til/blob/master/git.md#push-tags)
- [Fetch all remote tags](https://github.com/iamsmkr/til/blob/master/git.md#fetch-all-remote-tags)

### H2
- [Access H2 from command line](https://github.com/iamsmkr/til/blob/master/h2.md#access-h2-from-cmd)
- [Specifying absolute path in jdbc url](https://github.com/iamsmkr/til/blob/master/h2.md#specifying-absolute-path-in-jdbc-url)

### Java
- [Calculate time difference (millisecond precision)](https://github.com/iamsmkr/til/blob/master/java.md#calculate-time-difference-with-millisecond-precision)
- [Create heap dump](https://github.com/iamsmkr/til/blob/master/java.md#create-heap-dump)
- [Create thread dump](https://github.com/iamsmkr/til/blob/master/java.md#create-thread-dump)
- [Running java applications](https://github.com/iamsmkr/til/blob/master/java.md#running-java-applications)
- [Reading properties from properties file](https://github.com/iamsmkr/til/blob/master/java.md#reading-properties-from-properties-file)
- [Reading resources from classpath](https://github.com/iamsmkr/til/blob/master/java.md#reading-resources-from-classpath)
- [Remote JMX Monitoring over SSH](https://github.com/iamsmkr/til/blob/master/java.md#remote-jmx-monitoring-over-ssh)

### JavaScript
- [Animated Logo in Reactjs](https://github.com/iamsmkr/til/blob/master/javascript.md#animated-logo-in-reactjs)
- [Check if Javascript object is empty](https://github.com/iamsmkr/til/blob/master/javascript.md#check-if-javascript-object-is-empty)
- [Convert an array of objects to object of objects with indices as one of the key value](https://github.com/iamsmkr/til/blob/master/javascript.md#convert-an-array-of-objects-to-object-of-objects-with-indices-as-one-of-the-key-value)
- [Convert a list of objects to an object of objects with indices of objects in the lists as keys](https://github.com/iamsmkr/til/blob/master/javascript.md#convert-a-list-of-objects-to-an-object-of-objects-with-indices-of-objects-in-the-lists-as-keys)
- [Custom React Hook to implement intervals](https://github.com/iamsmkr/til/blob/master/javascript.md#custom-react-hook-to-implement-intervals)
- [Enums in Javascript](https://github.com/iamsmkr/til/blob/master/javascript.md#enums-in-javascript)
- [How to properly terminate timeouts started in a loop](https://github.com/iamsmkr/til/blob/master/javascript.md#how-to-properly-terminate-timeouts-started-in-a-loop)
- [Parsing javascript object](https://github.com/iamsmkr/til/blob/master/javascript.md#parsing-javascript-object)
- [Pausing setInterval when page/ browser is out of focus](https://github.com/iamsmkr/til/blob/master/javascript.md#pausing-setinterval-when-page-browser-is-out-of-focus)
- [Sleep in Javascript](https://github.com/iamsmkr/til/blob/master/javascript.md#sleep-in-javascript)
- [Slice objects from a list of objects to an object of objects with keys as indices](https://github.com/iamsmkr/til/blob/master/javascript.md#slice-objects-from-a-list-of-objects-to-an-object-of-objects-with-keys-as-indices)
- [Start local webserver to host dev apps](https://github.com/iamsmkr/til/blob/master/javascript.md#start-local-webserver-to-host-dev-apps)
- [Start React App in DEV/PROD mode](https://github.com/iamsmkr/til/blob/master/javascript.md#start-react-app-in-devprod-mode)

### Kubernetes
- [Basic minikube cluster commands](https://github.com/iamsmkr/til/blob/master/kubernetes.md#basic-minikube-cluster-commands)
- [List minikube cluster ip address](https://github.com/iamsmkr/til/blob/master/kubernetes.md#list-minikube-cluster-ip-address)
- [Enable addons on a minikube cluster](https://github.com/iamsmkr/til/blob/master/kubernetes.md#enable-addons-on-a-minikube-cluster)
- [List minikube docker environment variables](https://github.com/iamsmkr/til/blob/master/kubernetes.md#list-minikube-docker-environment-variables)
- [Point local Docker daemon to the minikube internal Docker registry](https://github.com/iamsmkr/til/blob/master/kubernetes.md#point-local-docker-daemon-to-the-minikube-internal-docker-registry)
- [Launch minikube Dashboard](https://github.com/iamsmkr/til/blob/master/kubernetes.md#launch-minikube-dashboard)
- [Show minikube cluster info](https://github.com/iamsmkr/til/blob/master/kubernetes.md#show-minikube-cluster-info)
- [Create a secret](https://github.com/iamsmkr/til/blob/master/kubernetes.md#create-a-secret)
- [Apply deployment configs](https://github.com/iamsmkr/til/blob/master/kubernetes.md#apply-deployment-configs)
- [Delete deployment configs](https://github.com/iamsmkr/til/blob/master/kubernetes.md#delete-deployment-configs)
- [Kubectl queries](https://github.com/iamsmkr/til/blob/master/kubernetes.md#kubectl-queries)
- [Kubectl logs](https://github.com/iamsmkr/til/blob/master/kubernetes.md#kubectl-logs)

### Linux
- [Create tunnel](https://github.com/iamsmkr/til/blob/master/linux.md#create-tunnel)
- [Delete all files and directories except a given few](https://github.com/iamsmkr/til/blob/master/linux.md#delete-all-files-and-directories-except-a-given-few)
- [Determine if a port is already in use](https://github.com/iamsmkr/til/blob/master/linux.md#determine-if-a-port-is-already-in-use)
- [Determine if a port is open on a remote server](https://github.com/iamsmkr/til/blob/master/linux.md#determine-if-a-port-is-open-on-a-remote-server)
- [Download google drive file](https://github.com/iamsmkr/til/edit/master/linux.md#download-goole-drive-file)
- [Find a file by name](https://github.com/iamsmkr/til/blob/master/linux.md#find-a-file-by-name)
- [Grep in Parallel](https://github.com/iamsmkr/til/blob/master/linux.md#grep-in-parallel)
- [How to create windows bootable disk on ubuntu](https://github.com/iamsmkr/til/blob/master/linux.md#how-to-create-windows-bootable-disk-on-ubuntu)
- [How to format bootable ubuntu usb drive](https://github.com/iamsmkr/til/blob/master/linux.md#how-to-format-bootable-ubuntu-usb-drive)
- [Install necessary tools](https://github.com/iamsmkr/til/blob/master/linux.md#install-necessary-tools)
- [Keyboard shortcut to force exit ssh shell](https://github.com/iamsmkr/til/blob/master/linux.md#keyboard-shortcut-to-force-exit-ssh-shell)
- [Using rsync for data transfer](https://github.com/iamsmkr/til/blob/master/linux.md#using-rsync-for-data-transfer)
- [Update AWS IP in your local dns](https://github.com/iamsmkr/til/blob/master/linux.md#update-aws-ip-in-your-local-dns)

### MacOS
- [Pretty Print Json](https://github.com/iamsmkr/til/blob/master/macos.md#pretty-print-json)
- [Run VSCode from Mac Terminal](https://github.com/iamsmkr/til/blob/master/macos.md#run-vscode-from-mac-terminal)

### Maven
- [Resolving dependencies](https://github.com/iamsmkr/til/blob/master/maven.md#resolving-dependencies)
- [Running maven applications](https://github.com/iamsmkr/til/blob/master/maven.md#running-maven-applications)

### Postgres
- [How to generate the “create table” sql statement for an existing table in postgreSQL](https://github.com/iamsmkr/til/blob/master/postgres.md#how-to-generate-the-create-table-sql-statement-for-an-existing-table-in-postgresql)
- [How to pass arguments to sql file](https://github.com/iamsmkr/til/blob/master/postgres.md#how-to-pass-arguments-to-sql-file)
- [How to merge two tables in postgresql based on multiple conditions](https://github.com/iamsmkr/til/blob/master/postgres.md#how-to-merge-two-tables-in-postgresql-based-on-multiple-conditions)

### Python
- [Running single pytest](https://github.com/iamsmkr/til/blob/master/python.md#running-single-pytest)

### Rust
- [Difference HashSet](https://github.com/iamsmkr/til/blob/master/rust.md#difference-hashset)

### Scala
- [Adding Shutdown Hooks for JVM Applications](https://github.com/iamsmkr/til/blob/master/scala.md#adding-shutdown-hooks-for-jvm-applications)
- [Change Current Directory](https://github.com/iamsmkr/til/blob/master/scala.md#change-current-directory)
- [Class Constructors](https://github.com/iamsmkr/til/blob/master/scala.md#class-constructors)
- [Convert Java collections to Scala](https://github.com/iamsmkr/til/blob/master/scala.md#convert-java-collections-to-scala)
- [Convert a List into a Tuple](https://github.com/iamsmkr/til/blob/master/scala.md#convert-a-list-into-a-tuple)
- [Convert List of lists into Tuple of lists](https://github.com/iamsmkr/til/blob/master/scala.md#convert-list-of-lists-into-tuple-of-lists)
- [Convert List of tuples into a List of lists](https://github.com/iamsmkr/til/blob/master/scala.md#convert-list-of-tuples-into-a-list-of-lists)
- [Convert String to LocalDateTime](https://github.com/iamsmkr/til/blob/master/scala.md#convert-string-to-localdatetime)
- [Count the number of occurrences in a list](https://github.com/iamsmkr/til/blob/master/scala.md#count-the-number-of-occurrences-in-a-list)
- [Create/Update configs in Scala at runtime](https://github.com/iamsmkr/til/blob/master/scala.md#createupdate-configs-in-scala-at-runtime)
- [Find duplicates in a list](https://github.com/iamsmkr/til/blob/master/scala.md#find-duplicates-in-a-list)
- [Find files with a given extension](https://github.com/iamsmkr/til/blob/master/scala.md#find-files-with-a-given-extension)
- [How to pick up a free port number on localhost](https://github.com/iamsmkr/til/blob/master/scala.md#how-to-pick-up-a-free-port-number-on-localhost)
- [Load Configurations](https://github.com/iamsmkr/til/blob/master/scala.md#load-configurations)
- [Managed Resources](https://github.com/iamsmkr/til/blob/master/scala.md#managed-resources)
- [Map.map vs Map.mapValues](https://github.com/iamsmkr/til/blob/master/scala.md#mapmap-vs-mapmapvalues)
- [Marshalling/Unmarshalling Java LocalDateTime using spray-json](https://github.com/iamsmkr/til/blob/master/scala.md#marshallingunmarshalling-java-localdatetime-using-spray-json)
- [Marshalling/Unmarshalling Scala Enumerations using spray-json](https://github.com/iamsmkr/til/blob/master/scala.md#marshallingunmarshalling-scala-enumerations-using-spray-json)
- [Marshalling/Unmarshalling generic ADT using spray-json](https://github.com/iamsmkr/til/blob/master/scala.md#marshallingunmarshalling-generic-adt-using-spray-json)
- [Ouptut Redirections](https://github.com/iamsmkr/til/blob/master/scala.md#output-redirection)
- [Read configs in Scala using pureconfig](https://github.com/iamsmkr/til/blob/master/scala.md#read-configs-in-scala-using-pureconfig)
- [Read from a file](https://github.com/iamsmkr/til/blob/master/scala.md#read-from-a-file)
- [Read resource file abs path](https://github.com/iamsmkr/til/blob/master/scala.md#read-resource-file-abs-path)
- [Reload your configuration files reactively](https://github.com/iamsmkr/til/blob/master/scala.md#reload-your-configuration-files-reactively)
- [String format](https://github.com/iamsmkr/til/blob/master/scala.md#string-format)
- [Using wildcards with scala.sys.process._ in Scala](https://github.com/iamsmkr/til/blob/master/scala.md#using-wildcards-with-scalasysprocess_-in-scala)
- [Using Scala Reflection to invoke members of companion object](https://github.com/iamsmkr/til/blob/master/scala.md#using-scala-reflection-to-invoke-members-of-companion-object)
- [Views in scala](https://github.com/iamsmkr/til/blob/master/scala.md#view-in-scala)
- [Wait for all futures to complete](https://github.com/iamsmkr/til/blob/master/scala.md#wait-for-all-futures-to-complete)
- [Ways to deal with option in scala](https://github.com/iamsmkr/til/blob/master/scala.md#ways-to-deal-with-option-in-scala)
- [Write to a file](https://github.com/iamsmkr/til/blob/master/scala.md#write-to-a-file)
- [Zip elements from multiple lists](https://github.com/iamsmkr/til/blob/master/scala.md#zip-elements-from-multiple-lists)

### Sbt
- [Are sbt library dependencies order dependent?](https://github.com/iamsmkr/til/blob/master/sbt.md#are-sbt-library-dependencies-order-dependent)
- [Debug lagom projects](https://github.com/iamsmkr/til/blob/master/sbt.md#debug-lagom-projects)
- [How to have SBT subproject with multiple Scala versions](https://github.com/iamsmkr/til/blob/master/sbt.md#how-to-have-sbt-subproject-with-multiple-scala-versions)
- [Making eclipse aware of fresh dependencies in a sbt project](https://github.com/iamsmkr/til/blob/master/sbt.md#making-eclipse-aware-of-fresh-dependencies-in-a-sbt-project)
- [Making SBT fetch locally published jars instead of reaching out to public maven repositories](https://github.com/iamsmkr/til/blob/master/sbt.md#making-sbt-fetch-locally-published-jars-instead-of-reaching-out-to-public-maven-repositories)
- [Publish Artificats to Sonatype OSSRH](https://github.com/iamsmkr/til/blob/master/sbt.md#publish-artificats-to-sonatype-ossrh)
- [Specify dependencies in classpath](https://github.com/iamsmkr/til/blob/master/sbt.md#specify-dependencies-in-classpath)
- [Unmanaged Resources](https://github.com/iamsmkr/til/blob/master/sbt.md#unmanaged-resources)
- [Using locally maven published jar in a sbt project](https://github.com/iamsmkr/til/blob/master/sbt.md#using-locally-maven-published-jar-in-a-sbt-project)
- [Using sbt from behind proxy](https://github.com/iamsmkr/til/blob/master/sbt.md#using-sbt-from-behind-proxy)
- [What's SBT_OPTS/.sbtopts?](https://github.com/iamsmkr/til/blob/master/sbt.md#whats-sbt_optssbtopts)

### Sql
- [Passing args to Sql files via script or command line](https://github.com/iamsmkr/til/blob/master/sql.md#passing-args-to-sql-files-via-script-or-command-line)

### Vim
- [Find and replace a word](https://github.com/iamsmkr/til/blob/master/vim.md#find-and-replace-a-word)
- [Show line numbers](https://github.com/iamsmkr/til/blob/master/vim.md#show-line-numbers)