Skip to content

Instantly share code, notes, and snippets.

# Installation Jenkins:
brew update && brew install jenkins
# Java Runtime Environment:
brew cask install java
# Config Launch:
ln -sfv /usr/local/opt/jenkins/*.plist ~/Library/LaunchAgents
sudo cp -fv /usr/local/opt/jenkins/*.plist /Library/LaunchDaemons
sudo chown `whoami` /Library/LaunchDaemons/homebrew.mxcl.jenkins.plist
# Install Required Software
brew cask install caskroom/versions/java8
brew cask install android-sdk
brew cask install intel-haxm
# Set path
export ANDROID_SDK_ROOT="/usr/local/share/android-sdk"
# List out existing playstore image
# sdkmanager --list | grep "playstore"
@hoyin258
hoyin258 / install-ios-development-build-to-simulator.sh
Last active April 7, 2020 15:36
Step for create iOS build and get the iOS build from simulator, and fetch the app and install it in another simulator
# open project and Run project and create the iOS App
# Get the simulator ID
instruments -s devices
# Go to folder of simulator
open ~/Library/Developer/CoreSimulator/Devices/[Simulator UDID]
# Get the app
cd data/Containers/Bundle/Application
@hoyin258
hoyin258 / synology-mount-photo-station-to-moment-folder.md.md
Last active April 17, 2021 08:06
synology-mount-photo-station-to-moment-folder.md
  1. SSH into your Synology
  2. Find the corresponding folders in the filesystem.

=> Private Photo Station folder: /volume1/homes/USER/photo => Moments folder: /volume1/homes/USER/Drive/Moments

  1. Mount Photo Station folder into Moments using

Command

@hoyin258
hoyin258 / browser-use-example.md
Created February 10, 2025 16:03
How to setup local python env + run ollama+qwen+browser-use

Background

To use the AI to automate the browser to do some task

What we need for the major.

Python: The programming language to run the tools Conda: The easy way to setup Python enviornment Ollama: The Local env to run AI model Qwen2.5: The AI model we are going to use