I, Kiwinewt, am a TechnoHippy.

Technohippies are a breed of their own. They are not malicious, but only interested in the way things work. They have a broad wisdom of many different technologies. Ignorance and hatred is looked down upon by the technohippy. The technohippy embraces the environment and will do as much as they can to protect it and help it flourish. All in all, a technohippy is a philosophically-open eccentric geek.

  • Pages:

    • Me
      • About
      • Portfolio
      • Testimonials
      • Contract Work
    • Software
      • OSS
      • RoR
      • Releases
    • Contact
  • Tags:

    Alternate Energy Business Code Design DIY Eco Friends Garden General GitHub Green Linkage Modding Money Organic Parenting Pictures Project365 Rant Recipe Review RoR SliceHost Technology Testing Thoughts Trains
  • Archives:

    • ▶2010 (11)
      • ▶April (1)
      • ▶March (1)
      • ▶February (1)
      • ▶January (8)
    • ▶2009 (45)
      • ▶December (2)
      • ▶November (9)
      • ▶October (2)
      • ▶September (2)
      • ▶August (1)
      • ▶July (4)
      • ▶June (11)
      • ▶May (4)
      • ▶March (3)
      • ▶February (1)
      • ▶January (6)
    • ▶2008 (54)
      • ▶December (6)
      • ▶November (2)
      • ▶October (10)
      • ▶September (11)
      • ▶August (6)
      • ▶July (3)
      • ▶June (8)
      • ▶May (3)
      • ▶April (4)
      • ▶January (1)
    • ▶2007 (18)
      • ▶December (1)
      • ▶November (1)
      • ▶October (2)
      • ▶September (2)
      • ▶August (1)
      • ▶July (2)
      • ▶April (5)
      • ▶March (4)

Lets hope…

Posted by kiwinewt on 11 January, 2010

This works: order allow,deny deny from 203.97.120.87 deny from 121.73.214.121 deny from 219.88.68.120 allow from all Can anyone confirm it before I test tomorrow?

Filed under: Code, Technology No Comments »

Sorting Multidimensional Arrays

Posted by kiwinewt on 16 July, 2009

For future reference really: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Controller::loadModel(’Student’); $students = array(); foreach ($courseStudents as $crsstd) { $students[] = array($crsstd, $this->Student->find(’first’, array(’conditions’ => array(’Student.id’ => $crsstd[’student_id’])))); }   function compare($x, $y) { if ( $x[1][’Student’][’lastName’] == $y[1][’Student’][’lastName’] ) return 0; else if ( [...]

Filed under: Code No Comments »

Why

Posted by kiwinewt on 30 January, 2009

Why does RoR not support multi-table inheritance? Theres no way at all (apart from an obscure plugin that noone knows how to use) to get it working without writing SQL views and such, which just gets messy. It should not be so hard!

Filed under: Code, Rant, RoR No Comments »

New Design

Posted by kiwinewt on 26 January, 2009

As many of you may have seen (If you have ever visited my blog), I have implemented a new design. It’s still based on the good old wordpress backend but now is more oriented towards the business end of things (since I will be getting business traffic pointed here. Yeah I know, I’m only a [...]

Filed under: Code, General No Comments »

Lets See…

Posted by kiwinewt on 19 January, 2009

Currently working on a project that I really dont want to be doing any more on now… So, from Procrastinators-r-us: user = User.new(:username => “Frankie”, :password => “Fishy”, :password_confirmation => “Fishy”, :email => “frankie@fishlovers.com”, :first_name => “Frank”, :last_name => “EnStein”)

Filed under: Code, Rant, RoR, Testing No Comments »

RoR – Reloading Classes

Posted by kiwinewt on 13 January, 2009

For future reference… With the later version of Rails, you can reload your models and controllers with the following command. Be sure to recreate any instances of your models as they will still be using the old class reload!

Filed under: Code, RoR No Comments »

© 2010 TechnoHippy