PaulSpoerry.com

You found me… insights on technology, philosophy, Windows, hacking and more.
  • rss
  • Home
  • Archive
  • Links
  • Contact
  • Categories
  • Search
  • Snazzy Archives
  • About
  • Photos

Wordpress and memory limits

September 16, 2008

If you run Wordpress and ever receive a message such as “Allowed memory size of xxxxxx bytes exhausted” then you’re not alone. Resolving the error isn’t a big deal though. As of v2.5 the WP_MEMORY_LIMIT option allows you to specify the maximum amount of memory that can be consumed by PHP.

This wasn’t in my config already, but simply adding it fixed the issue.

This setting increases PHP Memory only for WordPress, not other applications.

Please note, this setting may not work if your host does not allow for increasing the PHP memory limit–in that event, contact your host to increase the PHP memory limit. Also, note that many hosts set the PHP limit at 8MB.

Increase PHP Memory to 64MB
define(’WP_MEMORY_LIMIT’, ‘64M’);
Increase PHP Memory to 96MB
define(’WP_MEMORY_LIMIT’, ‘96M’);

Reblog this post [with Zemanta]
Comments
No Comments »
Categories
Code, Wordpress
Tags
FAQs Help and Tutorials, Laconica, languages, memory, MySQL, php, Programming, Wordpress
Comments rss Comments rss
Trackback Trackback

Clone Detective for Visual Studio

August 23, 2008

Clone Detective is a Visual Studio integration that allows you to analyze C# projects for source code that is duplicated somewhere else. Having duplicates can easily lead to inconsistencies and often is an indicator for poorly factored code.

 Clone Detective for Visual Studio

Read the rest of this entry �

Comments
No Comments »
Categories
Code, Tech
Tags
aspx, c projects, detective, inconsistencies, languages, microsoft, Microsoft Visual Studio, Programming, Source code, studio integration, Tools, visual studio, Windows
Comments rss Comments rss
Trackback Trackback

25+ Tools & Tutorials For JavaScript

October 5, 2007

Found this over at mashable, I’ve used several of these sites for many years…. it’s a great list.

JavaScript is one of the most often used languages on the web, and it seems to be gaining in popularity each day. We’ve gathered 25+ tools and tutorials which will be useful to any JavaScript programmer - novice or pro.

    ActiveWidgets.com

ActiveWidgets.com - A component library that gives you AJAX-style fuctions with common visual elements.

    Agile Partners

Agile Partners Photo Resizing Tutorial - A tutorial on how to use the Prototype and script.aculo.us libraries to build an interactive photo resizer.

    ByteFX

ByteFX - A low-level framework for simple JavaScript effects.

    DevGuru.com

DevGuru - Defines all the terms of JavaScript and gives you code samples of what they do.

    Dojo Toolkit

DojoToolkit.org - An open source DHTML toolkit built in JavaScript and based on several other tools.

    Drag & Drop Sortable Lists

Drag & Drop Sortable Lists - Tutorial for creating sortable lists with drag & drop functions.

    DynamicDrive.com

DynamicDrive.com - A large collection of DHTML and JavaScripts for your use.

    Firebug

Firebug - An extension for the Firefox browser that allows you to do web development from directly inside the browser, including JavaScript.

    javascript-reference.info

JavaScript-reference.info - A reference site that teaches you both how to read and write JavaScript.

    javascriptkit.com

JavaScriptKit.com - A list of JavaScript objects, properties, and methods that include examples.

    jQuery.com

jQuery.com - A JavaScript library with a small footprint and concise coding for as few lines as possible.

    Learn JavaScript in 10 Minutes

Learn JavaScript in 10 Minutes - As the name implies, learn the basics of JavaScript in 10 minutes from this very straightforward tutorial.

    lightbox2 25+ Tools & Tutorials For JavaScript

Lightbox2 - A JavaScript for overlaying photos on the current page with a semi-transparent background.

    LightWindow

LightWindow - Another overlay window system that allows you to do it with multiple media file types and even other websites.

    MochiKit.com

MochiKit.com - A set of JavaScript libraries that takes ideas from Python and Objective-C, and uses them in JavaScript.

    moo.fx

Moo.fx - JavaScript effects library that works with the Prototype.js and Mootools frameworks.

    Mootools.net

Mootools.net - An object-oriented JavaScript framework for intermediate to advance users.

    Prototype Window Class

Prototype Windows Class - Allows you to add an overlay window to your HTML.

    Prototypejs.org

Prototypejs.org - A JavaScript framework that is built with Web 2.0 in mind, includes Ajax integration.

    QuirksMode.org

QuirksMode.org - The personal site of a professional web developer who offers over a 120 tricks for defeating browser incompatibility issues of CS and JavaScript.

    reflection.js

Reflection.js - A small JavaScript to add reflections to your image.

    script.aculo.us

script.aculo.us - A JavaScript library that integrates easily with numerous frameworks.

    ThickBox

ThickBox - Works with jQuery to provide an AJAX hybrid for image overlays.

    TinyMCE

TinyMCE JavaScript Content Editor - A content editor written completely in JavaScript and converts HTML text areas in to editor instances.

    W3Schools JavaScript Tutorials

W3Schools JavaScript Tutorials - 100 Examples to learn JavaScript by.

    WebTeacher

WebTeacher.com - Takes the point of view of teaching JavaScript to a programming novice.

    Walter Zorn Drag & Drop

Walter Zorn Drag & Drop - A cross-browser JavaScript DHTML library that allows you to turn any image in to a layer that can be dragged and dropped where the user chooses.

Comments
No Comments »
Categories
Code, Gadgets, Tech, Web Life
Tags
ajax, code samples, component library, drag and drop, interactive photo, javascript effects, javascript programmer, languages, libraries, mashable, novice, open source, photo resizer, photo resizing, popularity, prototype, visual elements
Comments rss Comments rss
Trackback Trackback

Hide language updates on Vista (or hide optional updates)

May 9, 2007

If you’re like me, you keep your system up to date and patched. It’s good practice, but a bit annoying under Vista (at least under Ultimate Edition) because even if you’ve applied all the updates you need you’re constantly shown that you have 14 optional updates. Turns out they’re all language packs… I’m pretty sure I don’t need Chinese or Dutch language packs installed.

It turns out it’s pretty easy to hide them from view. Open Windows Update and click on View available updates. You’ll see something like this:

chooselanguageupdatestoinstall Hide language updates on Vista (or hide optional updates)

Notice all the languages that you’ll never have a need to use. All you have to do to hide these updates, is to right-click on an item in the list, and choose “Hide update” from the menu.

languageupdateshide Hide language updates on Vista (or hide optional updates)

Pretty easy eh? Now when you go to Windows Update you’ll see what you expect: “No new updates available…”. If you ever want them back there’s a “Restore hidden updates” link on the left-hand side of the screen that will let you put them back in the list.

Comments
No Comments »
Categories
Tech, Vista Tweaks
Tags
dutch language, languages, left hand side, open windows, optional updates, Vista, vista tweak, Vista Tweaks, windows update
Comments rss Comments rss
Trackback Trackback

Google Search

Tag Cloud

ajax amazon barack obama bittorrent blog cnn facebook firefox gadget Gadgets game google Google Chrome HTC HTC Touch humor iGoogle JavaScript languages launch menu search microsoft microsoft windows Mozilla Mozilla Firefox open source operating system power users Ron Paul sprint Sprint Touch start menu tabs target user interface Vista vista tweak Vista Tweaks wikipedia Windows Windows Mobile windows vista windows xp Wordpress youtube
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox