Decisions and approaches to integrating spotless (via gradle) into vscode.
I want a list of code changes that I can apply to the text document in vscode, without spotless saving the text file.
@if "%DEBUG%" == "" @echo off | |
@rem ########################################################################## | |
@rem | |
@rem gradle-tasks-server startup script for Windows | |
@rem | |
@rem ########################################################################## | |
@rem Set local scope for the variables with windows NT shell | |
if "%OS%"=="Windows_NT" setlocal |
I'm using websockets & protobuf in my vscode
extension. I want to replace the message abstractions & inconsistent code with a nicely defined server/client interface using grpc
.
After working on some POC code and running the extension for the first time, I was faced with the following error:
Activating extension 'richardwillis.vscode-gradle' failed:
#!/usr/bin/env sh | |
# | |
# Copyright 2015 the original author or authors. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# https://www.apache.org/licenses/LICENSE-2.0 |
Possible useful resources on understanding Cyrillic script variations (mostly to support Bulgarian).
brew install python
brew install python2
sudo easy_install pip
sudo pip install virtualenv
virtualenv -p python3.7 .
function nvm() { | |
echo "Lazy loading nvm..." | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
nvm "$@" | |
} | |
function setup-prompt() { | |
if [ -f "$(brew --prefix)/etc/bash_completion" ]; then | |
. $(brew --prefix)/etc/bash_completion |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.0</real> |
# Getting started | |
# 1. Install homebrew: https://brew.sh/ | |
# 2. Install nvm: https://github.com/nvm-sh/nvm | |
# 3. Install other stuff: | |
# brew install bash-completion | |
# brew install git | |
# brew install lolcat | |
# brew install bash (then folllow instructions here: https://apple.stackexchange.com/a/292760) | |
# 4. Run: echo "source ./.bashrc" > ~/.bash_profile | |
# 5. Open a new iterm window |