Skip to content

Instantly share code, notes, and snippets.

@grisevg
Last active December 21, 2015 13:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grisevg/44eee441fc9c683d11fa to your computer and use it in GitHub Desktop.
Save grisevg/44eee441fc9c683d11fa to your computer and use it in GitHub Desktop.
INSERT INTO `amx_bans` (`player_ip`, `player_id`, `player_nick`, `admin_ip`, `admin_id`, `admin_nick`, `ban_type`, `ban_reason`, `ban_created`, `ban_length`, `server_ip`, `server_name`) VALUES
('', '', '', NULL, 'admin', 'admin', 'SI', 'autocheat', UNIX_TIMESTAMP(), 0, null, 'website');
grep -r "NICKNAME.*address" . | sed "s/.*\"\([^<]*\).*<\([A-Z]\+[_0-9\:]*\)>.*address \"\(.*\):.*\".*/_\1_\2_\3/" | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment