This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
maxx
/
geologist
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Захтеви за спајање
0
Издања
0
Вики
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…
Откажи
Сачувај