24 Ekim 2013 Perşembe

Uinstall any program with linux command line.

1. dpkg --list  // listed all program names.


2.sudo apt-get --purge remove <programname>



3.sudo apt-get remove <programname>

22 Ekim 2013 Salı

Paypal button

<form method="post" action="https://www.paypal.com/cgi-bin/webscr">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="followzilla@hotmail.com.tr">
<input type="hidden" name="item_name" value="Twitter 1000 Retweet">
<input type="hidden" name="custom" value="<? echo $tid ; ?>">
<input type="hidden" name="item_number" value="1000">
<input type="hidden" name="amount" value="8">
<input type="hidden" name="currency_code" value="TRY">
<input type="hidden" name="return" value="http://retweetkazanv2.info/">
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="lc" value="TR">
<input type="image" src="http://www.paypalobjects.com/tr_TR/i/btn/x-click-but23.gif" border="0" name="submit" width="68" height="23" alt="Ödemelerinizi PayPal ile hızlı, ücretsiz ve güvenli şekilde yapın.">
</form>


live
      https://www.paypal.com/cgi-bin/webscr       
sandbox
        https://www.sandbox.paypal.com/cgi-bin/webscr

Bişiler yazmaya gerek yok bu gayet yeterli bir kaynak.

2 Ekim 2013 Çarşamba

How to fix tweepy reauth "Unable to get username, invalid oauth token" problem.

 
                    access_key  = #user access token
                    access_secret = #user access secret
                    oauth = tweepy.OAuthHandler(#consumer_key, #consumer_secret)
                    oauth.set_access_token(access_key, access_secret)
                    api = tweepy.API(oauth)
                    try:
                        user = api.me()
                    except tweepy.TweepError:
                         #token problem here

Yasin aktimur