Pages

Subscribe:

Ads 468x60px

5/1/13

How to know that you have installed a program on OS X

Since I used Puro,  my MacBook, I get tangled with some app that I don't know wether I have installed it or not. Well, lucky I find some way which is simple yet helpful.
First, check it in your Application folder or you may use "Command+space" then type your apps. If you had installed it, you might have found it.


Second, use terminal, type "which apps_name", it will shows path where you installed it.

bash-3.2# which wget
/usr/local/bin/wget
bash-3.2#

Actually there are another tools like "locate" and "mdfind". But, I can't use locate, there's some errors.

2/27/13

Thank you.. Thank you… Thank you…. O(≧▽≦)O

Well, i never realised it before til today my friend talk about his blog and help me to find this..


Feel so grateful that the truth is my blog ever being seen by others, and especially from foreign country. Wish i could post more and help more.. Thank you for visiting my blog.



゚☆,。・:*:・゚★o(´▽`*)/♪Thank You♪(*´▽`)o゚★,。・:*:・☆゚

-bash: : command not found SOLVED!

Well, i just a novice at OS X and doing some installation of Android *it should be easy. I followed this tutorial, "how-to-install-the-android-sdk-onto-apples-os-x-lion" but i don't Unzip it and deposit it into your home directory (~/). Instead, i unzip it at /Volumes/Data/Android/android-sdk-macosx and unfortunately i change my environment variable on .bash_profile, which is the source of my bash error now.
Last login: Wed Feb 27 10:14:02 on ttys000
Marias-MacBook-Pro:~ mariabina07$ sudo bash
-bash: sudo: command not found
Marias-MacBook-Pro:~ mariabina07$ ls
-bash: ls: command not found
Marias-MacBook-Pro:~ mariabina07$ 

I got that kind of error for a basic command, i scare myself to death!! Fortunately, i found this http://stackoverflow.com/questions/8910783/sudo-wont-work-after-change-mistake-in-path-env. I followed it and finally i can run my android now.
Marias-MacBook-Pro:~ mariabina07$ PATH=$PATH:/usr/bin
Marias-MacBook-Pro:~ mariabina07$ export "PATH=$PATH:/usr/local/bin"
Marias-MacBook-Pro:~ mariabina07$ sudo bash
Password:sudo: bash: command not found
Marias-MacBook-Pro:~ mariabina07$ android 
But, it got back to the first problem when i open a new terminal and still i can't be root sudo: bash: command not found. it does shock me to death!!! Finally i end up with fill nothing on .bash_profile, and "android" can't recognised again. 
But now i started from scratch followed this :  setting-android-and-path-environment-variables-on-mac-os-x, from here i know that the setting of environment path is on .profile. And this is a good explanation about environment variable os_x_change_path_environment_variable

12/17/12

Install Joomla 2.5

Yaaayy... this time, i learnt new engine to develop a website named Joomla!. There's new version for Joomla, but this time i'll install Jooma version 2.5.6.

  • Create database named 'joomla'

12/12/12

VMware Fusion Instalation

Well, since i used mac on lab and MacBook Pro at home, so i need this helpful apps to use my irreplaceable windows apps. Hahahha.. So, download VMware Fusion .dmg from http://www.vmware.com/products/fusion/overview.html and get the fifth version for Mountain Lion. And install it as usual, now the fun part begin.

Add new Virtual OS, the one i used is Windows 7. Create it's  image file (.iso) use Disk Utility.

Making of .iso in Mac.

12/10/12

Connecting Oracle with VB

This tutorial is made to remind me how to connect oracle with Visual Basic, since next week is midterm test....  (╯°□°)╯︵ ┻━┻

The first step is, create the table, for this i create table named Pegawai. Make a connection between oracle and VB with Oracle Net Manager, click green plus icon on the left. And follow this instruction, Connect2Oracle is the name for the connection i create.

12/7/12

Internet Setting

So simple, yet sometimes(too many times (_ _")└(>o< )┘) just forget it and wonder how to do it. Well, now i use MacBook Pro for OS X and VMware Fusion for windows and the ethernet card for internet connection. 

When i am on OS X mode, it easy to connect, just plug in the cable, set the proxy on Setting Preference --> Network --> Ethernet --> Advance