To get a repository from github
git clone https://github.com/peterbsmith2/syacuse-ninja-barracks
To make a new branch
git="" | |
function parse_git_branch() { | |
BRANCH=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'` | |
if [ ! "${BRANCH}" == "" ] | |
then | |
STAT=`parse_git_dirty` | |
STR=$'\u251c' | |
STR+=$'\u2574' | |
STR+="$cyan${BRANCH}${STAT}" |
{{ partial "header.html" . }} | |
{{ partial "navigation.html" . }} | |
<!-- Header --> | |
<section> | |
<h1>Ninja Class</h1> | |
<p>description.. description.. description.. description.. description..</p> | |
<p>description.. description.. description.. description.. description..</p> | |
</section> |
const path = require('path'); | |
const webpack = require('webpack'); | |
module.exports = { | |
entry: { server: './server.ts' }, | |
resolve: { extensions: ['.ts', '.js'] }, | |
target: 'node', | |
// this makes sure we include node_modules and other 3rd party libraries | |
externals: [/(node_modules|main\..*\.js)/], | |
output: { |
Narrator
War began between
Germany and France on August 3, 1914.
Five weeks later,
the German army had smashed its way...
to within 18 miles of Paris.
There, the battered French miraculously
rallied their forces at the Marne River...
and in a series
of unexpected counterattacks —
Lt. Daniels
For now, we'll work out of Narcotics,
with Kima keeping the file.
We'll copy everything to Ronnie
at the courthouse and your people.
Santangelo
Fine with us.
Lt. Daniels
import { Injectable } from '@angular/core'; | |
import { HttpClient } from '@angular/common/http'; | |
import { TransferState, makeStateKey } from '@angular/platform-browser'; | |
import { of } from 'rxjs/observable/of'; | |
import { tap } from 'rxjs/operators'; | |
export const POST_KEY = makeStateKey('posts'); | |
@Injectable() | |
export class ApiService { |