Wednesday, June 18, 2014

Windows XP Dying... No more updates!!!!

Make your Windows XP = POS ( Point of Sale )
So you can update...

Notepad > Save as .reg > Double click
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\WPA\PosReady]
"Installed"=dword:00000001


Works???

Debian - MySQL - Why i cannot install?

GRRRRRRRRRrrrrrrrrr

Fired up a debian template.
Could not install a stupid mysql.
2014 already... WHY LIKE THAT?

apt-get install mysql-server
XXXXXXX

mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
[Note] Plugin 'FEDERATED' is disabled.
/usr/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
[ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: Compressed tables use zlib 1.2.3
InnoDB: Using Linux native AIO
InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: Completed initialization of buffer pool
InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

How u fix?
nano /etc/mysql/my.cnf
Add this -> innodb_use_native_aio=0 * This should be under the [mysqld] tag

Change your root password ( which is empty because some how something screw up...)
mysqladmin -u root password NEWPASSWORD

Then suei suei if you get an error as such:
'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'

cat /etc/mysql/debian.cnf
Note the password in the client section.
[client]
host     = localhost
user     = debian-sys-maint
password = SOMERANDOMPASSWORDHERE
socket   = /var/run/mysqld/mysqld.sock

mysql -u root -p
GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY 'SOMERANDOMPASSWORDHERE';

/etc/init.d/mysql restart
*pray

AB - Apache Benchmark?

ab -n 5000 -c 30 "somesite.com"

Wrong time again Mr Windows 2008?

Grrrrr....
One of my VM date time running windows 2008 is screwed again.
Used this to fix it once and for all...

Stop the W32Time service: 
net stop w32time

Configure the external time sources
w32tm /config /syncfromflags:manual /manualpeerlist:"0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org"

Make your PDC a reliable time source for the clients. 
w32tm /config /reliable:yes

Start the w32time service: 
net start w32time

The windows time service should begin synchronizing the time. 
You can check the external NTP servers in the time configuration by typing: 
w32tm /query /configuration

Check the Event Viewer for any errors.

*Pray

Dealing with AWSTATS.

My friend passed me an apache log file and i've attempted to parse it to AWSTATS for more "report style" human readable format...

* history > should_be_the_steps_to_follow

Wget the file / Unzip the file
wget "http://prdownloads.sourceforge.net/awstats/awstats-7.3.zip"
unzip awstats-7.3.zip

Make a directory and move awstats there.
mkdir /usr/local/awstats/
mv * /usr/local/awstats/

cd tools/
perl awstats_configure.pl
*Follow instructions to add stuff to apache/default site.

mkdir /var/lib/awstats/ ( for temp file creation i guess )

============= Jobs Done ============= 

Creating a config file for awstats.
nano /etc/awstats/awstats.demo.conf ( Replace demo with a name for easy identification )
- Change your logfile path to point to the apache access log

Execute the awstats to read your log and do it's stuff.
perl /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=demo -update

To build static pages ( reports ) for your users.
perl /usr/local/awstats/tools/awstats_buildstaticpages.pl -config=demo -update -dir=/some/directory/here/

Monday, January 06, 2014

Cydia Sources - iOS7 Finally Jailbreakable!

Added the following to my cydia sources!

http://repo.appvv.com
http://cydia.iphonecake.com
http://repocydia.com/
http://sinfuliphonerepo.com/
http://cydia.xsellize.com

Old
http://repocydia.com
http://rpetri.ch/repo




Love Is...


Copied from : http://www.stewpig.com/others/around-you/love-is-16-pics/2014/01/03/

Friday, January 03, 2014

Get Fit With Only 4 Minutes Of Exercise? YAHOO.COM

Get Fit With Only 4 Minutes Of Exercise? Let Us Introduce You To The New HIIT Workouts

Got a minute? How about 20 seconds? As HIIT (high-intensity interval training) becomes …

Get Fit With Only 4 Minutes Of Exercise? Let Us Introduce You To The New HIIT Workouts
If the seven minute workout didn’t do it for you, might we suggest the four-minute fat blast? Aka Tabata, it’s the latest form of speedy interval training to hit our shores and, if you believe the hype, one round of this gruelling 240-second set of exercises (done four times a week) will give the same, if not better, body-conditioning results as a traditional fitness regime. The key is high-intensity interval training (HIIT), which intersperses short spells of recovery. Sports scientist and professor Greg Whyte (gregwhyte. com) says, ‘The great advantage is the small amount of time required. It’s easier to motivate yourself and sustain the programme long-term. However, it is important to include all elements of conditioning, ie, aerobic, strength, flexibility, etc, to ensure you are getting the most out if it.’ Continue reading for our no excuses workout...

1. Try A 2-minute squat session:

‘As soon as you wake up, before you take your shower and brush your teeth, do 50 squats next to your bed. Nobody is looking, so you can do them in your PJs. Squats are an excellent fat burner and will only take up 2-3 minutes. Over the course of the week that’s 350 squats!’ says Dalton Wong, founder of Twenty Two Training (twentytwotraining.com).

2. 4 Minutes is the new 7 minutes:

Get fit with only 4 minutes of exercise four times a week? Yes please! Tabata is comprised of an aerobic and anaerobic workout, meaning it will give you both a cardio and a muscle workout. Developed by Japanese scientist Professor Izumi Tabata, it is made up of 20 seconds of intense exercise, led by your instructor, followed by 10 seconds of rest. You repeat this set 8 times. It sounds pretty easy but is anything but: 4 minutes of Tabata is equivalent to an hour of jogging and it speeds up your metabolism so that you continue to burn more calories for a full 12 hours after your session. Yes, it’s painful, but it’s worth it. Tabata classes are available at Fitness First (fitnessfirst.co.uk).

3. The A-list's 5-minute metaboLic plan:

Dalton shares the quick-fix weight loss and body-sculpting secrets he uses as a trainer to the stars. Set a timer for 5 minutes and perform as many circuits as possible without rest. 1) 10 lunges forward on each leg 2) 10 push-ups 3) 10 reverse lunges on each leg 4) 10 tricep dips 5) 10 squat jumps.
Record how many you can complete in 5 minutes and aim to beat that time each week.

4. The ‘20 minutes to fat blast-off!’ class:

Virgin Active’s Fast Classes are a gym-goer’s favourite. Performed on mats in the gym area rather than in a studio, they are perfect for those who find themselves short on time and needing to nip away before the end of a class. You can do just a few minutes or stay for the full 15-20 minutes. One of the sessions is UGI, which is made up of a series of one-minute exercises and combines strength, cardio and core training. The instructor-led movements revolve around a 15-inch squishy stress ball, which can be stood on, knelt on, or usedaspartofaplankorevenasa weight. Another class is Puma HIIT – a series of fat-burning drills focusing on speed and agility (virginactive.co.uk).

5. Boost your metabolism in 20 seconds:

‘Perform 5 squats with shoulder presses, followed by 10 fast ladder climbs (where you pretend to climb a ladder lying on your front) on the floor. This exercise uses the large muscle groups, which increase muscle mass and EPOC (Excess Post-Exercise Oxygen Consumption) and, in turn, boosts your metabolic rate,’ says Giuseppe Minetti, founder of The Token Yard Club and an expert in metabolic fitness (thetokenyardclub.com).

6. The anywhere APP/android workout:

Couldn’t make it to the gym this morning? That once-plausible excuse no longer cuts it thanks to apps like DailyBurn. Here, you can choose from and download hundreds of short workouts, and up to a month’s worth of fitness plans that can be performed anywhere – not just in your living room. Stream it while at the gym for a futuristic personal training experience (dailyburn.com).

7. You(tube) can do it!:

Admittedly, we’ve mainly been YouTube-ing the John Lewis Christmas advert on repeat, but there’s an influx of high-quality HIIT workout videos on the video-sharing site too. The Nike Women channel boasts real-time interval and high-intensity virtual classes that hit the right note between encouraging and no-nonsense. Check them out at youtube.com/user/NikeWomen.

Copied from : http://sg.news.yahoo.com/fit-4-minutes-exercise-let-introduce-new-hiit-143245007.html

Sunday, March 15, 2009

MIA - 19/03/09

Well well well...
Guess it has really been "SOME TIME" since i updated my blog yea....
See! No readers here one... haiz... =)
Anyway... lots of things happening...
Still struggling with my main and top piority... LINKS!
My MFA project... but it will soon come to an end... "soon...."... after we fix all the bugs..
YAWNS!
Here are some photos that everyone ( if there are readers here ) that has missed out...
And of course...

Monday, November 24, 2008

Sick....

Work work... after being sick on last friday...
i have to work harder else i cant take leave next week!


Tuesday, November 18, 2008

Somewhere.... over... the .... huh?

Hiya!
Well welll welllll... its been a long time since i wrote something here...
now lets see what i have been busy with.... ahhhh! LINKS!

Well.. passed my IPPT Prep Training... more on that the next time i post....
Got myself a 2nd hand car.... yea.....

Well.. pictures pictures... :P

A kinda flower that looks like a bird...


Her clothes that she bought from the internet...

Me of course trying to act cute by putting red keptchup on me lips...

Who put the bra on my dad???


It runs in the family...

MFA Shadow Window...


Me and her eating "Dou Hua"...



Out shopping.... with her of course....

Trying out my Diamond Camera...




Got lost while trying to meet up my friend for dinner @ Geylang...

Mooncakes!!!

PP Duck...





My new haircut...

Maggie Mee!!!!


Morning breakfast when accompaning my dad to his company...





Or yi Or duck rice....



Pig Rice outside my father office...

Please buy this for me when you are in Malaysia...

Mos Da Burger!



Deli... Deli France?

In Malaysia....



Jack's Place!!!













Pyramid Chicky Rice...



My NEW FISH TANK!


Edmund girlfriend bag present...

Monkeys!





Railroad....


My home caltex station...


Hogs Breath....

$800

Friends from MFA...

Working late... so need this sign...

My birthday!























Thomson Road Chicken Rice...

Her birthday present from me...

Well... she got quite a lot of suitors....

This is what you get when you scold people too much....

Salt... do you know how it is formed? And yea... they are salty ^ salty...


Friends from MFA...



Slacking in car on way to work... good life....