Hello, I’m geo

Designs, talks, and writes about web, ethics, privacy, and dev. I share dev tutorials, free resources and inspiration. Loves music & riding his bicycle.

Latest Posts

数据库管理mongodb between , order by , limit

SELECT city, state, pop FROM zips WHERE state = 'NY' AND pop BETWEEN 1000 AND 5000 ORDER BY pop DESC LIMIT 10; db.zips.find( { state: "NY", pop: { $gte: 1000, $lte: 5000 }}...

网页设计 hover , active , transition-duration

hover 滑鼠范围内就生效 .block:hover transition-duration: 1s active 点击后生效 .block:active transition-duration: 1s transition-duration 平滑处理 transition-duration: 1s

数据库管理mongodb select

涵盖了如何为您的应用程序用户创建搜索体验 , 并指导您了解聚合、索引、数据建模和事务等关键主题 select select * from zips limt 1 ; 和 select city , state from zips limit 1 ; 完整说明 db.collection.findOne(filter,projection,op...

网页设计 html attr与自定义名称

pug div(data-type='small' data-color='red') 按钮 div(data-type='medium' data-color='green') 按钮 div(data-type='large' data-color='blue') 按钮 sass * // background-color:#333 color...

数据库管理postgresql 删除数据库

删除数据库 DROP DATABASE 数据库名; DROP DATABASE IF EXISTS 数据库名; drop database testdb ; 删除table drop table users ; 删除表格里的数据 DELETE FROM users WHERE id = ( SELECT id FROM users ...

nodejs express template engine

npm install ejs const express = require('express'); const app = express(); app.set("view engine",'ejs'); app.set("views",'./views'); app.get('/', (req, res) => { res.send(...

中观经济学 帕累托效率

帕累托改进(Pareto improvement) 如果我们能找到一种方法,这种方法能使一些人的状况变好但同时又未使其他人的状况 变差,则我们就得到了一个帕累托改进 如果某种配置存在帕累托改进,则将这种配置称为帕累托无效率 有改进的地方不改进所以就是帕累托无效率 如果某种配置不存在这样的帕累托改进,则称为帕累托有效率(Pareto efficient)