I hereby claim:
- I am a904guy on github.
- I am a904guy (https://keybase.io/a904guy) on keybase.
- I have a public key ASBYmBNvTOaNiCgXuP_FY0dMxMiK5U86IzCSy1tWbkCn_go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:df67f345d4613586a2722cef296c7744216d05fd] |
<?php | |
register_tick_function('trackExecutionTime'); | |
declare(ticks=1); | |
function trackExecutionTime() | |
{ | |
global $executionTimes; | |
import socket | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
# On Windows type `route print` to get a list. | |
# On Linux type `ip route` to get a list. | |
# On Mac type `netstat -r -n` to get a list. | |
s.bind(('192.168.0.1', 0)) # Replace with the IP of the route interface you want to use |