Articles – dremi.INFO https://www.dremi.info Software Development, Digital Marketing and News Wed, 06 Apr 2011 15:39:38 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.3 https://www.dremi.info/wp-content/uploads/2020/12/cropped-icon-32x32.png Articles – dremi.INFO https://www.dremi.info 32 32 [FIX] Installing Ruby on Rails 3, MySQL and SOLVE few problem on UBUNTU 10.10 (Maverick) https://www.dremi.info/articles/fix-installing-ruby-on-rails-3-mysql-and-solve-few-problem-on-ubuntu-1010-maverick.html https://www.dremi.info/articles/fix-installing-ruby-on-rails-3-mysql-and-solve-few-problem-on-ubuntu-1010-maverick.html#respond Wed, 06 Apr 2011 15:39:38 +0000 https://www.dremi.info/?p=1316 […]]]> This is my experience while try to install Ruby on Rails 3 and MySQL on Ubuntu 10.10
Based on googling, I found few of problem too and I hope this experience will help everyone.

Installing from terminal:

STEP #1 {RAILS}

sudo apt-get install ruby-full
wget production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz
tar -xvf rubygems-1.3.7.tgz
cd rubygems-1.3.7/
sudo ruby setup.rb
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem
sudo gem install rdoc
sudo gem install rails

STEP #2 {MySQL Server}

sudo apt-get install mysql-server libmysqlclient-dev libmysql-ruby

STEP #3 {Setting up your first Rails project}

It seems ruby using sql lite as default driver, try to install it too. Even you doesn’t need it

sudo apt-get install libsqlite3-dev build-essential
rails new railsapp
cd railsapp/
bundle install
rake db:create
rails server -p 3003

Open url with browser:

http://localhost:3003/

STEP #4 {PROBLEM HANDLING}

This is few or problem that was I received from terminal, when I try to execute bundle install from my application with lof of gems. Few of gem get troubles.
A. File not found: lib
[SOLUTION]
Simply create lib folder in your rails version:

mkdir /usr/lib/ruby/gems/1.8/gems/rails-3.0.6/lib

Then try again to execute #sudo gem install rails
B. ERROR: Error installing rails:
invalid gem format for /usr/lib/ruby/gems/1.8/cache/activerecord-2.0.2.gem
-OR-
invalid gem format for /usr/lib/ruby/gems/1.8/cache/railties-3.0.3.gem
[SOLUTION]

cd /usr/lib/ruby/gems/1.8/cache/
rm actionpack-2.1.0.gem
cd /usr/local/rubygems-0.9.5/
gem update system
gem install rails

Those solution will remove all thing on chace folder, this is cause of “Error installing rails:”
C. REINSTALLING ALL GEM

gem list --no-versions | sed -e '/^(*|$)/d' > installed_gems
sudo gem uninstall --a --ignore-dependencies .+
cat installed_gems | xargs sudo gem install
rm installed_gems

NOTE: I hope after this line, you will able to run ruby apps on your ubuntu with all of gem needed.
Reference:
http://digg.com/story/r/ruby_on_rails_3_and_mysql_on_ubuntu_10_10
http://digg.com/story/r/ruby_ror_tip7_installing_rails3_file_not_found_lib_spritle_s_blog
http://digg.com/story/r/ruby_on_rails_blog_of_railshouse_re_installing_all_gems_automatically

]]>
https://www.dremi.info/articles/fix-installing-ruby-on-rails-3-mysql-and-solve-few-problem-on-ubuntu-1010-maverick.html/feed 0
Small Tip, big solution in SVN Problem https://www.dremi.info/articles/small-tip-big-solution-in-svn-problem.html https://www.dremi.info/articles/small-tip-big-solution-in-svn-problem.html#respond Mon, 04 Apr 2011 17:32:50 +0000 https://www.dremi.info/?p=1307 […]]]> Some time, you will find this problems when you work under SVN:

  • Already under version control
  • Not a working copy
  • SVN Working Copy xxx locked and cleanup failed

AND This is solutions of problem above:

  • Already under version control
    #sudo find ./ -name “.svn” | xargs rm -Rf
    try to check back #svn st
  • Not a working copy
    rename old files/folder with “Not a working copy” status
    checkout new files/folder with “Not a working copy”
    try to check back #svn st
  • SVN Working Copy xxx locked and cleanup failed
    #sudo find ./ -name “.svn” | xargs rm -Rf
    #sudo svn cleanup
    #sudo svn up
    try to check back #svn st

I hope those problems that you often encounter in working with the SVN can be resolved with the solution.

]]>
https://www.dremi.info/articles/small-tip-big-solution-in-svn-problem.html/feed 0
Download PHP Script: Backup and Restore Database https://www.dremi.info/articles/download-php-script-backup-and-restore-database.html https://www.dremi.info/articles/download-php-script-backup-and-restore-database.html#comments Thu, 01 Oct 2009 07:34:28 +0000 https://www.dremi.info/?p=906 […]]]> Hi guys!

This is PHP Script to backup or restore your SQL Database. It’s Free to download!
Just visit my PHPClasses Page:
http://www.phpclasses.org/browse/package/5720.html
Or let’s discuss about something bug or report on:
http://www.phpclasses.org/discuss/package/5720/

]]>
https://www.dremi.info/articles/download-php-script-backup-and-restore-database.html/feed 3
Klentang Sasak https://www.dremi.info/articles/klentang-sasak-kesukaan-guwe.html https://www.dremi.info/articles/klentang-sasak-kesukaan-guwe.html#comments Sun, 27 Sep 2009 05:04:16 +0000 https://www.dremi.info/?p=902 […]]]> Bau Nyale. A seasonal celebration in Lombok. Where there is a sea worm catching event which we call Nyale. According to our belief, Nyale is the incarnation figure of the Most Beautiful Princess in Lombok from the Sekar Kemuning Lombok championship.
Yes, the Klentang Sasak that I present is a song entitled Bau Nyale …. Where the gending klentang sasak is one of the sasak arts that I like and have a very deep meaning for the Sasak tribe in Lombok.
Hopefully it can be entertaining for other Sasak friends who are traveling and who are in Lombok. Let us always remember and preserve Sasak culture as one of the riches of this country.

]]>
https://www.dremi.info/articles/klentang-sasak-kesukaan-guwe.html/feed 5
Introduction to JAVA https://www.dremi.info/articles/introduction-to-java.html https://www.dremi.info/articles/introduction-to-java.html#comments Fri, 26 Jun 2009 18:41:11 +0000 https://www.dremi.info/?p=837 […]]]> Java has evolved from being intended for applet programming in web browsers to become a programming language for the development of a variety of applications, from those running on handheld devices such as mobile phones, PDAs (Personal Digital Assistants) to large-scale (enterprise) applications on various server computers.

The most important thing is that Java is an object-oriented language for the development of standalone applications, Internet-based applications, applications for smart devices that can communicate via the Internet / communication network. With Java technology, it is possible to connect stereo audio devices to a computer network at home. Java is no longer just a topic for creating applets that beautify web pages, but Java has become a topic for large network-based enterprise application development.

A Developing Java Edition

Java is a language that can run on multiple platforms, in various environments: the internet, consumer electronic products, and computer applications. The Java 2 Platform is available in three editions for different purposes:

1. Java 2 Standard Edition (J2SE)
2. Java 2 Enterprise Edition (J2EE)
3. Java 2 Micro Edition (J2ME)

Standard Edition (J2SE)
Provides a feature-rich, stable, secure and cross-platform development environment. This edition supports database connectivity, user interface design, input / output, and network programming and is included as the basic packages of the Java language.

Enterprise Edition (J2EE)
Provides features to build and run multitier enterprise applications. J2EE contains packages in J2SE plus packages to support enterprise development JavaBeans, Java Servlets, JavaServer Pages, XML, and flexible transaction control.

Micro Edition (J2ME)
It is used for a variety of consumer electronic products, such as pagers, smart cards, cell phones, handheld PDAs, and set-top boxes. J2ME also excels in portability, anywhere scalability and safe network delivery such as J2SE and J2EE. J2ME uses a smaller package set containing only a subset of the J2SE package plus the specific Micro Edition Javax.microedition.io package. J2ME applications are scalable to work with J2SE and J2EE as well.

Java capabilities
Java has the ability to create a variety of applications today, which can consist of:

Traditional console based text based (text-based application)
Windows based or GUI Based Application for all operating system platforms
Web browser application with Java Applet
Application on a web server with Java Servlet, JSP (Java Server Pages)
Java component model-based applications such as Components in Borland Delphi or Control in Visual Basic, namely JavaBeans
The largest enterprise-scale application with EJB (Enterprise Java Beans) accompanied by database connectivity standards (JDBC-Java Database Connectivity), messaging (JMS-Java Messaging System), mailing (Java Mail), connectivity (JCA-Java Connectivity Architecture), RMI ( Remote Method Invocation) and so on
Handheld and mobile computing applications via J2ME (Java 2 Micro Edition)

Hopefully useful, thanks.

]]>
https://www.dremi.info/articles/introduction-to-java.html/feed 9
UNIKOM My campus is the winner of “Robogames” in San Francisco, United States https://www.dremi.info/articles/unikom-my-campus-is-the-winner-of-robogames-in-san-francisco-united-states.html https://www.dremi.info/articles/unikom-my-campus-is-the-winner-of-robogames-in-san-francisco-united-states.html#comments Tue, 16 Jun 2009 02:30:42 +0000 https://www.dremi.info/?p=727 […]]]> Robot UNIKOM 2009Today with joy and pride, I read the news, and finally I am shocked and as if I don’t believe it. UNIKOM guwe campus “Robogames” champion in San Fancisco, USA. The Unikom Robot Team appeared in the Open Autonomous Fire Fighting class. They rely on two fire fighting robots, DU-114 V8 and Next 116 by students Rodi Hartono and Stevanus Akbar Alexander.

From the detikinet.com source obtained, it was said that: “This victory is something to be proud of considering the Indonesian Robot Team for the first time competing abroad. The team from Indonesia managed to beat teams from developed countries, including from the US itself. This team had previously won. Indonesian Smart Robot Competition (KRCI) at regional level (West Java, DKI Jakarta, and Banten) and at the national level in Indonesia during 2007-2008. ”
The robot is the work of UNIKOM student Rudi Hartono under the guidance of the Head of the Robotics Division UNIKOM Yusrila Yeka Kerlooza. Here’s a glimpse of the Robot image in question:

Robot UNIKOM 2009

At first I was curious, since the success of the UNIKOM Robot Team to win the national level, I didn’t realize what DU-114 (the name of one of the winning UNIKOM robots) meant, but it turned out that it was an abbreviation of Dipati Ukur No. 114 Bandung. Which is the address of the beloved guwe UNIKOM campus.
Based on the information obtained, the Indonesian Robot team consisted of Dr. Aelina Surya (Purek III as Team Leader), Dr. Hj Ria Ratna Ariawati (Purek I), Yusrila Y Kerlooza (Chair of the Robotics Division), Rudi Hartono (student), and Stevanus Akbar Alexander. (student) plans to return to Indonesia on Tuesday, June 16, 2009, and is expected to arrive in Jakarta on Thursday, June 18, 2009.
Hopefully this will be a booster for UNIKOM’s progress, especially in the campus environment, because I have noticed that the UNIKOM campus is inadequate in terms of facilities, and also hopefully the new building will soon be realized, so that it matches its current achievements outside.
Regard, dr.emi

]]>
https://www.dremi.info/articles/unikom-my-campus-is-the-winner-of-robogames-in-san-francisco-united-states.html/feed 6
Introducing DigiLIB – dr.emi’s Latest Product https://www.dremi.info/articles/introducing-digilib-dr-emis-latest-product.html https://www.dremi.info/articles/introducing-digilib-dr-emis-latest-product.html#comments Wed, 01 Apr 2009 02:51:06 +0000 https://www.dremi.info/?p=79 […]]]> Photobucket

This application is a masterpiece that combines several existing Digital Library concepts. Inspired by jQuery UI as one of the best ajax javascript libraries for now.
When this application was created, it adopted several existing Digilib concepts. However, after going through several analysis processes, we finally launched the newest dreDigiLIB application to the Web Development business market.

 

Read dreDigiLIB (DE-ER-E-DIJILIB)

Some of the Feature Modules that are relied on on the Aministrator page are:

Biblio
Biblio is a module that functions to organize a collection of books, e-books, theses, and several other digital library content.

Circulation
Circulation is a module that functions to manage library data collection borrowing transactions, delays and fines.

Member

All students get member facilities to access library data. This member module functions to manage student membership.

Report

Report is a module devoted to auditing library statistical data and several other statistical data that can be used as a guide.

Tool
Tool is an additional module that is very useful for administrators in the process of maintenance and application permissions, such as application users, bulk email and database backups.



In the future, our application will continue to be developed by adding other features and will be adjusted to market demand.

 

]]>
https://www.dremi.info/articles/introducing-digilib-dr-emis-latest-product.html/feed 7
dreLogin V.1.0 – A Simple jQuery+ PHP Login https://www.dremi.info/articles/drelogin-v10-a-simple-jquery-php-login.html https://www.dremi.info/articles/drelogin-v10-a-simple-jquery-php-login.html#comments Mon, 26 Jan 2009 21:48:51 +0000 https://www.dremi.info/?p=78 […]]]> It is a simple engine for the login form handler. I’ve been making it for a long time, but this is the first time it has been published. Created using PHP and the ajax framework using jQuery, equipped with the jQuery Form Plugin.

 

dreLogin V.1.0

Even though it once existed, the jQuery login form has a difference, which is that the programming structure is easier to understand. Sessions are not registered with a merge array, so it is easier to call their values while on the admin page. No need to use extra JS too much, because it has fully adopted the functionalities provided by the jQuery Form Plugin. Which allows us to capture variables in the Ajax HTTP Response with the Value $ _POST / $ _GET
What I mean without the need to use extra JS is excessive, with jQuery Form we don’t need to use JS Extra to handle Message Responses, in the form of “empty username”, wrong password, etc. All of them can be used as dynamic variables in the PHP form action.

Use and modification is subject to Creative Common Laws License 3:
http://creativecommons.org/licenses/by-sa/3.0/
The use of dreLogin is very simple, first open config.php which is in the outermost directory of the RAR package, change the settings according to the web server:

<?php
/*
* dreLogin V.1.0
*
* Copyright (c) 2009 Hairul Azami [a.k.a dr.emi] (www.dremi.info)
* Licensed under the creativecommons Attribution-Share Alike 3.0 Unported
* http://creativecommons.org/licenses/by-sa/3.0/
* more info of licenses: https://www.dremi.info/wwwtips.php?cID=72
*
* Date: Jan 27 2009
*/
if(!defined('_VALID_ACCESS')) die('direct access is not allowed.');
# config system
define("_HOST", "localhost");
define("_USER", "dremi");
define("_PASS", "terusberjuang");
define("_DBASE", "ujicoba");
define("_PATH", "/dreLogin1/");
define("_ADMIN", "/dreLogin1/");
?>


Penjelasan: _PATH merupakan base path untuk folder dreLogin
sedangkan _ADMIN merupakan path target setelah user berhasil login

]]>
https://www.dremi.info/articles/drelogin-v10-a-simple-jquery-php-login.html/feed 13
dreFileBrowser v.1.0 – Make a beautifull File Browser with jQuery File Tree and EditArea https://www.dremi.info/articles/drefilebrowser-v10-make-a-beautifull-file-browser-with-jquery-file-tree-and-editarea.html https://www.dremi.info/articles/drefilebrowser-v10-make-a-beautifull-file-browser-with-jquery-file-tree-and-editarea.html#comments Sun, 23 Nov 2008 19:47:53 +0000 https://www.dremi.info/?p=77 […]]]> Make a beautifull File Browser with jQuery File Tree and EditArea. Setelah sukses dengan produk gw sebelumnya dreDSync V.1.0, kali ini gw melaunching sebuha open source sederhana dreFileBrowser V.1.0

dreFileBrowser v.1.0

Make a beautifull File Browser with jQuery File Tree and EditArea
© dreFileBrowser V.1.0 2008 Developped by dr.emi
Setelah sukses dengan produk gw sebelumnya dreDSync V.1.0, kali ini gw melaunching sebuah open source sederhana dreFileBrowser V.1.0
Ini merupakan open source, dimana lu boleh memodif script na, selama lu mencantumkan author na:
Author: hairul azami a.k.a dr.emi
Author Link: https://www.dremi.info
Author Contact: webmaster@dremi.info
Menggunakan dreFileBrowser:

Extract paket RAR ini ke dalam root webserver lu, lalu ubah setting configurasi pada dfb-config.php
_ABSOLUTE_PATH = defini base path untuk instalasi dreFileBrowser
_ROOT_TREE = folder mana yang akan di scan ?
_MODEM_SPEED = definisi untuk modem speed, menentukan transfer rate
$allowed_extensions_to_preview = var array untuk extensi file yang dapat di preview
$allowed_extensions_to_edit = var array untuk extensi file yang dapat di edit
Best Regard, dr.emi

]]>
https://www.dremi.info/articles/drefilebrowser-v10-make-a-beautifull-file-browser-with-jquery-file-tree-and-editarea.html/feed 5
I’m Proud To Be A Sasak People https://www.dremi.info/articles/im-proud-to-be-a-sasak-people.html https://www.dremi.info/articles/im-proud-to-be-a-sasak-people.html#comments Sun, 09 Nov 2008 04:58:44 +0000 https://www.dremi.info/?p=74 […]]]> I’m Proud To Be A Sasak Child
Walking to a website of the Sasak community community, I found an article that inspires me to continue to improve my creations and works. SASAK.ORG

Walking to a website of the Sasak community community, I found an article that inspires me to continue to improve my creations and works. SASAK.ORG, I have known for a long time, but this is the first time I review 🙂

Dear admin, thanks for creating a Sasak community site. Yep, it is true as in his latest article: “Becoming a Sasak Person” it is concluded that, most of the Sasak children feel ashamed to mention their identity, let alone use “sesapuq” – a term of traditional sasaq clothing, which is used for headbands.

I am proud to be a sasaq child, born from the magical land of Mount Rinjani, who is loyal to Sasak customs. I’m not ashamed to be known as a Sasak child, because Sasak children have the right to go forward and work like most other people. We even have many legends and spiritual stories to be proud of, indicating that the Sasak people are independent, principled, hard in thinking but gentle in doing, chivalrous in spirit and thick with the souls of helping each other 🙂

As long as we “PACU” (sasak expression, meaning Tekun) then we will get results. I proud for:

Gendang Beleq
Presean
Selaparang
Dewi Anjani (Gunung Rinjani)
Mencuri” to married
Ayam Bakar Taliwang
plecing kangung
Wayang Selandir
Tuan Guru Bajang
Nahdlatul Wathan Pancor
and…
Seribu Mesjid 🙂

RAHAYU BANGSE SASAK

]]>
https://www.dremi.info/articles/im-proud-to-be-a-sasak-people.html/feed 4