Facebook Twitter Gplus RSS
Payday loans uk
formats

Syntax Highlighter Evolved AutoIT Brush Plugin

Here is my second Syntax Highlighter Brush attempt. This one was far more complex than the last Arduino / Wiring Brush I made. There are still a few things that need to be worked out such as multiline comments and there seems to be a bug in WordPress / Syntax Highlighter that adds a semicolon in various places where one didn’t exist before. I noticed this because the semicolon is used to denote comments in AutoIT and after adding that section of code to the highlighter I was able to easily spot this flaw. I plan to do more work on the expressions used and colors for various themes but for now this is pretty good, much better than using the VB Brush as I was before. I used Scite script editor as a rough guide for the color scheme and if your using the default or another light theme the colors should be near identical. One exception is the  Preprocessor and Special Keywords which I just lumped together in the same category since there

(More)…

formats

Syntax Highlighter Evolved Arduino / Wiring Brush Plugin

I finally got around to making a custom plugin also called a “brush” for Syntax Highlighter that properly highlights the Arduino language called Wiring. I haven’t fully worked out the colors for the different themes but so far the colors I have chosen look nice with the Default theme and the Emacs theme. I’m going to work on the colors more and make specific colors for each theme in the future. Check out the before and after pictures, the before is using standard C++ code and the after is using the custom wiring code. I couldn’t find solid instruction on how to install these brushes so I just figured out a way to make it work on my own and I like the way this works so I don’ t plan to change it. First download the shBrushWiring.js file that I have attached to this post. shBrushWiring Next upload the file to the “/wp-content/plugins/syntaxhighlighter/third-party-brushes/” folder. Now we need to edit a few files, you can either do this directly in WordPress by going to Plugins and

(More)…

formats

Site Design Changes

I’m working on some site design changes so if you see something that looks off just try refreshing the page or waiting a while and revisiting the site.

formats

READ ME – NO FREE PLUGS …unless its, well um FREE

Published on May 31, 2011, by in Blog.

If you post a comment and it has a link back to YOUR site I will remove the link, Why you ask? Well its quite simple, because my website is not to be used as a stepping stone to help improve your site rankings. I don’t do it on other sites and would appreciate it if you do not do it on mine. There are exceptions to this rule however If your site is 100% non-profit free as in bear and speech AND If you are linking to a site that not only relates to the subject in which you are posting BUT also needs to be relavant enough that there is something of added value to the subject and not just something we could get the gist of by just simple saying “my site”. Below are 2 examples of what is acceptable in a comment and not acceptable. Not a valid link example: “we were just discussing this exact issue over at my site www.mysite.com and blah blah blah”. Valid link example: “I see you

(More)…

formats

WordPress Update Fatal error: Out of memory *FIX*

Published on January 28, 2011, by in Wordpress.

So I was banging my head against the wall with this error and have upgraded my site manually the last couple times but this time I decided to dig a little into the error and see if I could finally resolve this. I found the normal articles about increasing the PHP memory in various places but like most of us I don’t host my website, 1and1 hosting is my preferred host so there isn’t much I could do about the php.ini file now is there? Well actually with 1and1 they give you control over your .htaccess file and you can create additional php.ini files in any directory and 1and1 will prefer your changes in your file. I first followed an article which suggested creating a php.ini file and adding to both the root directory and the wp-admin directory with this following This didn’t make any difference and I didn’t think it would considering the default memory allocation according to my phpinfo file as already 40MB. ~sidenote: If you want to know your current PHP.ini file configuration settings you can

(More)…

Home Posts tagged "php"