Skip to content

Instantly share code, notes, and snippets.

@rcvaram
rcvaram / ReaderWritterDbConfig.java
Last active May 28, 2022 01:15
This describes the reader writer database configurations
@Configuration
@EntityScan
public class DatabaseConfig {
@Bean
@ConfigurationProperties(prefix = "db.master")
public DataSource readWriteConfiguration() {
return DataSourceBuilder.create().build();
}
@michaellihs
michaellihs / maven-cheatsheet.md
Last active December 16, 2022 07:13
Maven Cheatsheet
@christopheranderton
christopheranderton / homebrew-github-api-token.md
Last active October 10, 2025 20:22
Set your Github API Token If you hit a ”GitHub API rate limit exceeded” when searching with Homebrew (http://brew.sh/).

Description

PLEASE SCROLL DOWN AND READ THE COMMENTS FOR A MORE UP TO DATE WAY (AND EASIER) TO DO THIS
When using Homebrew (http://brew.sh) and searching formulas or pull requests you may get the dreaded error message: Github API Rate limit exceeded

Let's fix that! (yeah!)


Short version

PLEASE SCROLL DOWN AND READ THE COMMENTS FOR A MORE UP TO DATE WAY (AND EASIER) TO DO THIS