Move flexibilitytheme3 Sidebar to left

My client ask me how to Move flexibilitytheme3 Sidebar to left, I found the solution whitout by flexsqueze theme, I got the info flexsqueze have that option, if you only use flexibilitytheme3 the solution is verry simple..

Jus add the custom css in “Custom CSS and Style Sheet Optimization”

 

#sidebar {float:left;width:325px;margin-top:0px;position:relative;padding-left: 0px;margin-bottom: 15px;margin-left:5px;margin-right:5px;}

.postwrap {float:right;width:580px;padding:0px 0px 0px 0px;margin-bottom:5px;}

Don’t forget change the width same like your setting :) Read More »

Unzip your file use php

If your hosting provider not use cpanel or kloxo, maybe they dont have file manager to unzip file, but you can unzip use php function,

 <? php system('unzip nama_zip_file.zip'); ?>

 

I’ts Easy and save your bandwidth :P

Read More »

Firefox 5 is out now

Today I get alert box in left from my firefox browser, say my firefox have update, in version 5, wow! really happy, firefox is my favorite browser.. but after update to 5 I saw no much differents with firefox 4, but I read some review they say

 

    1. "Do not track" options for Android, better visibility in Preferences of desktop version
    2. CSS animation support, which helps developers build more dynamic websites
    3. Better support for JavaScript and Canvas
    4. Updated support for MathML, HTML 5, XHR, and SMIL.

Is support html 5 better :) but is better from FF 4? I dont know :P hahaha

Read More »

Make auto modal script center page use colorbox

My boss want to make some modal script in his landing page, I dont have experience with modal popup. try to searching in google then I found some javascript customizable lightbox plugin for jQuery the script called colorbox, you can get colorbox here

After install we only need replace the function

$(&quot;a[rel='example1']&quot;).colorbox();

with

$(&quot;a[rel='example1']&quot;).colorbox({open:true});

works great, sorry cant show the demo, the landing page is private for advertising only lol…


Read More »

Jika 403 Permission Denied pada wordpress

Pagi pagi ada klien email minta tolong dicek kan wordpress dia koq “403 Permission Denied” ternyata setelah dicek ada code pembatasan di htaccess, akhirnya ganti aja dengan htaccess nya “perawan wordpress” fix dah.. huahaha  lama ga nulis.. lumayan buat catatan di kemudian hari..

Read More »

foto udara

Foto udara merupakan teknologi fotografi yang cukup asing bagi kita orang awam.. saat ini foto udara sudah menjadi tren bagi masyarakat di jakarta, mulai dari prewedding, foto gedung perusahaan dan mungkin anda ingin foto kepala anda dari atas :D

Sebenarnya foto udara adalah pekerjaan fotogrametri yang biasanya disebut sebagai interpretasi foto udara. saya sendiri masih sangat awam tentang foto udara ini. Kalau anda sering menggunakan google map satelit mungkin hampir mirip ya hehehe..

Nah tujuan dari menulis artikel ini adalah, bagi anda yang sedang mencari jasa fotografer foto udara mungkin salah satu teman baik saya bisa membantu anda.. :D

Dengan biaya murah dan service yang memuaskan.. anda boleh main ke website baru beliau di http://fotoudara.org

sekian dan terima kasih :D

Read More »

optimasi mysql di kloxo

para melihat website milik sendiri dan klien yang visitor ribuan sampe puluhan ribu dan pengennya pake server yg sesuai dengan kantong hehehe :D

jadi akhirnya kudu di optimasi sana sini, sekarang adalah saat nya untuk optimasi mysql..

[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
skip-locking
key_buffer = 16K
max_allowed_packet = 1M
table_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 64K
skip-bdb
skip-innodb

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash
#safe-updates

[isamchk]
key_buffer = 8M
sort_buffer_size = 8M

[myisamchk]
key_buffer = 8M
sort_buffer_size = 8M

[mysqlhotcopy]
interactive-timeout

pasang di /etc/my.cnf ya

sebelumnya jangan lupa

 cp /etc/my.cnf /etc/my.cnf.bk

Backup dulu biar aman :D

trus

 service mysqld restart

Boleh dibuktikan :D

[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
skip-locking
key_buffer = 16K
max_allowed_packet = 1M
table_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 64K
skip-bdb
skip-innodb

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash
#safe-updates

[isamchk]
key_buffer = 8M
sort_buffer_size = 8M

[myisamchk]
key_buffer = 8M
sort_buffer_size = 8M

[mysqlhotcopy]
interactive-timeout

Read More »

Download file ftp pake wget

ada klien webnya http nya diforbidden sama hosgator hehehe kaco la.. akhirnya bisa jg download file ke new vps hehehe caranya adalah

wget --user=penjenengane --password='myPassword' http://ip.mu/file.name
Read More »

Install Proftpd di centos

Pertama

yum remove vsftpd

Lalu

yum install gcc-c++

Download dan Install proftpd dari ftp://ftp1.ca.proftpd.org/pub/proftpd/devel/

cd /usr/local/src/ wget http://www.mirrorservice.org/sites/ftp.proftpd.org/historic/source/proftpd-1.3.1.tar.gz tar xvfz proftpd-1.3.1.tar.gz cd proftpd-1.3.1/ ./connfdir=/etc make make install cd .. rm -fr proftpd-1.3.1* 

Read More »

Install nginx di centos

Masuk langsung ke http://wiki.nginx.org/Install ambil source lalu download ke server…

./configure
make
sudo make install

Setelah beres bikin init.d buat nginx nya

sudo kill `cat /usr/local/nginx/logs/nginx.pid` sudo nano /etc/init.d/nginx

Isinya :


#! /bin/sh

### BEGIN INIT INFO
# Provides:          nginx
# Required-Start:    $all
# Required-Stop:     $all
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: starts the nginx web server
# Description:       starts nginx using start-stop-daemon
### END INIT INFO

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/local/sbin/nginx
NAME=nginx
DESC=nginx

test -x $DAEMON || exit 0

# Include nginx defaults if available
if [ -f /etc/default/nginx ] ; then
 . /etc/default/nginx
fi

set -e

. /lib/lsb/init-functions

case "$1" in
 start)
 echo -n "Starting $DESC: "
 start-stop-daemon --start --quiet --pidfile /usr/local/nginx/logs/$NAME.pid \
 --exec $DAEMON -- $DAEMON_OPTS || true
 echo "$NAME."
 ;;
 stop)
 echo -n "Stopping $DESC: "
 start-stop-daemon --stop --quiet --pidfile /usr/local/nginx/logs/$NAME.pid \
 --exec $DAEMON || true
 echo "$NAME."
 ;;
 restart|force-reload)
 echo -n "Restarting $DESC: "
 start-stop-daemon --stop --quiet --pidfile \
 /usr/local/nginx/logs/$NAME.pid --exec $DAEMON || true
 sleep 1
 start-stop-daemon --start --quiet --pidfile \
 /usr/local/nginx/logs/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS || true
 echo "$NAME."
 ;;
 reload)
 echo -n "Reloading $DESC configuration: "
 start-stop-daemon --stop --signal HUP --quiet --pidfile /usr/local/nginx/logs/$NAME.pid \
 --exec $DAEMON || true
 echo "$NAME."
 ;;
 status)
 status_of_proc -p /usr/local/nginx/logs/$NAME.pid "$DAEMON" nginx && exit 0 || exit $?
 ;;
 *)
 N=/etc/init.d/$NAME
 echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2
 exit 1
 ;;
esac

exit 0
Read More »