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
/** | |
* WHM DNS Zone Scraper | |
* | |
* There are two steps to the process first login to WHM and start esiting the zone | |
* file you want to sync from and run the first script beloew. | |
* | |
* Take the output of that script and pass it as JSON to the oldEntries var on part 2. | |
* Now run part two while editing the DNS zone to the target domain. This will | |
* output the DNS entries that are not in the current zonefile in proper zone format | |
* |
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
// HTML: add the tag: <iframe id="f" src="" width="900" height="600"></iframe> | |
// Then run the following in the console: | |
var | |
// Array of wp_posts ID's that need their thumbnails regenerated | |
ids = ["328921", "326496", "322847", "21967", "16180", "16173"], | |
// Prevent handling the onload event at the wrong time | |
loaded = false, | |
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
/** | |
* Utility for updating all domain and user cpanel passwords | |
* | |
* To use it login to your WHM and click on "Account Functions" then click on "Password Modification" | |
* Now copy all of the code below and paste it into your browsers dev tools console | |
* DO NOT FORGET before you run the code make sure you change the variable newPass on line 14 to what | |
* you want all the new passwords to be now just press enter and let it do its magic | |
* | |
* @author Matthew Dunham <matt@matthewdunham.net> | |
*/ |
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
/** | |
* Auto Delete All Facebook Messages | |
* | |
* You can run this code from the console, but the best way to run it is by | |
* saving it as bookmark in your bookmark bar. Look at the gists comments for | |
* instructions on how to save it as a bookmark. | |
* | |
* @link http://matthewdunham.net | |
* @link http://linkedin.com/in/matthewdunham | |
* @author Matthew Dunham <matt@matthewdunham.net> |
NewerOlder