1/14/2020
1/11/2020
How to clean up none docker images
11:09 PM docker, docker image, how to remove none docker images, none docker images No comments
<none>
docker images during building a docker container. So cleaning up would be good for your local development environment because they might take your local storage. There are two ways that you can clean up.
docker rmi $(docker images -f "dangling=true" -q)
If you are using Docker API(higher than 1.25) and you can use prune
command. docker image prune
By the way be careful to type it. If you add -a
option it will remove all your Docker images.12/14/2019
Cannot distribute via Testflight using fastlane in Jenkins
1:11 AM fastlane -20101, ios distribution, ios testflight distribution jenkins, testflight fastlane, testflight jenkins No comments
I have been struggled to distribute our beta software via fastlane. It used to say that I put an incorrect username or password. But I already assigned the environment variable like below.
env["FASTLANE_USER"] = "xxxxxxx@xxxxx.com"
env["FASTLANE_PASSWORD"] = "xxxxxxxxx"
- The error log
Your Apple ID or password was entered incorrectly. (-20101)
In my case I just added another line to reassign the env["FASTLANE_PASSWORD"]
before it uploads the file to Testflight.
By the way I feel that it takes too much time to process a build in Apple Testflight. So I have thought about moving to another service for my beta software release.
12/06/2019
Magic Mouse doesn't scroll properly. Stuck in certain places
12:57 AM magic mouse, magic mouse dual display issue, magic mouse reset, magic mouse scroll error, magic mouse stuck, mouse scroll, stuck to scroll in a certain places No comments
Today I have got a strange issue on my Apple Magic Mouse. The symptom was like I tried to scroll a certain place in the screen then the scroll was stuck on the edge of the area. So I tried setting displays on the preference option. But it was no luck.
Then I started to suspect the mouse. So I changed my Magic Mouse to another Magic Mouse and it works! So the issue was my Magic Mouse has a software issue I guess. Then you need to reset your Magic Mouse connection with your Mac and try it again.
11/20/2019
How to launch Xcode in macos catalina terminal zsh
3:31 PM launch xcode terminal, macos catalina terminal zsh, xcode macos catalina terminal No comments
Apple changed the default shell to ZSH. So I would like to run Xcode in the Terminal. So here is the brief instruction for you.
Open
.zshrc
filevim ~/.zshrc
Add an alias at the bottom.
alias xcode="open -a Xcode"
Source
.zshrc
or relaunch the terminalsource ~/.zshrc
Run the command using the alias.
xcode example.xcworkspace
Bye Slack, Meet Teams
2:46 AM Daily Active Users, Microsoft Teams, Microsoft Teams DAU, Office365, Slack, Teams No comments
I have been a long time user for Slack. The thing that I don’t like Slack is getting heavier and getting slower.
Today I read a new article saying Microsoft Teams got over 2M daily active users in their Teams service. I think that they bundled it as a part of Microsoft Office 365 and it could be a booster to acquire enterprise users.
It is interesting to see what Microsoft has been doing in the recent years. Then I feel that I become a fan of Microsoft. So next time if I have a chance to build a new team I would like to try Microsoft solution for our teams.
11/18/2019
Git ignore vs Git exclude
5:22 PM exclude, gitignore, ignore, react native, source control No comments
If you are a developer you might have used git to manage your source repository. Then you might use .gitignore
file to exclude files or folders that you don’t want to sync with your remote repository.
.gitignore
If you specifies files or folders in .gitignore
file, you can exclude files or folders messed up by an unexpected situation. Because it syncs with your remote repository which means all your team members share this configuration for a project.
exclude
git ls-files --others --exclude-from=.git/info/exclude
When I work on a React Native project then I need to be careful not to affect Android sources. In this case exclude
file could be a solution for you. The scope of exclude file is for your machine which means that you exclude folders or files in your machine not to sync with the remote repositories.