by Xojins
Should you be using namespaces in your PHP application development? In this article,
get an overview of namespace syntax, learn best practices for its use, and see a miniature
sample Model-View-Controller application that uses namespaces.
Here is a link to an IBM article that covers the topic well:
Leveraging PHP V5.3 namespaces for readable and maintainable code
Posted in PHP, Programming | Comments (0)
by Xojins
I came across the best possible link for anyone interested in PSP Modding:
The ultimate psp guide
I updated my old PSP using this guide and it only took about 30 minutes to complete.
Posted in Electronics, Gaming, Hacking, PSP | Comments (0)
by Xojins
Here is a good article on PHP Best Practices that I came across. While this is a little old, the content is not too bad and it covers:
- php.ini quirks
- single configuration file
- namespace
- database abstraction layer
- Value Objects
- Data Access Objects
- Generate code
- Business logic
- Page logic
- Presentation Layer
- Localization
- Making your application location independent
- Folder outline
Link to PHP Best Practices
In the end, the best practices of each developer will be determined by those around them.
Posted in PHP, Programming | Comments (0)
by Xojins
Alternate JTAG SMC/Points Tutorial – Team Xecuter
This tutorial picks up from the JTAG Install part of the original Nand-X installation instructions present HERE. First you have to follow the tutorial upto the end of the installation of the NAND part of the Nand-X. Then continue onto the JTAG install from below here.
As for those who already have installed the Nand-X like it should be in its default condition, this tutorial is no different for you. The only difference being that you will have to delsolder the points(The points the Red are Yellow wires are soldered to i.e. DB1F1 and ROL respectively) you have already soldered to.
As the preface has been covered now, let’s move onto the actual tutorial:
http://team-xecuter.com/forums/showthread.php?t=55189
Posted in DIY, Electronics, Hacking, Hardware, Utilities, xBox 360 | Comments (0)
by Xojins
I recently purchased a no name tablet from McBub.com. It was an 8″ Android 2.3 Tablet PC SAMSUNG S5PV210 ARM CoretexTM-A8 1.2GHz 512MB/4GB HDMI Camera MID(CN101510):
http://www.mcbub.com/item/product-135770/
The problem was that the rom installed was kinda locked down, had a lot of Chinese language packs installed and was a little sluggish. So my search for a replacement rom started. As I quickly found out, there was no information regarding this tablet anywhere. I decided to open it up and take a look at the motherboard. The first thing that I noticed was the SUMSUNG markings on it (not a typo). This is the mark of a FAKE Android tablet. This model is based on the Herotab MID816. I found a great rom MID816.com – 2011-04-19-MID816-Gingerbread-2.3.1-TassCustom-ROOT.rar from this thread: http://www.slatedroid.com/topic/16948-image-herotab-mid816-custom-full-images-focus-board-gingerbread-231/.
After downloading the rom I followed these directions to install it:
Imaging
There are many ways to apply an image file to a MicroSD memory card.
Below was my process. (provided as reference if needed)
**NEW INSTRUCTIONS** (No UBCD/Reboot Needed) – (Thanks javaman1966 and MikWik)
THIS WILL FORMAT/WIPE YOUR CARD AND DATA
Download: LockDismount0300.zip – 23.24kb
Lock and Dismount
Link: MID816.com – LockDismount0300.zip
Download: DiskImage_1_6_WinAll_Setup.exe
Roadkil’s Disk Image 1.6
Link: MID816.com – DiskImage_1_6_WinAll_Setup.exe
Download: KNOPPIX_V6.4.3CD-2010-12-20-EN.iso – 700mb
Knoppix “Live” Boot CD v6.4.3
ftp://ftp.kernel.org…10-12-20-EN.iso
REQUIREMENTS:
All of the above software (Knoppix is Optional)
External USB Card Reader for MicroSD
Physical Tablet Device
SUGGESTIONS:
Backup any data you wish to keep before you begin
INSTRUCTIONS:
Remove the Internal MicroSD Card
To CREATE/RESTORE a Custom Image and Adjust Partition Sizes
1) Unzip LockDismount.exe
2) Install DiskImage – (optional at this time to Create Knoppix Boot CD)
3) Run LockDismount.exe (leave open) – **REQUIRED**
– Select the Appropriate USB Mass Storage Device
a) Check Force Dismount
b) Lock It!
4) Run Roadkil’s DiskImage 1.6
– Select the Appropriate Physical Disk
a) Create a backup (store image) image of your existing MicroSD card
- OPTIONAL
i) Write the custom image (write image) to the MicroSD card
5) Run LockDismount.exe
a) Unlock
6) Bootup Knoppix “Live” CD (OPTIONAL)
a) Open GParted under Control Settings
b)adjust the 4 system partitions as you see fit
1) System (OS)
2) Apps (Internal app storage)
3) Cache (Temporary files)
4) Data (Personal/Public storage/access space)
Reinstall the Internal MicroSD Card
Boot your device.
Posted in Android, Electronics | Comments (0)
by Xojins
Check out this clever mosquito repellent diffuser refill hack. Instead of spending cold hard cash on chemical refills, use an orange peel instead. It does the same job, smells better, and involves less noxious chemicals.
Posted in DIY | Comments (0)
by Xojins
http://feedproxy.google.com/~r/hackaday/LgoM/~3/KtZD4YRsTUc/
DIY-er [Russell] wanted a quadcopter, and like many people
out there, he knew the satisfaction that would come from
building it himself. Rather than purchase a kit or follow a set
of online instructions, he spent a lot of time researching
quadcopters, and eventually put together a thorough tutorial
himself .
His Arduino- based quadcopter is named Scout and runs
about $1, 000 to $1, 200 depending on which parts you
choose to buy. [Russell] has a complete parts list available
on his site, including plenty of alternate component choices
for builders on a budget.
He covers the construction process in great detail,
discussing frame fabrication and component placement as
well as how to program the Arduino for the copter’s first
flight. He also takes the time to break down his component
list item by item to explain how each piece is part of the
greater puzzle, which is great for first time builders.
We love seeing this level of detail when discussing a build
process, and as you can see by the video embedded below,
his quadcopter looks great!
Posted in Adruino, DIY | Comments (0)
by Xojins
To set it up as repeater do the following:
Under wireless->basic settings:
- Wireless mode: AP
- Wireless Network Name (SSID): Your prefer SSID
- Wireless Channel: Your prefer channel ( Use channel with less interference from other access point)
- Save Settings
Under Wireless > Wireless Security
- Set your wireless authentication
Under Setup->Basic Setup:
- Under WAN Connection Type:
- Connection Type : Disabled
- STP : Disable
- Under Router IP:
- Local IP address :Set your IP your address to a same subnet of your main router (if your main router IP is 192.168.1.1, set it to same subnet like 192.168.1.2)
- Subnet Mask : same as your main router subnet
- Gateaway : Your main router IP
- DNS : Your main router IP
- Under Network address Server Setting (DHCP)
- DHCP Type : DHCP Forwarder
- DHCP Server : Your main router IP
- Time settings : disable
- Save Settings
Under Security Tab
- Un-check all items in the “Block WAN Request” section
- Then disable the SPI firewall
- Save Settings
Under Administration Tab
- Enter all other necessary information, remember to change your password
- Click the Save button
- Then click Reboot button
Posted in Hardware | Comments (0)