This website works better with JavaScript.
首頁
探索
說明
登入
maxx
/
geologist
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
Added comments about sqlite db creation
master
Maxime Wack
6 年之前
父節點
9f7104f195
當前提交
414c20489b
共有
1 個文件被更改
,包括
4 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+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';")
Write
Preview
Loading…
取消
儲存