Skip to content

Instantly share code, notes, and snippets.

View d2207197's full-sized avatar
🌴
On vacation

Joseph Yen d2207197

🌴
On vacation
  • http://www.pinkoi.com/
  • Hsinchu, Taiwan
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Learn Git and GitHub without any code!
Using the Hello World guide, you’ll create a repository, start a branch,
write comments, and open a pull request.
@d2207197
d2207197 / 0_reuse_code.js
Created February 18, 2016 02:40
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file has been truncated, but you can view the full file.
Wittmeyer's pseudoinverse iterative algorithm is formulated
Multiple-Phased Systems, whose operational life can be partitioned in a set of disjoint periods, called A?phasesA?; include several classes of systems such as Phased Mission Systems and Scheduled Maintenance Systems.
Because of their deployment in critical applications, the dependability modeling and analysis of Multiple-Phased Systems is a task of primary relevance.
However, the phased behavior makes the analysis of Multiple-Phased Systems extremely complex.
This paper is centered on the description and application of DEEM, a dependability modeling and evaluation tool for Multiple Phased Systems.
DEEM supports a powerful and efficient methodology for the analytical dependability modeling and evaluation of Multiple Phased Systems, based on Deterministic and Stochastic Petri Nets and on Markov Regenerative Processes.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import unicode_literals, print_function
import fileinput
from itertools import groupby, imap
def ngrams(words):
for length in range(1, 5 + 1):
for ngram in zip(*(words[i:] for i in range(length))):
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.