| layout | checklist_page |
|---|---|
| title | The Side Project Marketing Checklist |
| permalink | /marketing-checklist/ |
- In the directory where your
Vagrantfileis located, run the following command and copy the ID of your VM
VBoxManage list vms
=> "virtualMachine" {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}- Go to the Vagrant project configuration folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker ps | |
| docker ps -a | |
| docker images | |
| docker rmi <image> | |
| docker rm <container> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: 0.1 | |
| log: | |
| fields: | |
| service: registry | |
| storage: | |
| cache: | |
| blobdescriptor: inmemory | |
| filesystem: | |
| rootdirectory: /var/lib/registry | |
| http: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @RunWith(MockitoJUnitRunner.class) | |
| public class TokenAuthenticationFilterTest { | |
| private static final String token = "260bce87-6be9-4897-add7-b3b675952538"; | |
| private static final String testUri = "/testUri"; | |
| @Mock | |
| private SecurityService securityService; | |
| @InjectMocks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| ** When a spring boot project need to build as war | |
| */ | |
| apply plugin: 'war' | |
| war { | |
| baseName = 'myapp' | |
| version = '0.5.0' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'date' | |
| require 'java-properties' | |
| def psystem(command) | |
| puts command | |
| # system command | |
| end | |
| def tag_head(version) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ##################### | |
| ## git release | |
| ##################### | |
| # merge feature | |
| function fmerge() { | |
| branch=`git rev-parse --abbrev-ref HEAD` | |
| echo "git pull" | |
| echo "git pull origin $1" | |
| echo "git push origin $branch" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ai = add --interactive | |
| amend = commit --amend | |
| assume = update-index --assume-unchanged | |
| assumeall = !git st -s | awk {'print $2'} | xargs git assume | |
| assumed = !git ls-files -v | grep ^h | cut -c 3- | |
| br = branch | |
| bra = branch -ra | |
| branch = branch -ra | |
| ca = commit --amend | |
| caa = commit -a --amend -C HEAD |