Online / Offline Status Notification System via push
-
I have barebone for what they ahave alredy! (
Let me finish some parts and I will release clinet code)
I have CP wotking on my cell :-P
Content managmant is easy, ad managment is possible too (but sorry I pattented the ad managment :-P )
I even can do way more what they have if some on will help me with dirty GUI work.The down side of they have (i thiink) is that they want to controll a hotspot in fill, they becomeing an ISP and if device is odd to be used by ISP lime ourselfs you are getting in to the conflict, who should have client info etc. The thing wthat im integrating is simplified version of our internal and propriatary idea on hotspot managmant. It is designed that all the info and controll will be cept by the hotspot owner, we just have and interface to monitor whats going on at the moment (in fiture I might add ability to remotely controll)
-
looking forward to test youre files on my soekris
-
Ok, i got too much work till the end of the next week but I will try to fonish the first release ASAP, but not sure when… I can do it faster , w/o any server goodies, so that the device just populates the status on the server and you can view list of all devicess... no user accounts or stuff like that... thats what I have so far... I need to add user account and account managmant on the sever.. + configure te doman etc
-
grep makes me crazy reading the file!!!! Why the thingy doesnt work?
Im getting "World: not found"
USERNAME=grep 'World' /usr/local/StatusNotifier/var/status_notifier_conf.php; echo "Username: $USERNAME";
And here is the content of the file:
$lrc_box_name = ""; $lrc_box_location = "Bk"; $lrc_box_comments = "Main Test Site on Wall"; // Hello World this is a test of grep file serach ?>
Any Ideas why it doesnt work?
-
grep makes me crazy reading the file!!!! Why the thingy doesnt work?
Im getting "World: not found"
USERNAME=grep 'World' /usr/local/StatusNotifier/var/status_notifier_conf.php; echo "Username: $USERNAME";
And here is the content of the file:
$lrc_box_name = ""; $lrc_box_location = "Bk"; $lrc_box_comments = "Main Test Site on Wall"; // Hello World this is a test of grep file serach ?>
Any Ideas why it doesnt work?
Try
USERNAME=`grep World /usr/local/StatusNotifier/var/status_notifier_conf.php`
-
yay, it did work! Tnx
I guess BSD treats quotations diferently from Linux too -
One more question:
How can I strip begining and ending character of the string?
Like I have username variable shrown as "username" (quotes are shown) and I want to strip out quotes -
echo "'username'" | cut -d"'" -f2
or
echo '"username"' | cut -d'"' -f2
-
other qute sign but I got the idea! thanks!
now I have support of usernames in my script :D -
other qute sign but I got the idea! thanks!
now I have support of usernames in my script :DRefresh
-
Refresh? what are u talking about?
-
I modified my original post after you had already saw it.
-
lol yea, I look at it right away, almost all of the time :-P
-
Ok client side 100% Done, DNS-100%, Server Side 30%..
Im fealing lazy doing server side now, espesially login thingy, etc… thatt might slow me down for some time -
You are on a roll. Don't slow down ;)
-
I hate doing things that everty one else can do, thats like dirty work lol
-
Part of the job description.
-
not mine job description, aperantly im admin (not sysadmin) and not a programmer at all :-P
-
It became a part of your job description when you decided to become a programmer…
-
me rogrammer? no way. I'm not a programmer :-P