I hereby claim:
- I am twilight1794 on github.
- I am raiponce (https://keybase.io/raiponce) on keybase.
- I have a public key whose fingerprint is 1D2A 7CC2 74BD B8FE 7DA0 74FD 4584 325D 1593 BC80
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #include <sys/types.h> | |
| #include <sys/socket.h> | |
| #include <netinet/in.h> | |
| #include <netdb.h> | |
| void error(char * msg) { |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| # Date of version: 5/may/2017 (G. C.) | |
| # A generic class | |
| # Copyright © 2016 Giovanni Alfredo Garciliano Díaz | |
| # This file is part of rdhttpd | |
| # rdhttpd is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or |
| <?php | |
| $user_agent = $_SERVER['HTTP_USER_AGENT']; | |
| echo $user_agent; | |
| function getBrowser($user_agent){ | |
| if(strpos($user_agent, 'Maxthon') !== FALSE) | |
| return "Maxthon"; | |
| elseif(strpos($user_agent, 'SeaMonkey') !== FALSE) | |
| return "SeaMonkey"; | |
| elseif(strpos($user_agent, 'Vivaldi') !== FALSE) | |
| return "Vivaldi"; |