bulkupdate
This commit is contained in:
10
dockerfiles/cherokee/cherokee.dockerfile
Normal file
10
dockerfiles/cherokee/cherokee.dockerfile
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
FROM debian:stretch
|
||||||
|
#FROM ubuntu:16.04
|
||||||
|
|
||||||
|
MAINTAINER tabledevil
|
||||||
|
|
||||||
|
|
||||||
|
RUN groupadd -g 999 user && \
|
||||||
|
useradd -r -u 999 -g user user
|
||||||
|
|
||||||
|
USER user
|
||||||
@@ -76,6 +76,10 @@ filter {
|
|||||||
# source => "mwg[src]"
|
# source => "mwg[src]"
|
||||||
# target => "mwg[src_geo]"
|
# target => "mwg[src_geo]"
|
||||||
# }
|
# }
|
||||||
|
#url aufteilen nach subdomain.domain.tld
|
||||||
|
grok {
|
||||||
|
match => { "mwg[url]" => "%{URIPROTO:mwg[urlparsed][proto]}://(?<mwg[urlparsed][subdom]>[^/]+)\.(?<mwg[urlparsed][domain]>[^/.]+)\.(?<mwg[urlparsed][tld]>[^/.]+)" }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# mutate {
|
# mutate {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
xrandr --output DVI-I-1 --mode 1920x1080 --rotate left --pos 0x0
|
xrandr --output DVI-I-1 --mode 1920x1080 --rotate left --pos 0x0
|
||||||
xrandr --output DP-2 --primary --mode 2560x1440 --pos 1080x350
|
xrandr --output DP-2 --primary --mode 2560x1440 --pos 1080x350
|
||||||
xrandr --output DP-3 --mode 2560x1440 --pos 3640x350
|
xrandr --output DP-1 --mode 2560x1440 --pos 3640x350
|
||||||
|
|||||||
6
urldecode.py
Executable file
6
urldecode.py
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/python3
|
||||||
|
from urllib.parse import unquote
|
||||||
|
import html
|
||||||
|
import sys
|
||||||
|
url=' '.join(sys.argv[1:])
|
||||||
|
print(html.unescape(unquote(url)))
|
||||||
13
youtube_resolve.sh
Executable file
13
youtube_resolve.sh
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
url=$(echo -ne "${*}" | grep -Pio -m1 'https://www.youtube.com/watch\?[^&|]+')
|
||||||
|
title=$(wget -q -O- "${url}" | grep -Po "(?<=title>).*(?=</title)")
|
||||||
|
title_parsed=$(cat <<eof | python3
|
||||||
|
from urllib.parse import unquote
|
||||||
|
import html
|
||||||
|
import sys
|
||||||
|
url="${title}"
|
||||||
|
print(html.unescape(unquote(url)))
|
||||||
|
eof
|
||||||
|
)
|
||||||
|
|
||||||
|
echo "${*};\"${title_parsed}\""
|
||||||
Reference in New Issue
Block a user