Skip to content

Instantly share code, notes, and snippets.

i--storm

Block or report user

Report or block i--storm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@i--storm
i--storm / db-setup.sql
Last active Apr 29, 2019 — forked from gka/db-setup.sql
load geoip database into mysql
View db-setup.sql
DROP TABLE IF EXISTS location;
CREATE TABLE `location` (
`geoname_id` bigint(20) NOT NULL,
`locale_code` varchar(5) DEFAULT NULL,
`continent_code` varchar(5) DEFAULT NULL,
`continent_name` varchar(50) DEFAULT NULL,
`country_iso_code` varchar(5) DEFAULT NULL,
`country_name` varchar(50) DEFAULT NULL,
`subdivision_1_iso_code` varchar(5) DEFAULT NULL,
@i--storm
i--storm / gelfsender.sh
Last active Jan 11, 2017 — forked from gm3dmo/gelfsender.sh
Send a log message to a gelf server using the shell.
View gelfsender.sh
#!/bin/bash
# This script can be used to raise a graylog2/gelf message
# gzip it and send it to a graylog server using netcat (nc)
grayloghost='000.000.000.000' #Graylog Server IP or host here
hostname='gelftester'
short_message='test message short version'
full_message='longer test message. dont\n worry be happy'
level=1
facility='gelftester'
You can’t perform that action at this time.