This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .gradle | |
| **/build/ | |
| !src/**/build/ | |
| # Ignore Gradle GUI config | |
| gradle-app.setting | |
| # Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) | |
| !gradle-wrapper.jar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Gradle files | |
| .gradle/ | |
| build/ | |
| # Local configuration file (sdk path, etc) | |
| local.properties | |
| # Log/OS Files | |
| *.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider | |
| # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | |
| # User-specific stuff | |
| .idea/**/workspace.xml | |
| .idea/**/tasks.xml | |
| .idea/**/usage.statistics.xml | |
| .idea/**/dictionaries | |
| .idea/**/shelf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # General | |
| .DS_Store | |
| .AppleDouble | |
| .LSOverride | |
| # Icon must end with two \r | |
| Icon | |
| # Thumbnails |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ❯ find . -name .gitignore | |
| ./app/.gitignore | |
| ./.gitignore | |
| ./.idea/.gitignore | |
| ❯ cat .idea/.gitignore | |
| # Default ignored files | |
| /shelf/ | |
| /workspace.xml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git status | |
| # On branch master | |
| # Your branch is up to date with 'origin/master'. | |
| # | |
| # nothing to commit, working tree clean | |
| git branch -a | |
| # * master | |
| # remotes/origin/HEAD -> origin/master | |
| # remotes/origin/master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| IFS=$'\n' apps=$(mdfind kMDItemCFBundleIdentifier="com.google.android.studio*") | |
| for app in $apps | |
| do | |
| # echo "$app" | |
| home=$(find "$app" | grep -E "/(jdk|jbr)/Contents/Home$") | |
| version=$("${home}/bin/java" --version) | |
| echo "\"$home\"" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ad reiwa heisei showa | |
| ---- ------- -------- ------- | |
| 2024 6 (36) (99) | |
| 2023 5 (35) (98) | |
| 2022 4 (34) (97) | |
| 2021 3 (33) (96) | |
| 2020 2 (32) (95) | |
| 2019 1 31 (94) | |
| 2018 30 (93) | |
| 2017 29 (92) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // live template expression | |
| // groovyScript("/absolute/path/to/inline.groovy", clipboard()); | |
| def cb = _1 | |
| def ls = System.lineSeparator() | |
| return cb.split(ls).collect { l -> | |
| def w = l.split("\"", -1) | |
| if (w.size() == 3) { // single quoted string per a line | |
| def s = w[1].split(":") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import pyperclip | |
| def parse(source): | |
| parsed = list(map(lambda s: s.strip().split(), source.splitlines())) | |
| parsed = list(map(lambda s: [s[0], s[1].strip('"').strip('\'').split(':')], parsed)) | |
| return parsed | |