Problem The current “WordPress Brute Force Attack” has been targeting a lot of our blogs on PrimaryBlogger. We have nearly 10,000 blogs, so you can imagine how many requests we’re getting for wp-login.php. For some reason the attacks seem to be more prolific in the 7am-11am GMT time period. We’d been woken up on numerous [...]
Varnish ESI, WordPress and Custom Header Images
I’ve been working on a school website where they want the main focus to be their recent prospectus photo shoot. We discussed various ideas and settled on random loading images on each page load, provided by WordPress’ built in custom header function. One problem with this is the fact that we cache as much dynamic [...]
Popup Flash Diffuser
After getting my DSLR and playing about taking some pictures for various client websites, I found that the popup flash was giving a really hard light close up (duh). Anyway, not wanting to spend any money, I had a look round to see if I could find anything to diffuse the flash and give a [...]
Nginx Multiple If Statements
Nginx doesn’t allow multiple if statements, so if you need to match multiple rules and you’re not checking if files exist then this is how you need to proceed. As you can see we have to use a variable, adding another character at each step and matching the final value with what we want to [...]
Disable Text/Element Selection LESS Mixin
As per my previous post, if you want to disable multiple clicks selecting text or elements on a page then you can use this LESS mixin. Just call .user-select(none); in your declaration.
-
Alfred
Articles -
Bored
Articles -
Configs
Articles -
CSS
Articles -
Doodle
Articles -
Fonts
Articles -
Fun Stuff
Articles -
Gist
Articles -
Google Analytics
Articles -
Hacks
Articles -
Icons
Articles -
IPTables
Articles -
jQuery
Articles -
JS
Articles -
Less
Articles -
Linux
Articles -
Nginx
Articles -
Office
Articles -
OS X
Articles -
Photography
Articles -
Photoshop
Articles -
PHP
Articles -
PHP-FPM
Articles -
Scripts
Articles -
Terminal
Articles -
Useful
Articles -
Varnish
Articles -
WordPress Hack
Articles -
WordPress Multisite
Articles -
WordPress Plugin
Articles