This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This uses Google tracking as an example | |
var interval = setInterval(function () { | |
console.log('searching..') | |
if (window._gaq) { | |
_gaq.push(['_trackPageview', 'Something']); | |
clearInterval(interval); | |
console.log('stop'); | |
} | |
}, 10); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
system("telnetd -l /bin/sh"); | |
system("echo setup > /dev/ttyGS0"); | |
} | |
void loop() { | |
// Original code that prints out all data: | |
// system("ifconfig eth0 > /dev/ttyGS0"); | |
// Modified code to search for "inet addr" and print out the address | |
system("ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}' > /dev/ttyGS0"); | |
// Sleep is used here like the "delay" function to continuously print out the address for us. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thank you for considering me for this role. | |
Unfortunately, I am not looking for any new opportunities at the moment. | |
I'll be sure to pass this along to anyone I run into that would fit this position. | |
Respectfully, | |
<name> |
NewerOlder