随笔分类 - 编程开发
摘要:搜索引擎为我们提供了一个广阔的知识世界,通过基于关键词的搜索算法,帮助我们快速、准确地找到所需的信息,包括文章、新闻、图片、视频等各种类型的内容。所以我们要善于使用搜索引擎,帮助我们探索知识、寻找答案和解决问题,扩展自己的知识储备和理解世界。
阅读全文
摘要:Dante+Proxifier搭建Socks5服务端和客户端 ### Proxifier Windows客户端使用 http://bbs.ngacn.cc/read.php?tid=3021548### Dante-server 服务端搭建 http://www.asklinux.com/linux
阅读全文
摘要:from flask import render_template, flash, redirect from app import app from app import db, models from forms import LoginForm, SheetForm, VulForm, EveForm import datetime import time // 原始SQL ...
阅读全文
摘要:## Web 表单 配置 为了能够处理 web 表单,我们将使用 Flask-WTF ,该扩展封装了 WTForms 并且恰当地集成进 Flask 中。 许多 Flask 扩展需要大量的配置,因此我们将要在 microblog 文件夹的根目录下创建一个配置文件以至于容易被编辑。这就是我们将要开始的(文件 config.py): $ config.py > C...
阅读全文
摘要:## 基础使用 $ vim app/templates/index.html > > > {{title}} - microblog > > > Hello, {{user.nickname}}! > > $ vim app/views.py > from ...
阅读全文
摘要:# flask学习 参考:http://www.pythondoc.com/flask-mega-tutorial/ ## python3.4 默认支持虚拟环境使用(用最简单的方法,解决问题) wget python3.4 && ./configure && make && make install ## 创建一个虚拟环境 //这个环境能够安装所有的东西,而主P...
阅读全文
摘要:参考网址:http://keepachangelog.com/zh-CN/0.3.0/ 更新日志绝对不应该是git日志的堆砌物 Version 0.3.0 更新日志是什么? 更新日志(Change Log)是一个由人工编辑,以时间为倒叙的列表。 这个列表记录所有版本的重大变动。 # Change L
阅读全文
摘要:# 本地Git操作 $ cd /project/ $ git init $ git log #查看提交历史 $ git reset –hard commit-id 回退 #代码提交 $ git pull $ git add –all $ git commit -m ‘comment’ $ git p
阅读全文
摘要:命令: 参考:https://dormousehole.readthedocs.org/en/latest/index.html Flask模版(支持表单和ORM): https://github.com/miguelgrinberg/microblog/archive/v0.4.zip
阅读全文
摘要:User Space Debugging Tools in Linux By definition, debugging tools are those programs which allow us to monitor ,control and correct errors in other p
阅读全文

浙公网安备 33010602011771号