me looking so small in this world

19 2010f January, 2010

portable wemp server

Filed under: server — rudyegenias @ 7:55 am
Tags: , , ,

WARNING: The page linked here is Russian and translated thru Google.

WEMP (Windows + NginX + MySql + PHP) Server portable download and instructions here.

16 2010f January, 2010

CakePHP: baking cake in Windows

Filed under: programming — rudyegenias @ 7:51 am
Tags: ,

There are a lot of articles on the internet on how to make CakePHP and it’s bake function to work in Windows.

I have tried setting the PATH environment variable to match the console

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\xampp\php;c:\xampp\cake\cake\console\

No avail. So I am just doing this instead after creating the databases.

  1. Click Start > Run.
  2. Type cmd then press Enter.
  3. Change directory to where my extracted CakePHP files were
    cd \xampp\htdocs\cake (press enter)
  4. Type: cake\console\cake bake all
  5. That’s it. All is well.

If you guys know how to make Windows recognize the cake.bat file to execute when it’s folder is included in the path, feel free to comment.

NOTE: I am not using the production setup of CakePHP and the command may vary depending on that. Please feel free to correct.

Windows: set PATH environment variable

Filed under: os — rudyegenias @ 7:40 am
Tags: ,
  1. Right-click My computer
  2. Click Properties
  3. Click the Advanced tab
  4. Click Environment Variables button
  5. Under System variables click Path then click Edit button
  6. On the Variable value field add a semi-colon if there’s none then add the path to where your program is.
  7. You’re done.

15 2010f January, 2010

clean-up

Filed under: woes — rudyegenias @ 9:38 pm

Or is it clean up? Or possibly cleanup. Dang!

I have finished housekeeping my Google reader and all is well and pleasing to the eyes now. Have deleted and created simple yet functional categories, and re-arrange them all – minimalist style. On the minimalist note, did I mention that am using Helvetireader? Go and get it.

NOTE: You must install GreaseMonkey first before you install. Cheers!

Notepad++ : Associate CTP file extension to PHP language

Filed under: programming — rudyegenias @ 8:40 am
Tags: ,

I am playing around with CakePHP (yet again) lately and found that I need to make the syntax highlighting to format the same way PHP files are formatted.

CTP files are simply the file extension for template files or views file extension for CakePHP.

The workaround:

  1. Click Settings > Style configurator
  2. Click PHP under Language
    NOTE: I chose PHP cause it’s formatting the HTML and the PHP code inside.
  3. Type ctp under user ext. (extension)
  4. Click Save and close.

You’re done!

NOTE: Also applicable when adding other file extension to a certain language.

Style configurator

Src: http://is.gd/6hAga

Loading image

Click anywhere to cancel

Image unavailable

Loading image

Click anywhere to cancel

Image unavailable

16 2009f December, 2009

xplorer² default directory association

Filed under: free software, windows — rudyegenias @ 8:42 am

Did you find yourself finding a way to de-associate folders opening in xplorer2? In short stop opening folders in xplorer2 or xplorer2 lite version and open the folders again with Windows Explorer.

I love free software and manages files with great ease using xplorer2 lite version. However, I accidentally associate folder to open with xplorer2 during the installation process.

The solution? Download and run this registry fix from zabkat the makers of this great tool.

29 2009f July, 2009

Flash CS3 and AS3 Error message

Filed under: programming — rudyegenias @ 8:08 am
Tags: ,

Error message: String passed to URLVariables.decode() must be a URL-encoded query string It’s been long since I’ve got my foot soaked in flash and this time it’s ActionScript 3.

I then got this error message from a callback function that’s supposed to say if the input has been processed successfully. Been pondering about why that could happen and has reverted back the code to it’s original format. This time I did check the PHP file on the server and see it’s code if it’s the main culprit. Alas, it is the main problem. A missing semi-colon made PHP throw an error message in front of the status (query string).

The status should be:

success=true or success=false

This status has been pre-pended with an error that Flash intercepted before the accepted value.

Other say that this code fixed the problem (source):

loaderFunction.dataFormat = URLLoaderDataFormat.TEXT;

wrapping a pre tag using css3 in ie, opera, mozilla firefox

Filed under: web — rudyegenias @ 7:52 am
Tags: , , , , ,

pre {
white-space: pre-wrap;       /* css-3 */
white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
white-space: -pre-wrap;      /* Opera 4-6 */
white-space: -o-pre-wrap;    /* Opera 7 */
word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

src: http://ajaxian.com/archives/wrapping-the-pre-tag

29 2009f April, 2009

create a portable google chrome

Filed under: browser — rudyegenias @ 2:13 am
Tags: , , , ,

**Warning : This is applicable only to the latest developer update. I meant BETA. :P

Download Chrome here:

http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/

Get the latest available version.

Download the chrome-win32.zip in the latest iteration in my case it’s 14735

Unzip the files, go inside the folder (chrome-win32) and copy chrome.exe to create a shortcut for it.

Right click on the short cut and press properties.

Look for the field that says “Target” and add the ff in the end:

–user-data-dir=Profile

Double click on the shortcut and voila, a working portable GOOGLE CHROME.

11 2009f March, 2009

want to have your own hotspot authentication router

Filed under: networking — rudyegenias @ 2:53 pm
Tags: , , ,

CoovaAP – HOTSPOT Firmware

I long to create such and doesn’t know that a software/firmware already existed. This works similar with cafe software that allows internet usage after authentication. Also has the same function as the one used in SMART BRO (broadband) and GLOBE, both of which are leading (coughs) in providing internet service using wi-fi.

To say the least, my theory is right that it should start with an open firmware for router such as the one employed in openwrt (base for COOVA Access Point), dd-wrt, and also many others. Then start with an authentication software like freeradius.

Creating a hotspot authentication software can be daunting when done manually and this saves a lot of time and hair (in my case).

Next Page »

Blog at WordPress.com.