git clone <repo>
clone the repository specified by ; this is similar to "checkout" in some other version control systems such as Subversion and CVS
Add colors to your ~/.gitconfig file:
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:th="http://www.thymeleaf.org" | |
xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" | |
layout:decorator="fragments/layout" > | |
<body> | |
<p layout:fragment="page-title"> | |
<h2 th:utext="#{welcome}">Welcome2</h2> | |
</p> |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.1</version> | |
<configuration> | |
<verbose>true</verbose> | |
<fork>true</fork> | |
<executable>/path/to/your/jdk6/bin/javac</executable> | |
<compilerVersion>1.6</compilerVersion> | |
<source>1.6</source> | |
<target>1.6</target> |
#!/bin/bash | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home | |
export MAVEN_HOME=/usr/local/Cellar/maven/3.5.0/libexec | |
#PATH | |
export PATH=$JAVA_HOME/bin:$MAVEN_HOME/bin:$PATH |
# | |
# Wide-open CORS config for nginx | |
# | |
location / { | |
if ($request_method = 'OPTIONS') { | |
add_header 'Access-Control-Allow-Origin' '*'; | |
add_header 'Access-Control-Allow-Methods' 'GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS, TRACE'; | |
# | |
# Custom headers and headers various browsers *should* be OK with but aren't | |
# |
@Injectable() | |
export class AuthEffects { | |
@Effect() | |
LOGIN$ = this.actions$.ofType(LOGIN).pipe( | |
map((action: PayloadableAction<string>) => action.payload), | |
switchMap((code: string) => | |
this.googleService.googleLogin(code).pipe( | |
mergeMap((response: HttpResponse<any>) => { | |
if (response.status === 200) { | |
const jwt: string = response.headers.get(NAME_HEADER_JWT); |
if (it is yes) // to be
go here...
else // not to be
go there...
if (not dynamic)
tech geek goes to github [pages]
edit Markdown manually
else
some code tools generate static web sites
if (hosting on github)
git push origin github
else
var possibleAlternative = one of [