[GeekS's notes] #

Be Pythonic! fp reading notes

Categories

Tech (37)

Tags

centos (1) cookiecutter (2) django (3) git (4) github (3) http (1) hugo (3) java (5) jmeter (2) linux (3) loadrunner (1) locust (1) machine-learning (1) macos (3) markdown (2) mongodb (1) nginx (1) ngrinder (1) perf (1) pip (1) pyramid (1) python (20) shell (1) sql (1) sublime (1) terminal (1) tsung (1) uwsgi (1) virtualenv (1)

Recent Notes

INSERT ON DUPLICATE KEY UPDATE

published on
MySQL的on duplicate key update 使用说明与总结 今天查看数据入库脚本时,看到使用的插入语句是: INSERT INTO tablename(field1,field2, field3, ...) VALUES(value1, value2, value3, ...) ON DUPLICATE KEY UPDATE field1=value1,field2=value2, field3=value3, ...; INSERT INTO tbl_test(id,name,age,address) VALUES(1,' Read More...

Reflection in Python

published on
Python Reflection - Python中的反射 我们常常会遇到这样的需求:需要执行对象里的某个方法,或需要调用对象中的某个变量,但是由于种种原因我们无法确定这个方 Read More...

MobaXTerm

published on
Download Link: https://mobaxterm.mobatek.net/download-home-edition.html Introduction: MobaXterm is your ultimate toolbox for remote computing. In a single Windows application, it provides loads of functions that are tailored for programmers, webmasters, IT administrators and pretty much all users who need to handle their remote jobs in a more simple fashion. MobaXterm provides all the important remote network tools (SSH, X11, RDP, VNC, FTP, MOSH, …) and Unix commands (bash, ls, cat, sed, grep, awk, rsync, …) to Windows desktop, in a single portable exe file which works out of the box. Read More...

OOP Solid

published on
面向对象设计SOLID原则 英文简写 名称 SRP 单一职责原则 OCP 开放封闭原则 LSP 里氏替换原则 ISP 接口隔离原则 DIP 依赖倒置原则 1.单一职责原则 一个类或成员方法 Read More...

how to upgrade hugo

published on
Recommended Way Binary (Cross-platform) Download the appropriate version for your platform from Hugo Releases. Once downloaded, the binary can be run from anywhere. You don’t need to install it into a global location. This works well for shared hosts and other systems where you don’t have a privileged account. https://github.com/gohugoio/hugo/releases Ideally, you should install it somewhere in your PATH for easy use. /usr/local/bin is the most probable location. Hugo Home https://gohugo. Read More...