Why not? Why is it so hard to port, at least a cli version with no options.. the hosts file is the same format, hopefully you're using the standard open/malloc/close file handling, which is already portable. Or if you for some reason wrote it in.NET for whatever reason, there's tools like mono and silverlight that should make easy it porting. Hell, here's a simple implementation in bash:
die() {
echo "$@" 2>&1
exit 1
}
[ ! -w "/etc/hosts" ] && die "Error: Cannot write to/etc/hosts"
for blockHost in ${BLOCKED_HOSTS};
do
if ! ( grep -q "^.*[\t ]*${blockHost}" "/etc/hosts" >/dev/null 2>&1 ) then
echo "Blackholing host ${blockHost}";
printf "%s\t%s\n" "127.0.0.1" "${blockHost}" >>/etc/hosts
fi
done
Just replace BLOCKED_HOSTS with a space-separated list of hosts you want to block, it will scan if they are already blocked and block the ones that aren't in your list. I hereby donate this code to the public domain, you're free to use it however you please.
Here's example of it working:
[root@MYHOSTNAME ___brIj4s05]# chmod +x doit.sh
[root@MYHOSTNAME ___brIj4s05]#./doit.sh
Blackholing host blah.example.com
Blackholing host ads.google.com
Blackholing host etc.whatever.com
[root@MYHOSTNAME ___brIj4s05]#./doit.sh # Note that the second run doesn't block anything that isn't already blocked
[root@MYHOSTNAME ___brIj4s05]#
The hell are you talking about? Maybe static compilation isn't the way to go. You can ship the.o files and link them via an "install.sh" script on the target system, then you can work against multiple versions of libs. Or just.. you know... provide the source.
I've used supercomputers that do virtualization. You request a number of CPUs and memory and provide a container or an iso or something and it spits you off a host. It's a pretty sane way to support and delegate 1000s of things that wanna run on it at all times.
It's the avionics unit inside the plane likely that would need a "fix." You can pop them out and pop in a new one. Don't gotta replace the plane. I honestly don't know how they can keep using VHF and properly authenticate (that's not subject to a replay attack) with any existing protocols. They'd have to do a massive pre key exchange which would require coordination with EVERY SINGLE AIRPORT/FIELD IN THE WORLD - a truely epic endeavour.
Probably just sent ACARS messages over RF and the airplane thought they were from the airport. These messages can include things automated acted upon like "Your plane's altitude has been detected at XX feet" or "Huge category-5 hurricane straight ahead, divert to ETOPS field". Not like they designed any of these protocols with security..
Ads are paid per-click, not per-load. If you're not going to click any of the ads anyway, why do you think showing some of them are helping the site maintainers?
You can watch on old Andy Warhol movies and the like, they used to have 3 slots for dime, nickel, or quarter. Each gave you a set amount of time. I searched for "old pay phone" on duckduckgo images and pretty well every picture is of this model. http://farm4.staticflickr.com/...
For those that don't know, a police box was where you beat up and shut somebody in you didn't like and waited for the police to come pick them up. A pay phone is where you go in a booth, put in a quarter, dime, or nickel, and make a call.
Why not? Why is it so hard to port, at least a cli version with no options.. the hosts file is the same format, hopefully you're using the standard open/malloc/close file handling, which is already portable. Or if you for some reason wrote it in .NET for whatever reason, there's tools like mono and silverlight that should make easy it porting. Hell, here's a simple implementation in bash:
#!/bin/bash
/etc/hosts" /etc/hosts
BLOCKED_HOSTS="blah.example.com ads.google.com etc.whatever.com"
die() {
echo "$@" 2>&1
exit 1
}
[ ! -w "/etc/hosts" ] && die "Error: Cannot write to
for blockHost in ${BLOCKED_HOSTS};
do
if ! ( grep -q "^.*[\t ]*${blockHost}" "/etc/hosts" >/dev/null 2>&1 ) then
echo "Blackholing host ${blockHost}";
printf "%s\t%s\n" "127.0.0.1" "${blockHost}" >>
fi
done
Just replace BLOCKED_HOSTS with a space-separated list of hosts you want to block, it will scan if they are already blocked and block the ones that aren't in your list. I hereby donate this code to the public domain, you're free to use it however you please.
Here's example of it working:
[root@MYHOSTNAME ___brIj4s05]# chmod +x doit.sh ./doit.sh ./doit.sh # Note that the second run doesn't block anything that isn't already blocked
[root@MYHOSTNAME ___brIj4s05]#
Blackholing host blah.example.com
Blackholing host ads.google.com
Blackholing host etc.whatever.com
[root@MYHOSTNAME ___brIj4s05]#
[root@MYHOSTNAME ___brIj4s05]#
The hell are you talking about? Maybe static compilation isn't the way to go. You can ship the .o files and link them via an "install.sh" script on the target system, then you can work against multiple versions of libs. Or just.. you know... provide the source.
I've used supercomputers that do virtualization. You request a number of CPUs and memory and provide a container or an iso or something and it spits you off a host. It's a pretty sane way to support and delegate 1000s of things that wanna run on it at all times.
Linux also has a shorter path to the hosts file than windows. That's gotta be a plus for you, right?
I used a newer beowulf cluster just last year.
Won't happen. Everyone knows vi is better than emacs.
You can still stand out front of the airport, with likely the same effectiveness.
It's the avionics unit inside the plane likely that would need a "fix." You can pop them out and pop in a new one. Don't gotta replace the plane. I honestly don't know how they can keep using VHF and properly authenticate (that's not subject to a replay attack) with any existing protocols. They'd have to do a massive pre key exchange which would require coordination with EVERY SINGLE AIRPORT/FIELD IN THE WORLD - a truely epic endeavour.
Probably just sent ACARS messages over RF and the airplane thought they were from the airport. These messages can include things automated acted upon like "Your plane's altitude has been detected at XX feet" or "Huge category-5 hurricane straight ahead, divert to ETOPS field". Not like they designed any of these protocols with security..
APK Template on the nose!
Ads are paid per-click, not per-load. If you're not going to click any of the ads anyway, why do you think showing some of them are helping the site maintainers?
That's from it trying to convert your old style into the new layout. You can adjust it to fix it.
So long as you can buy drugs with it safely, it's a real asset with real value to real people.
You carry more than $1280 in your wallet ( https://goldprice.org/gold-pri... ) ? Man I hope you don't drop it...
This is way too coherent to be the real APK. And missing the barrage of links to questionable pages. Fail.
You can watch on old Andy Warhol movies and the like, they used to have 3 slots for dime, nickel, or quarter. Each gave you a set amount of time. I searched for "old pay phone" on duckduckgo images and pretty well every picture is of this model. http://farm4.staticflickr.com/...
Allows them to always give you the latest workarounds for bugs and links to ads like no local patching could!
Anything that controls hardware is going to be in the kernel at some point..
In utter irony, linked TFA when clicked displays a full screen image before you can scroll down and actually read the story.
I find way too often the picture is much more interesting than the article..
For those that don't know, a police box was where you beat up and shut somebody in you didn't like and waited for the police to come pick them up. A pay phone is where you go in a booth, put in a quarter, dime, or nickel, and make a call.
That's a police box. It's different than a pay phone.
The phone companies destroyed ALL the payphones around here several years ago.
I don't recall the last time I read something online that shocked me as much as this
Wow, you really avoid large swaths of the information superhighway don't you?
Gravy goes well with french fries, almost as much so as another great topping for both french fries AND pizza: mashed potatoes.