Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/local/www/vhosts/jasonnoble.org/htdocs/wordpress/wp-includes/Requests/Cookie/Jar.php on line 63

Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/local/www/vhosts/jasonnoble.org/htdocs/wordpress/wp-includes/Requests/Cookie/Jar.php on line 73

Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/local/www/vhosts/jasonnoble.org/htdocs/wordpress/wp-includes/Requests/Cookie/Jar.php on line 89

Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/local/www/vhosts/jasonnoble.org/htdocs/wordpress/wp-includes/Requests/Cookie/Jar.php on line 102

Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/local/www/vhosts/jasonnoble.org/htdocs/wordpress/wp-includes/Requests/Cookie/Jar.php on line 111

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/local/www/vhosts/jasonnoble.org/htdocs/wordpress/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/local/www/vhosts/jasonnoble.org/htdocs/wordpress/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/local/www/vhosts/jasonnoble.org/htdocs/wordpress/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/local/www/vhosts/jasonnoble.org/htdocs/wordpress/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/local/www/vhosts/jasonnoble.org/htdocs/wordpress/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
Uncategorized – Page 2 – Jason Noble's Technical Adventures

Testing syntax highlighting

Posted by Jason Noble on 09/10/2009 in Uncategorized |

[java] public class HelloBlogger { public static void main(String [] args) { System.out.println("Hello Blogger!!"); } } [/java]

W3C logger plugin for Rails

Posted by Jason Noble on 07/22/2009 in Uncategorized |

I just released a plugin for Rails that logs your rails requests in W3C format. Checkout http://github.com/primedia/w3c_logger/tree/master.

1

How to optionally load gems

Posted by Jason Noble on 06/04/2009 in Uncategorized |

I ran into an interesting problem today at work. I wanted to optionally require a ruby gem. For example, I wanted to include the metric_fu rake tasks, but if a user doesn’t have metric_fu installed, it’s no big deal. Here’s how I implemented it. I added a method to the Kernel space (where require lives) […]

Recover files from git after deletion is committed

Posted by Jason Noble on 06/03/2009 in Uncategorized |

As I work with git, I have occasionally deleted files that I later end up needing. You can restore the files, but it’s not an intuitive process. First, I looked at the output of git log to find the commit that I deleted the files with. Then I ran: [text] git diff –diff-filter=D –name-only HEAD@{‘7 […]

RDoc preview in Textmate

Posted by Jason Noble on 04/24/2009 in Uncategorized |

While working on writing some RDOC documentation within Textmate, Rein Henrichs and I ran into a problem. Textmate will give you previews if you use markdown, but not RDOC. Below is how to do it. Create /usr/bin/rdoc2html: [text] #!/usr/bin/env ruby -rrdoc/markup/simple_markup -rrdoc/markup/simple_markup/to_html input = ARGF ? ARGF.read : STDIN.read print SM::SimpleMarkup.new.convert(input, SM::ToHtml.new) [/text] Make the […]

Adding an alias to the Tcsh Shell

Posted by Jason Noble on 09/14/2008 in Uncategorized |

If you run a command frequently, you can create what is called an alias. The alias is usually a shorter form of the original command. To make these aliases permament, you should edit .tcshrc in your home directory. [text] 11:32:07 /Users/jasonn $ vi ~/.tcshrc [/text] Add a line of text of the format “alias YYY […]

Adding an alias to the Bash Shell

Posted by Jason Noble on 09/14/2008 in Uncategorized |

If you run a command frequently, you can create what is called an alias. The alias is usually a shorter form of the original command. To make these aliases permament, you should edit .bashrc in your home directory. [text] 11:32:07 /Users/jasonn $ vi ~/.bashrc [/text] Add a line of text of the format “alias YYY=’ZZZ’” […]

Adding an alias to the Tcsh Shell

Posted by Jason Noble on 09/14/2008 in Uncategorized |

If you run a command frequently, you can create what is called an alias. The alias is usually a shorter form of the original command. To make these aliases permament, you should edit .tcshrc in your home directory. [text] 11:32:07 /Users/jasonn $ vi ~/.tcshrc [/text] Add a line of text of the format “alias YYY […]

Free Online Books

Posted by Jason Noble on 09/10/2008 in Uncategorized |

A co-worker pointed me to a bunch of free online books. Looks pretty cool, I’ll have to check a couple of them out.

Google Chrome first experience

Posted by Jason Noble on 09/03/2008 in Uncategorized |

I just installed Google Chrome, a new web browser by Google. Below is my first experience:

Copyright © 2008-2023 Jason Noble's Technical Adventures All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.