Install Rosetta for x86 instruction support on Mac
$ softwareupdate --install-rosetta
#!/bin/bash | |
function sdkj() { | |
if [ "$1" == "" ]; then | |
echo "Expected Version prefix" | |
exit 1 | |
fi | |
PREFIX=$1 | |
CONTAINS=$2 | |
# list candidates in the order they were installed. Last matching installed will be selected. | |
CANDIDATES=$(ls -tr ~/.sdkman/candidates/java/) |
Test
Dev Mode
This is a list of tech blogs I follow via RSS. There is no order to this list.
package com.example.custombodyannotation; | |
import java.lang.annotation.ElementType; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
import java.lang.annotation.Target; | |
import java.util.List; | |
import javax.servlet.http.HttpServletRequest; |
#!/bin/bash | |
set -x | |
set -e | |
if [[ -z $1 ]]; then | |
echo "Specify location of Graal VM as first argument" | |
exit 1 | |
fi | |
$1/bin/gu install native-image | |
rm -rf META-INF sample sample.build_artifacts.txt Sample.* *.jar | |
echo "public class Sample { |
If you can elect someone, you should be able to find out who votes for them (by location) on this page.
In this how-to it is being explained how to create a maven repository on github and how to use an existing one.
Clone your original project to a new local repository (change GROUP-NAME and PROJECT-NAME) git clone https://github.com/GROUP-NAME/PROJECT-NAME.git PROJECT-NAME-maven2
Go to the clonned repository (use your PROJECT-NAME-maven2)
cd PROJECT-NAME-maven2
Git for Windows comes bundled with the "Git Bash" terminal which is incredibly handy for unix-like commands on a windows machine. It is missing a few standard linux utilities, but it is easy to add ones that have a windows binary available.
The basic idea is that C:\Program Files\Git\mingw64\
is your /
directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:\Users\name\AppData\Local\Programs\Git
, the mingw64
in this directory is your root. Find it by using pwd -W
).
If you go to that directory, you will find the typical linux root folder structure (bin
, etc
, lib
and so on).
If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corresponding directories. Sometimes the windows binary have funny prefixes, so