Skip to content

Instantly share code, notes, and snippets.

View user20161119's full-sized avatar
๐Ÿ‘
็ช็ ด่พน็•Œ๏ผŒ็›ดๅˆฐๅพˆ็—›

noboday user20161119

๐Ÿ‘
็ช็ ด่พน็•Œ๏ผŒ็›ดๅˆฐๅพˆ็—›
View GitHub Profile
@islomar
islomar / gitignore-java-mac
Last active May 2, 2024 14:55
Basic gitignore for Java and Mac:
# git config --global core.excludesfile ~/.gitignore_global
# Some common .gitignore configurations: https://gist.github.com/octocat/9257657
# Copy the next content on the .gitignore_global file:
.DS_Store
*.class
@edylle
edylle / StreamFilter.java
Last active July 5, 2023 07:35
Java 8 lambda stream filter example - sum of BigDecimal
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
class StreamFilter {
public static void main(String[] args) {
List<Wrapper> list = new ArrayList<>();
list.add(new Wrapper("true"));
@kentbrew
kentbrew / lang_chrome_osx.md
Last active November 4, 2025 09:40
How to change the Chrome default language on OSX

How to Change your Chrome Default Language

Open up a Terminal window. (If you have never seen Terminal before, go to Spotlight Search and type "Terminal.")

In the Terminal box, try this:

defaults read com.google.Chrome AppleLanguages

If you see this: