Skip to content

Instantly share code, notes, and snippets.

@ichengchao
ichengchao / AliyunToolsController.java
Last active December 1, 2020 11:27
账号生成逻辑. web: tools.html controller:AliyunToolsController.java service: ResourceDirectoryAccountFactory.java
package name.chengchao.springrun.controller;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import name.chengchao.springrun.model.WebResult;
import name.chengchao.springrun.sso.tools.ResourceDirectoryAccountFactory;
import name.chengchao.springrun.util.UUIDUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@ichengchao
ichengchao / hello.go
Last active May 29, 2020 01:53
aliyun terraform
package main
import (
"database/sql"
"fmt"
"net/http"
"os"
"strconv"
"time"
@ichengchao
ichengchao / LCS.java
Created April 2, 2015 15:45
LCS example
package javaTest;
import junit.framework.Assert;
import org.junit.Test;
/**
* LCS 最长公共子序列演示
*
* @author charles-dell 2015年4月2日 下午11:32:31