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

300 jquery css mootools and js navigation menus

I’m sorry, but by request this article was removed. Please see similar articles like:

  • Conditional-CSS
  • 23+ Impressive Tools for Faster Javascript/Ajax Development
  • 50 free and easy-to-modify AJAX tools
  • Web 2.0 Design - 99 resources for Web 2.0 Design
  • 125 Code Snippets for web designers
Comments
No Comments »
Categories
Code
Comments rss Comments rss
Trackback Trackback

Top FireFox Extensions for Web Developers

September 14, 2008

FireFox has always been a good browser, but as of the latest release has become THE browser that I use daily. FireFox extensions make it wickedly powerful. As a web developer I find many of the extensions invaluable. Here’s the best of the best…

Web developer`s toolbar

Web Developer`s tool bar probably will become one of the best plugins You`ve ever seen. It comes with his own tool bar that gives many useful tools for analyzing, validating and optimizing web-pages. The great thing about this plugin is that it’s on a few different browsers, so if you switch between them you will be able to use the same plugin on all.

Web Developer Toolbar

Web Developer Toolbar

Firebug

Firebug is pretty similar as web developer, but it comes across with few different powerful options. You have an ability to edit, debug, and monitor CSS, HTML, and JavaScript right in any web page.

firebug1 Top FireFox Extensions for Web Developers

Read the rest of this entry �

Comments
No Comments »
Categories
Code, Tech, Web Life
Tags
css file, css properties, debug, eyedropper, firebug, firefox, firefox extension, firefox extensions, google, high performance, HTML, Mozilla, Mozilla Firefox, page elements, performance web, tool bar, useful tools, validation, web browser, web developer, web development tool, web page, web pages, yslow
Comments rss Comments rss
Trackback Trackback

Google Chrome - Google Enters the Browser Wars

September 2, 2008

Google announced it will release a brand new open source web browser called Google Chrome. Yesterday a site went up, and has subsequently been taken down at http://gears.google.com/chrome/?hl=en (as of this morning clicking this link take you back to regular old Google).

According to Crunchbase the features include:

  • Tabbed browsing where each tab gets its own process, leading to faster and more stable browsing. If one tab crashes, the whole browser doesn’t go down with it
  • A distinct user interface that places tabs on top of the browser window instead of right below the address bar
  • An “incognito” mode that lets you browse the web in complete privacy because it doesn’t record any of your activity
  • A new JavaScript engine built from the ground up for speed
  • Malware and phishing lists that automatically update themselves and warn you of bad websites
  • A default homepage that displays your most commonly used sites and other personalized information

24458v1 Google Chrome - Google Enters the Browser Wars

Read the rest of this entry �

Comments
1 Comment »
Categories
Chrome, Code, GTD, Tech, Web Life, iGoogle
Tags
arstechnica, bad websites, blog, browser window, firefox, gears, google, Google Browser, Google Chrome, isolated process, JavaScript, javascript engine, malware, Mozilla, new browser, next generation, open source, open source web, operating system, phishing, responsiveness, sandbox, tabs, technical innovations, user interface, web applications, web browser
Comments rss Comments rss
Trackback Trackback

Scott Hanselman clears up .NET installer questions

August 24, 2008

Scott Hanselman, the studmuffin of the Microsoft world drops some knowledge and clears up some confusion about the size of the .NET Framework.

image_3 Scott Hanselman clears up .NET installer questions

The .NET Framework is not really a 200+ meg download. From Scott’s site:

Which installer do I use?

Here’s the whole thing in a nutshell for Developers, ISVs, and Administrators.

  • Offline Installer - One single file that can be run offline and can install the .NET Framework any system it’s run on. It’s complete, all platforms, installable offline.
  • Online Installer - A 2.7 meg setup program that will detect what just the files you need, then go download between 10 and 60 megs.
    • NOTE: If you’re IT and inside an office, you’ll want to decide if you want everyone in the office downloading .NET separately, or if you just want download it once, and have them to run it off a network share. Check out the Deployment Guide for Administrators for ways to push it out via AD or SMS.

So how big is it the .NET Framework download, really?

It depends on what you’ve already got installed. Here’s some examples of my results using an XP SP2 machine.

Version of
Framework installed
Download size
to get to 3.5SP1
Time to Download
(512 kbps)
None ~56 MB 15 min
2.0 ~50 MB 15 min
2.0SP1 ~33 MB 9 min
3.0SP1 ~10 MB 3 min

badge Scott Hanselman clears up .NET installer questionsScott goes into much greater detail on his blog here. He’s also launched a section of his site called SmallestDotNet, it checks you browser’s “UserAgent” and figures out what version (if any) of the .NET Framework you have (or don’t have) installed, then calculated the total size if you chose to download the .NET Framework. Easy huh. The bummer is that it doesn’t work with FireFox.

 Scott Hanselman clears up .NET installer questions
Comments
No Comments »
Categories
Code, Tech, Web Life, Windows
Tags
.NET Framework, .net install size, Independent software vendor, Installation, microsoft, Shared resource, windows vista, windows xp
Comments rss Comments rss
Trackback Trackback

ASP.NET Extensions - Free AJAX Extensions for ASP.NET

August 23, 2008

The AJAX Control Toolkit is a joint project between the community and Microsoft. Built upon the ASP.NET 2.0 AJAX Extensions, the Toolkit aims to be the biggest and best collection of web-client components available. I’ve been using several of these on an internal .NET project and I’m pretty impressed. A few of the control produce nice effects, but take a bit more to implement than I care for, but it’s still worth checking out.

Read the rest of this entry �

Comments
No Comments »
Categories
Code, Tech, Web Life
Tags
.NET Framework, accordion, ajax, AjaxControlToolkit, animation, asp.net, ASP.NET AJAX, client components, CodePlex, control toolkit, JavaScript, microsoft, slider, slideshow, tabs, web client
Comments rss Comments rss
Trackback Trackback

Clone Detective for Visual Studio

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

Conditional-CSS

August 16, 2008

Undoubtedly every web-designer and developer who as made any attempt to use CSS will have found a situation where different web-browsers require different style statements. I’ve just encountered this myself with a side project I’ve been working on. This irritation is due to the varying degree of completeness of the CSS implementation across browsers and browser versions.

Conditional-CSS is a solution to this problem, taking the idea of the conditional comment syntax from Internet Explorer and placing it inline with your CSS statements.

Conditional-CSS is something you need to install on your server to be able to use. It comes in three platform versions:

PHP -Very simple to install and portable to any platform that runs PHP - the right option for you if you want to give Conditional-CSS a go.

C - Exceedingly fast and will run on just about every *nix platform, this is a little tricker to install, but very useful as a global interpreter.

C# -Runs under .NET 2.0 in Windows and Mono on many other platforms, use this version if you are using IIS or a .NET based web-server.

Get Conditional-CSS here.

Comments
1 Comment »
Categories
Code, Tech, Web Life
Tags
browser versions, completeness, css implementation, internet explorer, interpreter, platform versions, platforms, style statements, syntax, tricker, web designer, web server
Comments rss Comments rss
Trackback Trackback

Unstoppable Vista Hack Created

August 11, 2008

In a presentation at the Black Hat briefings, Mark Dowd of IBM Internet Security Systems (ISS) and Alexander Sotirov, of VMware Inc. will discuss the new methods they’ve found to get around Vista protections such as Address Space Layout Randomization(ASLR), Data Execution Prevention (DEP) and others. Essentially they’ve figured out a way to hack Vista using Java, ActiveX controls and .NET objects to load arbitrary content into Web browsers.

What they are indicating is that they have revealed a fatal flaw in Windows Vista which potentially blows the OS wide open and in such a way that it cannot be fixed. The attacks themselves are not based on any new vulnerabilities in IE or Vista, but instead take advantage of Vista’s fundamental architecture and the ways in which Microsoft chose to protect it.

Many of the defenses that Microsoft added to Vista and Windows Server 2008 are designed to stop host-based attacks. ASLR, for example, is meant to prevent attackers from predicting target memory addresses by randomly moving things such as a process’s stack, heap and libraries. That technique is useful against memory-corruption attacks, but Dai Zovi said that against Dowd’s and Sotirov’s methods, it would be of no use.

“This stuff just takes a knife to a large part of the security mesh Microsoft built into Vista,” Dai Zovi said. “If you think about the fact that .NET loads DLLs into the browser itself and then Microsoft assumes they’re safe because they’re .NET objects, you see that Microsoft didn’t think about the idea that these could be used as stepping stones for other attacks. This is a real tour de force.”

They go on to imply the approach can also potentially be applied to other operating systems such as Windows XP and Mac OSX (but not with this specific technique).

Read more at TechTarget or TrustedReviews

Comments
No Comments »
Categories
Code, Hacking, Tech, Windows
Tags
address space, Address Space Layout Randomization, ASLR, attackers, black hat briefings, data execution prevention, DEP, fundamental architecture, hacking vista, IBM Internet Security Systems, internet security systems, iss, memory addresses, memory corruption, randomization, stepping stones, target memory, using java, vista hack, vmware, vulnerabilities, web browsers, windows server
Comments rss Comments rss
Trackback Trackback

Fix for Freshy2 theme, Customize plugin for Wordpress 2.6

August 1, 2008

freshy2_preview Fix for Freshy2 theme, Customize plugin for Wordpress 2.6

I’m obviously a fan of Jide’s Freshy2 theme, it’s the theme I use on this site. However, in order to do some of the fancy stuff within the theme you’re required to also use Jide’s Customize plugin. The Customize plugin provides css based customization for themes. It’s allows themers offer customization options with their theme really easily, just with a few css tricks! Sounds cool right? It is… unless you’re using Wordpress 2.6. Apparently, WP 2.6 uses a new version of scriptaculous and it conflicts with the theme/plugin. What you’ll see is an inability to see the media buttons when writing posts, among other things. No word from Jide on when an official fix will be issued, however Nestle Poell has compiled a collection of fixes which should make the plugin work (at least mostly work) so that you can use the Freshy2 theme.

Read the rest of this entry �

Comments
No Comments »
Categories
Code, Tech, Web Life, Wordpress
Tags
change path, conflicts, css tricks, customization, customize, customize plugin, customize plugin fix, freshy2 theme, jide, plugin work, scriptaculous, theme folder, wordpress customize plugin, wordpress freshy theme, wp
Comments rss Comments rss
Trackback Trackback

Page 1 of 612345»...Last »

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