• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • YouClaw
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






雪夜杀机

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 下一页

2020年7月28日

git 命令使用
摘要: # 有两个分支master #切换并新建分支到login git checkout -b login # 提交login分支到本地仓库 git commit -m "提交信息" # 查看分支 git branch # 切换master分支 git checkout master # 查看分支 git 阅读全文
posted @ 2020-07-28 11:10 光之星 阅读(75) 评论(0) 推荐(0)
 

2020年7月27日

java设计模式应用
摘要: 1、builder设计模式(邮件工具类) public class EmailMessage { private Message message; private static final String FROM = "sender"; private static final String PAS 阅读全文
posted @ 2020-07-27 20:44 光之星 阅读(203) 评论(0) 推荐(0)
 

2020年6月16日

linux 中python的使用
摘要: 1.ipython的使用 # 安装 pip3 install ipython # 编辑 vim /etc/profile # 设置别名 -m IPython 起一个IPython服务 alias ipython='python3 -m IPython' # 刷新当前终端环境变量 source /et 阅读全文
posted @ 2020-06-16 09:53 光之星 阅读(243) 评论(0) 推荐(0)
 

2020年6月9日

linux命令
摘要: 后台执行py文件 nohup python3 -u flask_server.py > flask_log.log 2>&1 & 1. 带&的命令行,无论关闭终端都在后台运行。 2.-u是为了禁止缓存,让结果可以直接进入日志文件flask_log.log 3. 2>&1的意思 这个意思是把标准错误( 阅读全文
posted @ 2020-06-09 15:38 光之星 阅读(94) 评论(0) 推荐(0)
 

2020年6月6日

python orm之sqlalchemy
摘要: 基础操作 import sqlalchemy import threading import datetime from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import create_engine f 阅读全文
posted @ 2020-06-06 19:46 光之星 阅读(204) 评论(0) 推荐(0)
 

2020年5月12日

redis分布式锁
摘要: 实例1: //获取 RLock 实例 RLock lock = redisson.getLock(Constants.STANDARD_DETAIL_LOCK_KEY_PREFIX + fo.getId()); boolean tryLock = false; try { //会立即获取锁,如果在调 阅读全文
posted @ 2020-05-12 17:39 光之星 阅读(131) 评论(0) 推荐(0)
 

2019年12月19日

excel 使用
摘要: 列于列拼接 阅读全文
posted @ 2019-12-19 16:37 光之星 阅读(160) 评论(0) 推荐(0)
 

2019年12月14日

python多线程
摘要: 1、threading模块 threading事件 event = threading.Event() # 调用该方法的线程会被阻塞,如果设置了timeout参数,超时后,线程会停止阻塞继续执行; event.wait(timeout=None) # 将event的标志设置为True,调用wait方 阅读全文
posted @ 2019-12-14 11:39 光之星 阅读(133) 评论(0) 推荐(0)
 

2019年12月7日

java 操作实例
摘要: 1、递归深渊(获取数结构) public static void main(String[] args) { ThreadTest threadTest = new ThreadTest(); System.out.println(threadTest.getName()); List<Node> 阅读全文
posted @ 2019-12-07 12:55 光之星 阅读(198) 评论(0) 推荐(0)
 

2019年12月6日

windows命令
摘要: 设置环境变量 #erlang环境变量 setx ERLANG_HOME "E:\erlang\erl10.5" /m setx Path "%Path%;%ERLANG_HOME%\bin" /m 阅读全文
posted @ 2019-12-06 17:16 光之星 阅读(135) 评论(0) 推荐(0)
 
上一页 1 2 3 4 下一页