import java.util.Date;
import my.domain.FakeOrder;
import my.domain.Price;
import my.domain.OrderWith;
import my.domain.ItemsTotal;
import my.domain.MyTypicalJavaService;
Run Powershell with Administrator
rights
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
scoop install git-with-openssh
scoop bucket add extras
scoop install sliksvn
scoop install docker
scoop install docker-compose
-
How to update the copyright for files in
ruby
project? https://github.com/barrydrink/LicenceInjector/blob/master/bin/licence_injector https://gist.github.com/lbvf50mobile/4296b1a66872620deaf2c30f94e09ccb -
Bundler: why do we need it? https://bundler.io/ Install all of the required gems from your specified sources:
$ bundle install
$ git add Gemfile Gemfile.lock
- Download from https://www.eclipse.org/mat/downloads.php the OSX distributive http://www.eclipse.org/downloads/download.php?file=/mat/1.8.1/rcp/MemoryAnalyzer-1.8.1.20180910-macosx.cocoa.x86_64.zip
- Unzip the archive to folder (
$OSX_MAT_HOME
) - Open the root folder with binary
$OSX_MAT_HOME/mat.app/Contents/MacOS
12:56:03 MacOS $ ls MemoryAnalyzer MemoryAnalyzer.ini workspace
- Download the
swt
cocoa jar from here. - Go to JDKs
jmc
path (You can find this path by right-clicking onjmc
icon in the dock -> Options -> Show in Finder, Then right click on App -> Show Package Contents). For example:cd /Library/Java/JavaVirtualMachines/jdk<version>.jdk/Contents/Home/lib/missioncontrol # Back up exisiting jar using sudo mv plugins/org.eclipse.swt.cocoa.macosx.x86_64_3.103.1.v20140903-1947.jar ../ # Copy downloaded zip's swt.jar using sudo cp ~/Downloads/swt.jar plugins/org.eclipse.swt.cocoa.macosx.x86_64_3.103.1.v20140903-1947.jar
This note tries to document the output of PrintCompilation
flag in HotSpot VM. It was originally intended to be a reply to a blog post on PrintCompilation from Stephen Colebourne. It's kind of grown too big to fit as a reply, so I'm putting it here.
Written by: Kris Mok [email protected]
Most of the contents in this note are based on my reading of HotSpot source code from OpenJDK and experimenting with the VM flags; otheres come from HotSpot mailing lists and other reading materials listed in the "References" section.
This
#
# Docker
#
docker start <container_name> # start particular container
docker start -i <container_name> # start particular container in interactive mode
docker stop <container_name> # stop particular container
docker ps # display all running containers
docker ps -a # display all existing containers (stopped)
### Quick Start
git clone <url> # Clone directory
git checkout -b <new-branch> # Create new local branch
git push -u origin <new-branch> # Sync local branch with remote
git checkout <branch> # Checkout branch
git push origin <branch> # Push branch to remote