Demo of a personal profile built with Ionic.
Forked from Varun's Pen Ionic Profile Example: v0.9.25.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>dataproj.maven</groupId> | |
<artifactId>running-lucene-with-maven</artifactId> | |
<packaging>war</packaging> | |
<version>0.1</version> | |
<profiles> | |
<!-- Add profile configuration here --> | |
</profiles> |
If: | |
- you add and commit with the wrong email address in git, and | |
- your remote has a hook set up to prevent you from pushing with the bad address | |
Then you need to amend the author of your commit before push can succeed: | |
1. fix your email address in git config: | |
$ git config user.name "Your Name" |
# -*- coding: utf-8 -*- | |
# Python3 | |
# 维特比算法 | |
# demo code of https://zh.wikipedia.org/wiki/%E7%BB%B4%E7%89%B9%E6%AF%94%E7%AE%97%E6%B3%95 | |
states = ('Healthy', 'Fever') | |
observations = ('normal', 'cold', 'dizzy') | |
start_probability = {'Healthy': 0.6, 'Fever': 0.4} |
#A Collection of NLP notes
##N-grams
###Calculating unigram probabilities:
P( wi ) = count ( wi ) ) / count ( total number of words )
In english..
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$lang$,$endif$$if(papersize)$$papersize$,$endif$]{$documentclass$} | |
\usepackage[T1]{fontenc} | |
\usepackage{lmodern} | |
\usepackage{amssymb,amsmath} | |
\usepackage{euler} | |
\usepackage{ifxetex,ifluatex} | |
\usepackage{fixltx2e} % provides \textsubscript | |
% use microtype if available | |
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex | |
\IfFileExists{microtype.sty}{\usepackage{microtype}}{} |
httpClient.DefaultRequestHeaders.Authorization = | |
new AuthenticationHeaderValue( | |
"Basic", | |
Convert.ToBase64String( | |
System.Text.ASCIIEncoding.ASCII.GetBytes( | |
string.Format("{0}:{1}", username, password)))); |
#! /bin/bash | |
# Copyright 2017 hai liang wang <hailiang.hl.wang@gmail.com> | |
# 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 | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and |
#! /bin/bash | |
########################################### | |
# Test Wav file for xfyun api | |
# https://hub.docker.com/r/samurais/xfyun-api/ | |
########################################### | |
# constants | |
baseDir=$(cd `dirname "$0"`;pwd) | |
hostUri=localhost | |
port=9666 |
docker run \ | |
-ti \ | |
-d \ | |
--restart=always \ | |
--name shipyard-swarm-manager \ | |
swarm:latest \ | |
manage --host tcp://0.0.0.0:3375 etcd://172.29.31.152:4001 | |
https://shipyard-project.com/docs/deploy/manual/ | |