Archive

Author Archive

Cara buka Netflix dari telkom

January 28th, 2016

Netflix di block oleh telkom? Gunakan cara di bawah ini.

Blockir yang dilakukan oleh telkom adalah teknik yang disebut dengan DNS poisoning. Sehingga apapun DNS yang kita masukkan ke dalam setting operating system kita. Karena telkom mereplace apapun DNS nya, kita tidak bisa semudah merubah IP DNS ke misalnya Google (8.8.8.8) atau openDNS.

TLDR:
Cara paling mudah adalah dengan menginstall program yang namanya DNSCrypt. Program ini menggunakan jalur HTTP untuk request IP apa yang dibelakang suatu domain, telkom tidak bisa memblock packet HTTPS saat ini, sehingga masih aman. Lalu DNSCrypt akan menginstall DNS Server di komputer anda. Langkah selanjutnya tinggal ganti setting DNS dari komputer anda menjadi 127.0.0.1 (IP dari komputer anda sendiri). Langkah install DNSCrypt sudah ada yang berbahasa Indonesia. Silahkan langsung di tengok dari Web sebelah.

http://utekno.com/cara-menggunakan-dnscrypt-windows-11451

Share

Uncategorized

WordPress update without FTP

March 14th, 2013

When I want to install upgrade / theme into wordpress, some of my server request me to input FTP connection setting, the others don’t. The problem is, my server don’t have a FTP account.

I’m trying to figure out, what’s the difference in setting, but i cannot find any. Luckily today i found a way to force wordpress NOT using the FTP method.

You just need to edit the wp-config.php. Add this line

define('FS_METHOD' , 'direct');

Reference: http://codex.wordpress.org/Editing_wp-config.php

Share

linux, programming, web

Happy Thanksgiving

November 26th, 2010

This time of year. Time to give thanks for everything that GOD had gave us.

Firstly thank you GOD for giving me strength for enduring this year. This year is full of problem, but I know You will guide me trough all these.

Thank you for all family, friends, for their love and support.

And all these year I use open source programming as my source of income, and never said any thanks. This year, I would like to address a thanks to the following:

- PHP Language. We’ve been together for 10 years now. Thanks for all the updates and security patches from PHP dev Team. Thanks for the easy to understand language.
- Ubuntu Linux. For being a great development OS for last 3 years. Ubuntu server had been installed on all my client.
- Apache Server. Running on all my server.
- MySQL. For keeping open source database for as long I learn database. Very stable and good for small – medium company.
- Komodo Edit. A very nice GUI for coding. Support all the language I use, PHP, SQL, Jquery, etc.
- JQuery. A neat, very fast, easily expandable and beautiful Javascript Framework.
- Bazaar. For keeping my source safe.
- Titanium Developer. New IPhone rapid development framework that I just learned. Very inspirational.

Thank you for the hard work developing these software. Happy Thanks Giving to all.

Share

programming, web, zuru zuru

Twedding

September 29th, 2010

This is our latest Product. Twedding.

You can make something different to your wedding. Your friend would be able to send SMS / Twitter / Facebook Post / Gtalk / and we support almost every Social networking out there.

Here’s some video of my Wedding using the software
YouTube Preview Image

For more info please visit http://www.twedding.com/

Share

web

Coloring Mac Terminal

September 14th, 2010

By default Mac OS X’s Terminal application uses the Bash shell (Bourne Again SHell) but doesn’t have directory and file color highlighting enabled to indicate resource types and permissions setting

Enabling directory and file color highlighting requires that you open (or create) ~/.bash_profile in your favourite text editor, add these contents:

export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad

… save the file and open a new Terminal window (shell session). Any variant of the “ls” command:

ls
ls -l
ls -la
ls -lah

… will then display its output in color.

More details on the LSCOLORS variable can be found by looking at the man page for “ls“:

man ls
LSCOLORS needs 11 sets of letters indicating foreground and background colors:

directory
symbolic link
socket
pipe
executable
block special
character special
executable with setuid bit set
executable with setgid bit set
directory writable to others, with sticky bit
directory writable to others, without sticky bit

The possible letters to use are:

a  black
b  red
c  green
d  brown
e  blue
f  magenta
c  cyan
h  light grey
A  block black, usually shows up as dark grey
B  bold red
C  bold green
D  bold brown, usually shows up as yellow
E  bold blue
F  bold magenta
G  bold cyan
H  bold light grey; looks like bright white
x  default foreground or background

By referencing these values, the LSCOLORS variable setting mentioned above translates to:

Bold blue with default background for directories, bold magenta with default background for symbolic links, bold green with default background for sockets, etc.

Reference :
http://www.geekology.co.za/blog/2009/04/enabling-bash-terminal-directory-file-color-highlighting-mac-os-x/

Share

mac, programming

Move back close button to the right side

May 3rd, 2010

If you just install Ubuntu 10.04 then you will realize that the new button is moved to the left side (Mac style). You can move it back to right by following this tutorial:

Got this info from Here

Press Alt+F2, then type gconf-editor and press enter. That’s for opening the configuration editor.

Once on this editor, in the item tree at the left, you have to look for this path app -> metacity -> general and you doubleclick on the field named button_layout.

Then, you have only to change the value field and put this:

menu:minimize,maximize,close

Share

linux

FTP Sync

April 14th, 2010

I use rsync a lot for sync between my Local and Remote Backup Server, rsync is doing very great job in term of speed and stability. But in certain cases, my client is not using ssh enabled account. So i forced to use an FTP sync, which is very slow. Sure you can use usual FTP Client like Filezilla, etc. But I doesn’t have a good build in sync system.

So I start googling and find 1 solution using LFTP. This program is already installed on standard Ubuntu installation, so you can use it immediately.

This is a sample file how to do a sync

#!/bin/bash    
HOST="yourhost.com"
USER="yourusernamehere"
PASS="yourpasswordgoeshere"
LCD="/home/local/directory/"
RCD="/home/remote/directory/"
lftp -c "set ftp:list-options -a;
open ftp://$USER:$PASS@$HOST; 
lcd $LCD;
cd $RCD;
mirror --reverse \
       --delete \
       --verbose \
       --exclude-glob config/ \
       --exclude-glob .htaccess \
       --exclude-glob index.php"

Finally in the section where it writes –exclude-glob, you write file that you should exclude in sync process. You can write directory name with / (slash) or filename, or event support a wildcard (* / ?).

Hope it helps

Share

linux, programming , ,

Kuliner Surabaya

January 14th, 2010

Lagi dapet kesempatan buat training orang ke Surabaya nich. 4 hari 3 malem. Sempet nyobain makanan di bawah ini. Semuanya mantap sekali. Dan harus dicobain kalo nanti ke Surabaya lagi ach.

1. Bakwan Kapasari
Ada di pasar atom dan di Jalan May Jen Sungkono. Bakso (kalo orang sini sebutnya bakwan) nya kotak ^^ lucu dech. Rasa baksonya juga mantap. Makan 1 porsi isi lima sama bakmi ayam sekitar 50 rb kalo gak salah. Cukup mahal, tapi worth the price. Di dalem tokonya ada timbangan jaman karung beras jaman jebot gitu, lucu… akhirnya ada timbangan yang kalo gue naekin jarum nya engga muter lebih dari setengah wkwkwkw.. Terus ada gerobak pas dia jualan pertama kali gitu.

Bakso spesial nya dia ada bakso urat yang kotak2 tadi, bakso halus yang bulet, usus… (engga cobain, engga doyan), siomay goreng nya enak, siomay rebus nya engga coba.

2. Rm Bakmi tidar Jakarta
Ada di jalan tidar. Lucu juga, makan bakmi jakarta jauh2 di Surabaya. Tapi bakmi nya daging nya banyak banget. Kuah nya juga enak. Terus dessert nya… Es KACANG IJOO… mantaaaap poooll… Yang lebih enak lagi yah. Di sebelahnya itu ada yang jual casiu garing madu. Wah itu enak bangettt!! Lebih enak lagi beli itu dulu 100 gram terus makan di bakmi tidar nya.

3. Warung Ibu Kris
Nahhh ini baru makaann… Sampe di rekomendasiin sama 4 orang temen. Bahkan orang nya ada di Jepang, dia sampe afal nama jalannya dan bisa pandu gue sampe ke restoran ^^ hebat gak. Nanya sopir taxi manapun di surabaya kayaknya pasti tau resto ini. Resto nya ga gitu gede. Specialitis nya pecel n penyet2an.

Kemaren sempet cobain ayam + bakwan (bakso) penyet. Terus makan nasi rawon. Nasi rawon 12 Rb isinya buanyaaaaak poll plus daging 7 potong gede2. Terus Nasi pecel 5.5 Rb enak juga. Ayam penyet nya cuma 9Rb aja. Murah banget. Minum nya juga ada versi jumbo dengan harga yang murah banget juga…. Puas banget makan di sini…. Sangat2 recommended sekaleee..

Akhir Kata
Sayang nya cuma sempet makan itu aja sih, karena pagi makan di hotel dan siang nya dapet makan dari kantor ^^ Sadiz ini 3 hari di sini perut maju ke depan. Jam 11 dpt snack pagi, jam 12 makan siang, jam 3 dapet snack sore, makan malem… bobooo… sadiz bow.

Share

jalan2 ,

How to use ‘find’ in file

January 7th, 2010

Linux has many usefull command.

I always use this command to find a single file

find . | grep filename

But it’s not a really good implementation to how to use the syntax. For search file name, use this command instead.

find -name filename
find -name "you can event use a wildcard *"

For directory you can write like this

find -type d

For find only file

find -type f

Together joined will be

find -type f -name "rick*"

And the most useful syntax, you can run a command on every file it found. Here’s how to delete every jpg it found.

find -type f -name "*.jpg" -exec rm {} \;

Or upgrade all bzr in every directory

find -type d -maxdepth 1 -exec bzr update {} \;

Hope it helps

Share

linux, programming

Fix file permission

January 5th, 2010

Sometimes if you mess up with file permission in a lot of file. It takes time to repair it. This is how to repair file permission in 2 commands

For directory

find [your path here] -type d -exec chmod 755 {} \;

And for file

find [your path here] -type f -exec chmod 644 {} \;
Share

linux

Switch to our mobile site