Skip to content

Instantly share code, notes, and snippets.

View BruceMaa's full-sized avatar

司马琦昂 BruceMaa

View GitHub Profile
@BruceMaa
BruceMaa / TODO_List.md
Last active September 24, 2021 03:51
待办事项
  • 开发 数据库Web管理系统
  • 开发 移动端应用 通讯录
  • 学习 Golang 语言
  • 学习 Spring Boot / Spring Cloud / Netfilx 开发项目
  • 学习 Spring 原理
  • 学习 Gradle 配置
  • 学习 ElasticSearch
  • 学习 Lisp 语言
  • 学习 Docker / Kubernetes
  • 学习 Rust 语言
@BruceMaa
BruceMaa / SimpleHTTPServerWithUpload.py
Created March 23, 2017 09:39 — forked from UniIsland/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""
#!/bin/bash
cd /opt
yum install -y gcc gcc-c++
wget http://nginx.org/download/nginx-1.12.2.tar.gz
wget https://ftp.pcre.org/pub/pcre/pcre-8.41.tar.gz
wget http://zlib.net/zlib-1.2.11.tar.gz
wget https://www.openssl.org/source/openssl-1.0.2l.tar.gz
@BruceMaa
BruceMaa / delete_redis_keys_banch.py
Last active January 29, 2019 10:01
生产环境批量删除Redis的key
# encoding: utf-8
"""
author: yangyi@youzan.com
time: 2018/3/9 下午8:35
func:
"""
import redis
import random
import string
import time
@BruceMaa
BruceMaa / BaseEntity
Created October 30, 2019 06:13
Spring Boot JPA
import lombok.Data;
import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedBy;
import org.springframework.data.annotation.LastModifiedDate;
import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import javax.persistence.Version;
import java.time.LocalDateTime;