Skip to content

ryancosans/configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configs

a simple repo to hold all the configs for things I use

Generic

git config --global alias.co checkout
git config --global user.name "Your Name"
git config --global user.email [email protected]

kill the ports!

kill $(lsof -t -i :portno)

launch chrome in super sneaky mode

open -a Google\ Chrome --args --incognito --disable-web-security --user-data-dir --disable-features=CrossSiteDocumentBlockingIfIsolating,CrossSiteDocumentBlockingAlways

fuck with the power management settings using

pmset

Sub modules

git submodule update --init --recursive

Styles

draculatheme


Java

Sdkman

Simply open a new terminal and enter:

curl -s "https://get.sdkman.io" | bash

Follow the instructions on-screen to complete installation. Next, open a new terminal or enter:

source "$HOME/.sdkman/bin/sdkman-init.sh"

install java

sdk list java
sdk install java [version]

Raw

info stolen from Solarian Programmer

Start by getting OpenJDK, chose the macOS version. Extract the archive by double clicking on the file or, assuming it is in your Downloads folder, write this in your Terminal:

cd ~/Downloads
tar xf openjdk-11.0.2_osx-x64_bin.tar.gz

Next step, is to move the extracted folder to a place where macOS searches for Java JDK:

sudo mv jdk-11.0.2.jdk /Library/Java/JavaVirtualMachines/

Now, check if you’ve successfully installed the JDK with:

java -version

About

configs for things I use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published