That should get you started <VirtualHost 1.2.3.4:80> ServerName example.net ServerAlias www.example.net Redirect permanent / https://www.example.net/ </VirtualHost> <VirtualHost 1.2.3.4:443> ServerName example.net ServerAlias www.example.net DocumentRoot /var/www/example.net/ SSLEngine On SSLCertificateFile /etc/httpd/ssl.d/example.net.crt SSLCertificateKeyFile /etc/httpd/ssl.d/example.net.key SSLCACertificateFile /etc/httpd/ssl.d/intermediate.crt </VirtualHost>
|
|
|
If you consider this for some sort of security or privacy, forget it. There is no way you can stop the user from permanently keeping the picture.
Someone who knows the web can analyze the html and get&save the picture via script. Someone who knows a bit less can disable Javascript and stop the refresh. All others just take a screenshot.
|
|
|
Try this: <?php
if (isset($_GET['players'])) { $players = $_GET['players']; } else { $players = ''; } $players = preg_replace('/[^A-Za-z0-9]/', '', $players);
if ($players == 'current') { echo "Test A"; } elseif ($players == 'previous') { echo "Test B"; } else { echo "Test C"; }
?>
|
|
|
Sorry I've not updated, yesterday had a rough evening, will try to do it tonight. Killing using the pid its not recommended because you might kill someone that you do not want to, it will depend on Type=xx on the systemd file or if you do not use systemd it will relie on how you started it at startup. For the pid i think its safe to use "pidof bitcoind" to get the pid. Thanks again Bitsky and Newar
Using -0 will not kill anything. It just does a check on the process behind the pid. Based on the retval you can then determine what to do.
|
|
|
Instead of dealing with excess messages, you could write two wrappers. One which starts bitcoind and puts the pid into a file (unless bitcoind already places a pidfile in /var/run/), and a second one which sends a kill -0 to the pid every 5 min and restart if it's gone. That also has the benefit that you don't delete maybe important mails.
|
|
|
Try the following in your "[Service]" section: RestartSec=60 Restart=on-failure
|
|
|
any advise?
If the swf contains a video: ffmpeg.exe -i "source.swf" "animation.gif" Of course you can use all ffmpeg options, like resizing etc. If that fails, you can always use a screen recorder to save the animation and process it with ffmpeg after that.
|
|
|
Don't run it as part of the normal boot process, because it will add entries to sysctl.conf and fstab each time. And my bad, I forgot to correct the fstab line you had wrong, sorry I had the correct entry in my fstab where it works fine. You shouldn't need any extra steps after that. Since it's in fstab it should come up right during boot. Try this one: /swapfile swap swap defaults 0 0 Check with "swapoff -va && swapon -va && swapon -s" if the swaps are activated and used
|
|
|
Try that. You have an error in your fstab; and setting up iptables like this just calls for errors. cp /etc/sysconfig/iptables /etc/sysconfig/iptables.org cat << EOF > /etc/sysconfig/iptables *filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT -A INPUT -p icmp --icmp-type 0 -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT -A INPUT -p tcp --dport 7890 -j ACCEPT COMMIT EOF service iptables restart
yum install java-1.8.0-openjdk-headless.x86_x64
echo "vm.swappiness = 10" > /etc/sysctl.conf echo "swap /swapfile swap defaults 0 0" >> /etc/fstab dd if=/dev/zero of=/swapfile bs=2048 count=512k chmod 0600 /swapfile mkswap /swapfile swapon -va
reboot
|
|
|
that IP is not real there is a lack of numbers in the last dot
I guess that's why he said "etc" Anyway, usually you connect via SSH. Or maybe the login works for FTP (although that isn't secure and SFTP/SCP should be used).
|
|
|
It looks like each of your mysql processes are using 80-100% of the mysql's resources, thus when you have many processing going on at one, it is bogging the down the mysql server and the server itself for others on the server.
Take a look at the processlist and see which queries are slowing down the server and log slow queries. I just scrolled a little through the pages on git and it looks like the faucet isn't the best design. No prepared statements, no real db design. For example, index.php as the query "SELECT dispensed FROM dispenses WHERE email='$address' OR ip='$ip' ORDER BY id DESC LIMIT 1", but dispenses only has a key on id and no index on email and ip. With lots of entries, that will bog down the server. Might also be worth to try a switch from innodb to myisam. Personally, I'd look at other faucets to be honest.
|
|
|
ok what are you expecting to earn for just viewing a website? couple of dollars? That is not realistic, See neobux they pay like 0.001$ and you can hardly make 0.05$ per day. I agree with you too in start there was alot of BAP like 800 Daily and no tax but now the rules are strict. The idea of ptc is about slow and steady. Nothing rushes there. To make a program work and legit you need to have some strict rules.
Well you get ads worth a couple of dollars, no? There's a screenshot showing ads earning $200 even. But $0.0005 per ad is kinda... offensive. You can earn more with a single click on google ads on your own website.
|
|
|
not taking in the account the casino's and lotteries.
Using gambling as a part of your business strategy is.... risky to put it mildly. And you are forgetting 1 thing Hardwork is key to success, No one gives free money.
There is hardwork, which I am fine with. Then there is roadblocking. If all you can earn per hour (without putting money in) are around $0.05, then hardwork will get you nowhere.
|
|
|
It won't work out in the long run. You invest and get advertising, plus a 155% return. Those 55% come from the next investors, who get their 55% from the next. That's a ponzi bubble. If they were serious they wouldn't roadblock freebie users; but they want them to invest to keep it going. Anyway, whatever.
|
|
|
You call it a ponzi what ever but it is not a ponzi. I would suggest you to visit the both sites yourself and read on forums how exactly they work. They share the advertising revenues you can call them whatever but the model is sustainable and works if you do the math right In ponzi there is a timeframe limit but here there is no timeframe it can take you years to get your return or few days. My point is that they are only interested in investors and make it exceptionally hard for "freebie" users to earn anything at all. They could let you build up your earnings from zero, but instead they do everything to add roadblocks and make you invest money. Why? Because they need those investments. Edit: If i was running this ponzi first of all i would never have placed the 20$ maximum limit, 2nd There would have been unlimited spots you clearly dont understand what paidverts is or how it works. I guess you have never seen a ptc site do some research and then call out for scam It actually makes sense to have limits. If an investor would suddenly put 1000BTC into the system, the operator would have to return 1550BTC within a month. If there aren't enough "low" investments, paying 550BTC in a month would be impossible and the ponzi would collapse.
|
|
|
how much did you invest? i invested ~$150 and my daily earn is about $3-$10. I already got back more than $100 from it
Nothing. I wanted to see how well it works first without shoveling money into it. And it was ridiculous. They don't want non-paying members; they try their best to make you invest. Mind you, I was not hoping for those $200 ads; but earning measly cents per hour is a serious roadblock. They even complain that free members leech off too much money (yeah, sure). I'm not paying to view ads and solve captchas.
|
|
|
The Advertiser dont pay you got to be kidding me! Why will advertisers not pay?
From their site: Bulk Ads for $1.00: 50 user visits for 30 seconds each. Plus 125 banner. Leaving out the banners, that means they get paid $0.02 per impression delivered. Users even get the same page several times in a row, nothing a professinal advertiser would accept. You invest $20. At 155% you expect $31 back. Your screenshot shows that ads pay up to $4 for you. I see a little difference between that and the $0.02 I invest 20$ and i want my return back while another person invest and doesnt wants his return back.
Why would another person invest without wanting money back? Why don't you invest 1BTC in my sig address without wanting it back? Or Gambles at there casinos.
If your business strategy is based on gambling, you are doing it very, very wrong.
|
|
|
Ponzi don't last for 2 plus years!
paidverts.com creation date: 2013-05-30T17:17:12Z (I know I'm splitting hairs here) Ponzi admins or owners are not public. They don't communicate in forums themself.
Trendon sure was and sure did. if you dont invest then you get dust ads. But if you invest the case is different That's my point. Their FAQ says "No deposit is required to earn money with PaidVerts", but we're talking about fractions of cents there. But if you give them money, you suddenly get better paying ads. Advertisers won't pay enough to cover those 55% extra return so the money has to come from somewhere else; and unless they have money to burn the source is pretty obvious. I mean, with ads paying this much I might as well quit my job and only do 10 clicks a day:
|
|
|
Hm, seems I missed this thread when I looked into it: My opinion...
First, you need to collect so called "BAP" by viewing ads. The points are converted to ads you can view, used as some sort of tax and you need collecting them to keep getting ads. So, you need to view ads for points to view ads for money. You make only tiny amounts with the ads. I've seen $0.0005-$0.001 for viewing a 30 second ad. Ad that includes 3x copy+paste and solving a captcha every time. Also, it looks like you cannot sign up without a referer (defaults to some admin it seems). That means 5% of your earnings get lost to that person.
Different boards suggest that you buy an ad yourself to get more points. The more BAP you have, the higher paying ads you are supposed to see. However, you can make only a few hundred BAP per day, which are used for tax and showing more ads. So you cannot really collect them easily and it seems like you need 10,000 BAP and more to get decent paying ads.
But "luckily" you can buy BAP for $, as well as other things like ad filters and vacation time (because BAP get lost if you don't view the ads).
So, the "revolution" seems like like: "give us money so you can view ads". You cannot really make much without putting money into it first.
Here are some of my stats for today:
400 points made with 16 ads 70 points lost because I didn't click two ads ($0.035 total) and they timed out. Apparently you're not supposed to have a daytime job. Or sleep. 100 points get lost each day for their "daily tax" ~100 points lost in total for receiving ads (not included the 70 points from above) 50 points lost for buying extra ads
So right now I piled up approx 500 points over several days During my test I opened ~400 ads I made the amazing amount of $0.45 If you assume 1 minute per ad (30 seconds waiting, captcha, copy&paste, page loads), I invested ~6.5 hours
That's an hourly income of $0.069
You cannot cash out less than $5; and when you have more than that, they demand a 5% fee plus another $0.25. For a transaction which is essentially free of charge.
|
|
|
|