Ubuntu install GD support for apache

command:
sudo apt-get install php5-gd
Don’t forget to restart apache
service apache2 restart

Related posts

installing apache php and mysql on Pardus (0)
install php apache mysql phpmyadmin (1)
Unlimited Subcategory with Adjacency List Model (4)
mysql_insert_id (0)
Difference between include and require (1)

See More » · Written on: 12-11-09 · Linux · No Comments »

python hex to dec and dec to hex converter

# change a hexadecimal string to decimal number and reverse
# check two different representations of the hexadecimal string
# negative values and zero are accepted
# tested with Python24        vegaseat     11oct2005
def dec2hex(n):
“””return the hexadecimal string representation of integer n”””
return “%X” % n
def hex2dec(s):
“””return the integer value of a hexadecimal string s”””
return int(s, 16)
print “dec2hex(255)  =”, dec2hex(255)    # [...]

See More » · Written on: 12-10-09 · python · No Comments »

Ubuntu 9.10, Karmic Koala, released‎

Ubuntu 9.10 has released, it has some new faetures, i shared a few of them. For more
Store, sync and share

Integrated “Ubuntu One” technology gives you 2 GB of online storage for free. Easily share files between your own and your friends’ computers. Upgrade at low cost for more storage if you need it.

Software Center
Instant access [...]

See More » · Written on: 10-31-09 · Linux · No Comments »

Design Patterns

Design patterns is used in software to solve common problem. They can be grouped into 3 category (Creational patterns, Structural patterns, and Behavioral patterns)
You can find some information about design patterns here

Creational Patterns

Abstract Factory (87)
Provide an interface for creating families of related or dependent objects without specifying their concrete classes.
Builder (97)
Separate the [...]

See More » · Written on: 10-30-09 · C++, Java · No Comments »

Dns Cache with dnsmasq

To make a faster browsing , you can use dns cache.
To understand why you should use dns cache, you should learn how dns works.

With the each client request, dns try to find ip address for domain. Forexample for each you type www.google.com, your browser try to find google.com ips again. Dns cache is hold this [...]

See More » · Written on: 09-05-09 · Linux · No Comments »

A Simple Djb File

Default:
#domain.tld:
&domain.tld::ns1.nameserver.tld:3600
&domain.tld::ns2.nameserver.tld:3600
+domain.tld:97.107.130.190:3600
+*.domain.tld:97.107.130.190:3600
@domain.tld:97.107.134.172:mail.domain.tld::3600
Zdomain.tld:ns1.nameserver.tld:dns.nameserver.tld:2009081301:3600
‘domain.tld:v=spf1 a mx ip4\07297.107.130.190 -all:360
Simple one:
#egitimpili.com:
&egitimpili.com::ns1.runotech.com:3600
&egitimpili.com::ns2.runotech.com:3600
+egitimpili.com:97.107.130.190:3600
+*.egitimpili.com:97.107.130.190:3600
@egitimpili.com:97.107.134.172:mail.:etimpili.com:3600
Zegitimpili.com:ns1.runotech.com:dns.runotech.com:2009081301:3600
‘egitimpili.com:v=spf1 a mx ip4\07297.107.130.190 -all:3600
For more: http://cr.yp.to/djbdns.html

Related posts

After long break … (0)

See More » · Written on: 08-30-09 · Linux · No Comments »

A Great Sound Loreena Mckennitt

Generally , i don’t share music or videos. Actually i have never posted any before. But i thought that, you should listen this:
Loreena Mckennitt – All Souls Night

LOREENA MCKENNITT – ALL SOULS NIGHT (LIVE)

Bonfires dot the rolling hillsides
Figures dance around and around
To drums that pulse out echoes of darkness
Moving to the pagan sound.
Somewhere in a [...]

See More » · Written on: 08-13-09 · My news · No Comments »

Wordpress Security Vulnerability

With this security vulnerability, your admin password can be reset if your wordpress version <=2.8.3.  For more information about exploit visit: http://www.milw0rm.com/exploits/9410
Solution:
open wp-login.php
Find this line
if ( empty( $key ) )
and change with this:
if ( empty( $key ) || is_array( $key ) )

or
patch: http://wordpress.org/development/2009/08/2-8-4-security-release/

Related posts

Mysql password reset,change (0)
Some Changes.. (0)

See More » · Written on: 08-12-09 · Security · 1 Comment »

After long break …

I am here again. I have started work and i am working with python (2.6) now. I really like it, coding with python is very enjoy. Also python is very very easy, my first progam is a deamon with python , Here is my changes.

Started with working python instead of Java
discovered Oracle Berkeley DB
I’m [...]

See More » · Written on: 08-11-09 · My news · No Comments »

How to learn your linux release

To learn your linux and kernel version ( release ) you can use /proc/version
Type it in console:
cat /proc/version
Linux version 2.6.18-92.el5
(brewbuilder@ls20-bc2-13.build.redhat.com)
(gcc version 4.1.2 20071124 (Red Hat 4.1.2-41))
#1 SMP Tue Apr 29 13:16:15 EDT 2008
In this output, you get to see the following information:

Exact version of the Linux kernel used in your OS: Linux version 2.6.18-92.el5
Name of [...]

See More » · Written on: 05-18-09 · Linux · 3 Comments »
Page 1 of 3123»