301 Redirect where 2 domains point to same IP?

I have 2 TLDs example.com and example.ie. example.com and example.ie both point at the same IP address and pull the same content now we could get whacked with a ban hammer from Google for...

Update ActivePivot continuous queries with external data?

In our ActivePivot solution we have written a post processor that computes the price of an stock option depending on the price of the stock (and a volatility parameter). When it is evaluated the...

PHP string of IP addresses in a .txt file?

I'm writing a feature for an admin panel that blocks ip addresses on the apache level. The file is called blacklist.txt and looks like 10.0.0.1,10.0.0.2,10.0.0.3, ... All a single line, with each...

Prevent Specific Email Registration Wordpress.org

So I'm looking for a way to prevent a specific email from registering an account on my website. It's a wordpress.org site. I tried the Ban Hammer plugin, but it won't work. I'm not looking for...

How can I block all website traffic except for specific bots and valid browser user agents?

Sorry if this has been asked before, but I've been researching for hours now with no real definitive answer. I am working on a site that has had some serious security flaws in the past. These have...

Caching SHOUTcast API results

I have just become a SHOUTcast partner and received my DevID. I read pretty much everything here: SHOUTcast_Radio_Directory_API and here: SHOUTcast_API_License_Agreement And I have a tough...

innerHTML wont work

I can seem to get innerHTML to work, I want to print the randomly generated names inside the article tag using p tags, but for whatever reason its not working. I am pretty new to js so everything...

Tweepy: rate-limited after not sleeping in streaming API

I'm a relatively new Python programmer, and have been using Tweepy to process the Twitter stream. I was careful to put in code to pause the stream in case of being rate-limited, but it's not...

How create a unmute command similar to my mute command that requires the permissions of a Moderator or Admin?

I'm currently coding a discord.js discord bot and I have managed to do the basic Kick, Ban & Warn commands (all of which do log to a channel) but now I'm working on the Mute/Unmute commands, I do...

Trying to send Message TO Twitch Chat

I have the bot already set up to where it reacts to certain commands like using text-to-speak and playing mp3 clips when chat uses the commands, however, I can not figure out how to get to get it...

How can I make this PHP script run faster/asynchronously?

I have a pastebin scraper script, which is designed to find leaked emails and passwords, to make a website like HaveIBeenPwned. Here is what my script is doing: Scraping Pastebin links from...

How to select a specific value from a dictionary in python

I am trying to get a specific value from a dictionary pulled from a url where a user inputs a item name and need to find the number of the item I am not sure how to write the command. I am new to...

Sending a message after a ban/kick command

I'm setting up a discord bot, and I want to have the bot send a confirmation or error message after the commands "ban" and "kick", can anyone help? I have tried creating another separate command...

TypeError: Cannot read property 'id' of undefined [discord.js]

Im getting this error for writing this "unban" codes to unban.js Re-installed discord.js library, re-writed the code but did'nt worked. module.exports.run = async (client, message, args) => { if...

My Getters for the player are returning a null, despite it sets it normally

So i've been trying to code a punish GUI menu for bans, mutes, etc. I've tried to get the player into my onClick event so i can ban the player from there, since the GUI decides it's fate. I've...

My discord bot just broke and i have no idea why (discord.py)

I have a discord bot for my server, and just today it broke randomly, giving this message: Traceback (most recent call last): File "bot.py", line 359, in <module> bot.run("BOT-TOKEN") File...