4/10/2010

Super squat routine...



Ref: http://www.trulyhuge.com/news/tips62d.htm


FITNESS TIP FOR 8/10/2002
___________________________________________

Increase Your Squat

How to add 120 pounds to your squat lift within the next 6 weeks
by Oliver Wolter

Today I want to introduce to you one of the simplest, shortest but most
valuable strength producing workout routines. Probably it's my usual
German spleen but I love short result producing workout routines.

It's like I always design workout routines. Selecting the target - aiming
- shooting and get out of it. I know it's probably not anybody's taste of
workout routine, because it's not much training. But I don't care, because
I call my style results orientated training. It doesn't need to be
entertaining, it doesn't need to look cool - all it is for results.

But the results have to be more than cool - this is what I care about.

This workout routine is not about building up huge muscle mass it's about
getting strong in the basic movements ASAP.

This Super Squat workout routine contains of only 4 basic exercises:

1. Squats
2. Deadlift
3. Pull Ups
4. Chest Dip


That's all!

You have to do one set of each exercise - nothing more - only one short
set. Remember I am talking about putting on strength not putting on muscle
mass.

Do at least 5 repetitions of each exercise and a maximum of 12. But now
comes the little trick. Increase your weight as long as you don't drop
below 5 reps.

Don't care about increasing reps - care about increasing weights - because
you want to gain strength.

If you want to go wild like a few of my clients - increase the weight for
lower body movements (Squat and Deathlift) 20 pounds and for upper body
movements (Pull Ups and Chest Dip) 10 pounds with each workout.

Hmmm...probably you are not that crazy but try at least 10 pounds lower
body and 5 pounds upper body. This should work fine for most people.

Again - if your reps drop below 5 - don't increase the weight - as long as
you stay at 5 reps or above - increase the weight.

Don't overdo it when you start with your first workout. Start with a weight
you could normally use for 10-12 reps.

One question is still open - How many workouts you should do?
ONE SET FOR EACH EXERCISE
ONE WORKOUT EACH WEEK - THAT'S ALL


But I want to give you two example workouts:

WORKOUT NUMBER 1
1. Squats - 220 pounds - 10 reps
90 seconds rest
2. Deadlift - 240 pounds - 11 reps
90 seconds rest
3. Pull Ups - (bodyweight 180 lbs + 5 lbs plate) = 185 pounds - 8 reps
90 seconds rest
4. Chest Dip (bodyweight 180 lbs + 10 lbs plate) = 190 pounds - 10 reps
END OF WORKOUT NUMBER 1

1 WEEK REST

WORKOUT NUMBER 2
1. Squats - 230 pounds - 10 reps
90 seconds rest
2. Deadlift - 250 pounds - 10 reps
90 seconds rest
3. Pull Ups - (bodyweight 180 lbs + 10 lbs plate) = 190 pounds - 7 reps
90 seconds rest
4. Chest Dip (bodyweight 180 lbs + 15 lbs plate) = 195 pounds - 10 reps
END OF WORKOUT NUMBER 2



If you didn't understand it the first time -read it again.
ONE SET OF EACH EXERCISE - ONE WORKOUT EACH WEEK
INCREASE THE WEIGHT WHILE YOU DON'T DROP BELOW 5 REPS.

Sounds to simple to work?

Well I know - a lot of people said this to me about 2 years ago me. So I
made one public test back between 12/02/00 and 01/24/01. This test lasted
about 10 weeks.

Christian the test person was somebody you would call a hard gainer. But
he was extremely motivated, this was the reason I decided he should be the
test person. I wanted to show that you don't have to be a genetic wonder
to achieve great gains as long as you do your best to succeed.

Christian did only 10 workouts in 10 weeks. Here are the results:

Start (12/02/00):
1. Squats - 8 reps with 80 kg (176.37 lbs)
2. Deadlift - 5 reps with 60kg (132.28 lbs)
3. Pull Ups - 5 reps - Bodyweight + 5kg (11.02 lbs)
4. Chest Dips - 5 reps Bodyweight only


End (01/24/01)
1. Squats - 4 reps with 170 kg (374.8 lbs)
2. Deadlift - 4 reps with 110kg (242.5 lbs)
3. Pull Ups - 6 reps Bodyweight + 20kg (44.09 lbs)
4. Chest Dips - 4 reps - Bodyweight + 20kg (44.09 lbs)


This means he increased his strength by:

Squats + 90 kg (198.41 lbs)
Deadlift + 50 kg (110.23 lbs)
Pull Ups + 15 kg (33.07 lbs)
Chest Dips + 20 kg (44.09 lbs)

Not bad for a so called hard gainer within 10 weeks of training?!

After this a lot of people tried the same workout routine. And guess what
- they had similar results.

You can do this too - or have even better results - but you have to be
motivated.

Well this is what I call results based bodybuilding - set your aim -
follow it and achieve it. The training wasn't fancy or exotic - but it
did it's job.

And the results were better than what a lot of people with ordinary workout
routines will ever achieve in a lifetime.

I always use short training routines. They don't have to be this short but
they only have to fulfill what they are for.

In my personal training software X-Size I also
use short routines but in a more advanced way. I created this
software to make something completely different. It's all about timing.

Such short routines could be confusing if you add some advanced
techniques like upgrading exhaustion or advanced splitting. But for this
reason I created my personal training software to keep all guesswork
away from you.

You see the workout routine above is completely easy to understand. But
what happens after a few weeks? You can use this routine only a few weeks
before you hit a plateau. But in X-Size I shoot
for the middle to long term goals. For example I use a similar but more
advanced routine in a feedback controlled manner to shoot for a middle term
goal. What does it mean? I use for example such a routine to initialize your
body for a special muscle mass phase.

Sounds complicated?! It is complicated - but what makes any routine a
real winner is when you can easily follow it. If you have no guesswork. So
this could only be solved with a software that gives you the exact
weights and reps for any workout unit.

Results is all that count!

2/10/2010

Deciding if a Point is Inside a Polygon - Pure Python

Method using matplotlib.nxutils

from matplotlib.nxutils import points_inside_poly
points_inside_poly([[0, 0], [0, 1]], [[1, 0], [1, 1], [0, 1]])


Using python-shapely (http://trac.gispython.org/lab/wiki/Shapely)
(http://gispython.org/shapely/manual.html#polygons)

$ sudo apt-get install python-shapely


in python,

from shapely.geometry import Polygon, Point
polygon2 = Polygon(((0, 0), (0, 1), (1, 1), (1, 0)))
print polygon2.contains(Point(0.1, 0.1)) # print True



another method :

ref : http://www.ariel.com.au/a/python-point-int-poly.html


#!/usr/bin/python
# determine if a point is inside a given polygon or not
# Polygon is a list of (x,y) pairs.
def point_inside_polygon(x,y,poly):

n = len(poly)
inside =False

p1x,p1y = poly[0]
for i in range(n+1):
p2x,p2y = poly[i % n]
if y > min(p1y,p2y):
if y <= max(p1y,p2y):
if x <= max(p1x,p2x):
if p1y != p2y:
xinters = (y-p1y)*(p2x-p1x)/(p2y-p1y)+p1x
if p1x == p2x or x <= xinters:
inside = not inside
p1x,p1y = p2x,p2y

return inside


.

1/21/2010

join or split pdf files - pdftk

join

pdftk file1.pdf file2.pdf cat output file12.pdf

split

ex) in.pdf has 10 page total. We want split it in two files.
out1.pdf has page 1 to 5, and out2.pdf has 6 to 10.

pdftk in.pdf cat 1-5 output out1.pdf
pdftk in.pdf cat 6-end output out2.pdf
very simple and elegance !!

detailed manual :

pdftk --help


.




1/17/2010

CPU 점유율 잡아먹는 네이버 실시간 검색어 없애기

firefox 파이어폭스로 네이버 접속했을 때 cpu 점유율 급상승하는 증상.

실시간 검색어 목록이 화려한 (?) 효과로 바뀌고 있는데 이게 원인인 듯.

그리스몽키로 없애버리니 cpu 가 잠잠해 짐.


방법
------------

firefox -> right click on greasemonkey icon -> 새로운 유저 스크립트

이름, 네임 스페이스 적당히 쓸것

동작할 페이지 -> http://*.naver.com/*


스크립트 내용

// ==UserScript==
// @name naver
// @namespace naver
// @include http://*.naver.com/
// ==/UserScript==

var annoying = document.getElementById('au_keyword_rank');
if (annoying)
{annoying.parentNode.removeChild(annoying);
}

실시간 검색어 부분을 소스 확인 해보면 html 태그 ID 가 au_keyword_rank 로 되어 있음.

greasemonkey 에서 이 부분 검색해서 없애는 코드.

.

1/16/2010

[HOWTO] install python-visual_5.13 to jaunty

Preparing related packages

Download linux package in

http://vpython.org/contents/download_linux.html

Uncompress it.
And make temporary folder ( ex. vp_tmp ) and get into the vp_tmp folder

/home/username/somewhere$ ls -d visual-5.13_release
visual-5.13_release
/home/username/somewhere$ mkdir vp_tmp
/home/username/somewhere$ ls
visual-5.13_release
vp_tmp
/home/username/somewhere$ cd vp_tmp
/home/username/somewhere/vp_tmp$


install the following 3 packages using synaptic :

libboost-python-dev
libboost-signals-dev
libboost-thread-dev


install the followings using synaptic :

automake
libgtkglextmm-x11-dev
libgtkmm-2.4-dev
libglademm-2.4-dev

Configure

/home/username/somewhere/vp_tmp$ PYTHON=/usr/bin/python ../visual-5.13_release/configure --prefix=/usr
The configure command should be run in a parallel folder.
The install.txt file recommand that.
(for example, vp_tmp which was made in before step)
So, the configure command should be "../visual-5.13_release/configure" rather than "./configure"



compile

/home/username/somewhere/vp_tmp$ make


install

/home/username/somewhere/vp_tmp$ make install

In jaunty, python site-packages or dist-packages are located in
"/usr/lib/python2.6/dist-packages" or "/usr/lib/python2.6/site-packages"
So, prefix should be "/usr"
Then, python-visual will be installed in prefix/lib/python2.6/site-packages folder.
After "make install", because of ubuntu jaunty's python folder policy, you should

$ sudo cp -R /usr/lib/python2.6/site-packages/* /usr/lib/python2.6/dist-packages/


If "configure" was run without --prefix option, compiled visual-python package is installed in
"/usr/local/lib/python2.6/site-packages"
In this case, user should copy the whole installed packages to "/usr/lib/python2.6/dist-packages"
(i.e.,
/home/username/somewhere/vp_tmp$ sudo cp -R /usr/local/lib/python2.6/site-packages/* /usr/lib/python2.6/dist-packages/
)

.