使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
maxx
/
geologist
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
Added comments about sqlite db creation
master
Maxime Wack
6 年前
父节点
9f7104f195
当前提交
414c20489b
共有
1 个文件被更改
,包括
4 次插入
和
0 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+4
-0
geoip.R
+ 4
- 0
geoip.R
查看文件
@@ -1,6 +1,10 @@
library(tidyverse)
library(RSQLite)
library(ipapi)
# sqlite3 access.db
# create table access(ip, null1, user, timestamp, zone, req, status, size, referer, agent, null2);
# .separator " "
# .import access.log access
dbConnect(SQLite(), "access.db") %>%
dbGetQuery("delete from access where ip = '192.168.0.254' or user = 'maxx' or agent like '%bot%' or ip = '164.2.255.244';")
撰写
预览
正在加载...
取消
保存