Skip to content

Instantly share code, notes, and snippets.

View zhouzhongyuan's full-sized avatar

Zhongyuan Zhou zhouzhongyuan

View GitHub Profile
@zhouzhongyuan
zhouzhongyuan / index.html
Created November 22, 2017 09:03
JS Bin 5-Redux: Writing a Counter Reducer with Tests // source https://jsbin.com/cikokul
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="5-Redux: Writing a Counter Reducer with Tests">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script src="https://wzrd.in/standalone/expect@latest"></script>

Image source

https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png

Try resize it!

  • ![](https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png | width=100)

测试平台:DigitalOcean VPS ubuntu14.04 x64, strongswan5.2.2

运行以下命令请使用root权限

一:安装strongswan

由于ubuntu软件仓库中strongswan版本较低,因此从官网源码编译安装

apt-get install build-essential     #编译环境
aptitude install libgmp10 libgmp3-dev libssl-dev pkg-config libpcsclite-dev libpam0g-dev     #编译所需要的软件
/*
* @Author: gmf
* @Date: 2016-03-17 09:22:11
* @Last Modified by: gmf
* @Last Modified time: 2017-02-09 09:03:20
*/
'use strict';
import React, { Component, PropTypes } from 'react';
import { Container } from 'flux/utils';
import YESFormStore from '../stores/BillFormStore';
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@zhouzhongyuan
zhouzhongyuan / 2048_.idea_.name
Created April 5, 2015 14:33
git remote add origin https://github.com/yawenzhongyuan/2048.git git push -u origin master
2048