没事随手瞎写的,性能明显不是最好的,而且也没有完全使用生成器
# coding=utf-8
import itertools | set nocompatible " be iMproved, required | |
| filetype off " required | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| " alternatively, pass a path where Vundle should install plugins | |
| " call vundle#begin('~/some/path/here') | |
| " | |
| " let Vundle manage Vundle, required |
| class New(object): | |
| def __init__(self): | |
| super(New, self).__init__() | |
| self._type = None | |
| def __lt__(self, t): | |
| self._type = t | |
| return New2(t) | |
| __lshift__ = __lt__ |
| # coding=utf-8 | |
| import sys | |
| import math | |
| def left(i): | |
| return 2 * (i + 1) - 1 | |
| def right(i): |
| kubectl create secret generic mysql --from-literal=password=YOUR_PASSWORD |
| --- | |
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: lbc-guestbook | |
| spec: | |
| rules: | |
| - host: lbc-guestbook.default.10.202.15.4.xip.io # change the hostname to yours | |
| http: | |
| paths: |