Month: July 2013

  • Add and load android project Library in Eclipse

    When we have android project library and wanted to use it on another project, we can load them using project references. Remember, add project library into Build Path -> Library in Eclipse will doesn’t works and your Library project will not found / not exits. Quick way to load library project in Eclipse : 1. […]

  • Solve php fpm upstream sent too big header while reading response header from upstream

    When your php5-fpm and NGINX got this errors: 12013/07/22 09:55:20 [error] 10446#0: *5 upstream sent too big header while reading response header from upstream, client: 127.0.0.1, server: www.yodi.biz, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "www.yodi.biz" That’s meaning you need to resize your fastcgi buffers in our nginx.conf. In Ubuntu or Debian it’s located at […]

  • Solve Thunderbird 100% CPU on Ubuntu 13.04

    I hate when Thunderbird consume 100% CPU usage when I launch it. There is some simple trick to reduce that become 20-30% by disabled Status Bar.

  • Solve adb libncurses5 eclipse

    If you get errors adb libncurses5.so can’t object sharing, in Ubuntu, please install : 1sudo apt-get install libncurses5:i386 Better way, 1sudo apt-get install ia32-libs

  • Pyglet text label segmentation fault

    I got this errors when trying running Pyglet on Fedora 18 (Updated) and Fedora 19. I use Macbook Pro with VGA Nvidia 320M. When i running pyglet.text.label(“Hello”), it’s gave me segmentation fault. After debugging, I realize the problem because I use opensource VGA Nvidia driver Nouveau which doesn’t works well with OpenGL. The solution, i’m […]

  • Solve Nvidia on Lenovo z500

    This is quickfix how to get rid of errors : “You are not currently using a display attached to an Nvidia GPU”. Make sure you already install the latest Nvidia Driver (use updates) from Nvidia (not Lenovo). Then, checkout on Bios settings for graphics to use “switchable mode”. If everything is fine, now first step […]

  • Install Love2D and SublimeText Love editor in Windows 8

    Here is a quick guide to setup Love2D in Windows 8 and SublimeText as IDE. First, we can go to the official website of Love2D at https://love2d.org/ and choose installer 32/64bit installer (depend on your OS). Executable Love in CommandLine Add LOVE path into Environment variables by : “Window Key” + W and type “edit […]

  • Ubuntu 13.04 Raring installation on Macbook Pro 7.1

    For the very first time, i’m very happy that Macbook Pro can works 100% on Linux (Ubuntu 13.04). I used to use Fedora 18 & 19, but there is problem in VGA (Nvidia 320M) installation. Also the driver nouveau can’t works well and gave bad influence in game development with OpenGL. But today, Nvidia 320M […]

  • Configure Apache2 in Mac OS X with custom document root

    Here is a quick step to configure Apache2 in Mac OS X (I use Mountain Lion) to be able working with custom document root and Directory listing. For example, I put my website projects on ~/htdocs. So first thing to do, we need to give permission Apache2 to be able accessing this folder. 1chmod o+x […]

  • Love2D with SublimeText in Mac OS X

    I’m not often using SublimeText, but seems it’s very good for Love2D development. Here is my configuration, first we need to install SublimeText2 / 3 in our Mac OS X. Then, we need to install SublimePackageManager (http://wbond.net/sublime_packages/package_control/installation). Then here is the cure, add this github repo on Package Settings -> Install 1https://github.com/minism/SublimeLove Then we’re ready […]

  • Love2d font segmentation fault (core dumped)

    Updated After debugging and tested on several laptop and OS (OSX, Fedora 18 and Windows 8), the culprit is because Nouveau driver (OpenSouce VGA driver for Nvidia) can’t works with OpenGL perfectly. After installing Nvidia properietary drivers, everything must be works. This is because VGA drivers. Here is my question in Love2D forum I change […]

  • Outlook Custom Domain IMAP / POP3 Configuration

    Here is a quick configuration IMAP and POP3 for Outlook custom domain email. Incoming Settings 12345Username: username@domain.com Password: password Port: 995 Security: Enable SSL Server: pop3.live.com Outgoing Settings 12345Username: username@domain.com Password: password Server: smtp.live.com Port: 587 Security: Enable TLS Done!

  • Add custom icon launcher in Gnome Desktop Application menu

    I use Fedora 19 at this example. To add custom icon launcher in Gnome Menu, simply by creating a new file “*.desktop” inside “/usr/share/applications”. We can try with adding SublimeText 2 into Gnome Menu by: 1sudo vim /usr/share/applications/sublime-text-2.desktop And now we can put the contents: 123456789[Desktop Entry] Name=Sublime Text 2 Comment=Edit text files Exec=/your-path/SublimeText2/sublime_text Icon=/your-path/SublimeText2/Icon/128×128/sublime_text.png […]

  • Solve Error: LUBE.lua:30: A Class Commons implementation is required

    To solve this Lube errors, we need to create a class : class.lua 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100–[[ Copyright (c) 2010-2012 Matthias Richter Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, […]

  • Game Development With Love2D Introduction

    I’m trying to compare pyglet (Python based game engine) with Love2D (Lua based) for Game Development. I use Fedora 19 at this examples. 123456sudo yum install lua love sudo yum install SDL SDL-devel gsl gsl-devel libtheora libtheora-devel libtiff libtiff-devel libpng libpng-devel imlib2 imlib2-devel bzip2-devel ImageMagick ImageMagick-devel libxml2 libxml2-devel libjpeg libjpeg-devel libdv libdv-devel libavc1394 libavc1394-devel libmpeg3-devel […]

  • PhpMyadmin Virtualhost on NGINX Fedora 19

    Here is quick step to set http://localhost/phpmyadmin in Fedora 19 with NGINX. First, make sure we’re already have PhpMyadmin and NGINX installed. Then, we just need to append “/phpmyadmin” configuration inside our localhost. 123456789101112131415server {         ….         location /phpmyadmin/ {             index index.php […]

  • Android R cannot be resolved

    When you can’t recognize R.layout, first thing, check your AndroidManifest.xml that using correct name package. Also, check with completed activity name like : 1<br /> android:name="com.android.droid.AndroidActivity"<br /> If problem still occurs, please check Properties -> Build Path -> Order and Export. Please check “Android 2.3.3” or “Android version”. Disable your Make would. Significantly like, Fresh: […]

  • Fedora 19 Installation

    Here is how to full installation step to setup and configure Fedora 19 for development. FYI, I use macbook pro on this installation. 1. Fix Fedora 19 Broadcom Wireless We need to download rpmfusion and install klmod to make wireless working on Fedora 19. 1su -c ‘yum localinstall –nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm’ […]

  • Solve django can’t send email gaierror: [Errno -2] Name or service not known

    I got this errors when try to send email using STMP : 12345678910    local_hostname=DNS_NAME.get_fqdn())   File "/usr/lib/python2.7/smtplib.py", line 249, in __init__     (code, msg) = self.connect(host, port)   File "/usr/lib/python2.7/smtplib.py", line 309, in connect     self.sock = self._get_socket(host, port, self.timeout)   File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket     return socket.create_connection((port, host), […]