Arsip untuk ‘komputer’ Kategori

Optimasi Web

8 April 2009

-browsing dulu-
caranya gimana ya … ? Ada ide ?

Compiz : 3D Desktop

6 April 2009

buat temenz di sana. Info ini masih sepotong. Maklum nulisnya keburu-buru. Ntar dilanjutin deh. Yang penting, intinya kebayang.

Compiz itu one of the first compositing window managers for the X Window System that uses 3D graphics hardware to create fast compositing desktop effects for window management. The effects, such as a minimization effect and a cube workspace are implemented as loadable plugins. Because it conforms to the Inter-Client Communication Conventions Manual standard, Compiz can substitute for the default Metacity in GNOME or KWin in KDE.

Instalasinya :
Ada beberapa thread di forum yg membahas ketidakbisaan dalam instalasi Compiz karena keterbatasan hardware VGA card. Makanya mending baca dan install :
http://forlong.blogage.de/entries/pages/Compiz-Check
Compiz-Check is a script to test if Compiz is able to run on your system/setup and if not, it will tell you the reason why. Compiz-check akan mengecek apakah sistem komputermu telah memenuhi syarat agar Compiz berjalan dengan baik. Selain itu, script ini juga membantumu dalam melacak masalah yang Anda hadapi dan membantu memperbaikinya, meski tidak menjamin sepenuhnya lancar.

Sudah OKE ? Waktunya menginstall Compiznya.
http://thegabfather.wordpress.com/2008/05/17/how-to-install-compiz-fusion-in-ubuntu-hardy-heron/
Hasilnya akan tampak submenu di menu System -> Preferences, dengan judul Advanced Desktop Effects Setting. Silakan berkreasi deh dengan fitur-fiturnya.
Ini shortcut  yang bisa dipakai.
http://ulyssesonline.com/2007/10/25/compiz-fusion-keyboard-shortcuts/

Setelah Anda Puas bermaen-maen efek, kerasa deh effeknya : memori banyak kepakai, prosesor jadi kerja lebih keras. Nunggu prosesnya juga bakal makan waktu. Saatnya kita memasang compiz-Switch.
http://forlong.blogage.de/entries/pages/Compiz-Switch
Compiz-Switch is a simple program to switch Compiz off and on easily. If Compiz is running, it will switch to the default window decorator of your desktop environment. If Compiz is not running, it will be launched immediately.

-ntar dirapikan deh, tunggu yak-
sumber :
http://en.wikipedia.org/wiki/Compiz
http://www.compiz-fusion.org/

Animasi 3D Desktop gratisan di windows :
http://shock-4way-3d.uptodown.com/en/
http://www.mydigitallife.info/2007/01/13/enable-3d-desktop-in-windows-xp-95-98-me-and-2000-with-madotate/

Daemon Network Setting

25 Maret 2009

Pre : Unix, Ubuntu and family.
Daemon adalah program yang dijalankan di background. Script yang menggunakan konsep Daemon biasanya memiliki nama file yang diakhiri dengan karakter ‘d’, misal jagad, somad.. upsss httpd, ftpd. Daemon ini dikenal dengan sebutan service jika kita menggunakan windows.

Daemon tidak bekerja sendiri, tetapi bersama runlevel sebagai rekannya. Runlevel adalah mode operasi inisialisasi sistem operasi pada Unix System V-style. Defaultnya ubuntu berjalan pada runlevel 2 (Multi-User Mode). Ketika sistem operasi mulai, program-program daemon akan dipanggil sesuai dengan nilai runlevelnya. Script atau program daemon biasanya disimpan di /etc/init.d. Setiap runlevel menyimpan konfigurasi file-file yang akan dijalankan ketika startup dalam bentuk file link.

Menjalankan program service sesaat :
- sudo /etc/init.d/namaService [start|stop|restart]

Menjalankan daemon
Menjalankan daemon berarti menyisipkan file link ke runlevel.
- update-rc.d namaService defaults
> update-rc.d : install dan remove System-V style init script links
> argumen defaults akan membuat file link pada runlevel 2-5.

Membuang file link daemon
- update-rc.d namaService remove

Mari membuat “roh setan”
Kasus :
Kita membangun jaringan komputer di suatu perusahaan. Jika ternyata komputer PC yang kita pasang itu terdampar di ruangan yang jauh dari peradaban kabel, maka wireless bisa jadi solusi yang “ringan”. Tinggal colok ! Gak perlu tarik kabel sepanjang kereta api. Tut tut tut !
Masalahnya jika terinstall linux, kadang setting network itu bandel tetep mencari koneksi eth0 berupa kabel ethernet. Apalagi usernya masih awam tentang command line di unix. Lengkaplah sudah !!
Maka mending kita buat script yang memanfaatkan si setan ini.

1. Buat script, misal jaringMerah, dengan mode file executable
> chmod +x jaringMerah
> isi dengan :
- ifdown eth0;          # matikan port kabel ethernet
- ifdown wlan0;
- ifconfig wlan0 10.23.129.223 up;
2. simpan di /etc/init.d/
3. lakukan perintah : update-rc.d jaringMerah defaults

Pake Inkscape

6 Januari 2009

Logo InkscapeInkscape adalah aplikasi editor gambar berbasis vektor di Linux. Inkspace mirip aplikasi Corel pada sistem operasi Windows. Yang pasti Inkscape lebih menentramkan karena aplikasi ini legal yang tidak perlu bayar karena berada di bawah payung GNU GPL. Pemakaian Corel Draw X4 yang legal saja perlu duit $ 429 USD, belum lagi aplikasi corel yang lain. Mahal maaakkk…

Memang Inkscape belum selengkap Corel Draw X4 tapi Yakinlah .. banyak komunitas yang bakal menyempurnakan software grafik vektor sejuta umat ini. Contohnya bgini, Inkscape versi terakhir, v0.46, belum ada fitur tabel. Untuk ‘mengakalinya’ … kita simak yang berikut ini.

  (lagi…)

ShortCut Excell

6 Desember 2008

Manipulasi data tidak selalu perlu teknologi bahasa pemrograman. Speadsheet pun bisa menjadi sarana yang dapat diandalkan. Supaya cepat dalam pengolahan data, berikut ini sekilas tentang shortcutnya.

- Kombinasi CTRL -

CTRL+( Unhides any hidden rows within the selection.
CTRL+) Unhides any hidden columns within the selection.
CTRL+& Applies the outline border to the selected cells.
CTRL+_ Removes the outline border from the selected cells.
CTRL+~ Applies the General number format.
CTRL+$ Applies the Currency format with two decimal places (negative numbers in parentheses) .
CTRL+% Applies the Percentage format with no decimal places.
CTRL+^ Applies the Exponential number format with two decimal places.
CTRL+# Applies the Date format with the day, month, and year.
CTRL+@ Applies the Time format with the hour and minute, and AM or PM.
CTRL+! Applies the Number format with two decimal places, thousands separator, and minus sign (-) for negative values.
CTRL+- Displays the Delete dialog box to delete the selected cells.
CTRL+* Selects the current region around the active cell (the data area enclosed by blank rows and blank columns).
In a PivotTable, it selects the entire PivotTable report.

CTRL+: Enters the current time.
CTRL+; Enters the current date.
CTRL+` Alternates between displaying cell values and displaying formulas in the worksheet.
CTRL+’ Copies a formula from the cell above the active cell into the cell or the Formula Bar.
CTRL+” Copies the value from the cell above the active cell into the cell or the Formula Bar.
CTRL++ Displays the Insert dialog box to insert blank cells.
CTRL+1 Displays the Format Cells dialog box.
CTRL+2 Applies or removes bold formatting.
CTRL+3 Applies or removes italic formatting.
CTRL+4 Applies or removes underlining.
CTRL+5 Applies or removes strikethrough.
CTRL+6 Alternates between hiding objects, displaying objects, and displaying placeholders for objects.
CTRL+7 Displays or hides the Standard toolbar.
CTRL+8 Displays or hides the outline symbols.
CTRL+9 Hides the selected rows.
CTRL+0 Hides the selected columns.
CTRL+A Selects the entire worksheet.
If the worksheet contains data, CTRL+A selects the current region. Pressing CTRL+A a second time selects the entire worksheet.

When the insertion point is to the right of a function name in a formula, displays the Function Arguments dialog box.

CTRL+SHIFT+A inserts the argument names and parentheses when the insertion point is to the right of a function name in a formula.
CTRL+B Applies or removes bold formatting.
CTRL+C Copies the selected cells.
CTRL+C followed by another CTRL+C displays the Microsoft Office Clipboard.
CTRL+D Uses the Fill Down command to copy the contents and format of the topmost cell of a selected range into the cells below.
CTRL+F Displays the Find dialog box.
SHIFT+F5 also displays this dialog box, while SHIFT+F4 repeats the last Find action.
CTRL+G Displays the Go To dialog box.
F5 also displays this dialog box.
CTRL+H Displays the Find and Replace dialog box.
CTRL+I Applies or removes italic formatting.
CTRL+K Displays the Insert Hyperlink dialog box for new hyperlinks or the Edit Hyperlink dialog box for selected existing hyperlinks.
CTRL+L Displays the Create List dialog box.
CTRL+N Creates a new, blank file.
CTRL+O Displays the Open dialog box to open or find a file.
CTRL+SHIFT+O selects all cells that contain comments.
CTRL+P Displays the Print dialog box.
CTRL+R Uses the Fill Right command to copy the contents and format of the leftmost cell of a selected range into the cells to the right.
CTRL+S Saves the active file with its current file name, location, and file format.
CTRL+U Applies or removes underlining.
CTRL+V Inserts the contents of the Clipboard at the insertion point and replaces any selection. Available only after you cut or copied an object, text, or cell contents.
CTRL+W Closes the selected workbook window.
CTRL+X Cuts the selected cells.
CTRL+Y Repeats the last command or action, if possible.
CTRL+Z Uses the Undo command to reverse the last command or to delete the last entry you typed.
CTRL+SHIFT+Zuses the Undo or Redo command to reverse or restore the last automatic correction when AutoCorrect Smart Tags are displayed.

- Function keys -

F1 Displays the Help task pane.
CTRL+F1 closes and reopens the current task pane.
ALT+F1 creates a chart of the data in the current range.
ALT+SHIFT+F1 inserts a new worksheet.
F2 Edits the active cell and positions the insertion point at the end of the cell contents. It also moves the insertion point into the Formula Bar when editing in a cell is turned off.
SHIFT+F2 edits a cell comment.
F3 Pastes a defined name into a formula.
SHIFT+F3 displays the Insert Function dialog box.
F4 Repeats the last command or action, if possible.
CTRL+F4 closes the selected workbook window.
F5 Displays the Go To dialog box.
CTRL+F5 restores the window size of the selected workbook window.
F6 Switches to the next pane in a worksheet that has been split (Window menu, Split command).
SHIFT+F6 switches to the previous pane in a worksheet that has been split.
CTRL+F6 switches to the next workbook window when more than one workbook window is open.
Note : When the task pane is visible, F6 and SHIFT+F6 include that pane when switching between panes.
F7 Displays the Spelling dialog box to check spelling in the active worksheet or selected range.
CTRL+F7performs the Move command on the workbook window when it is not maximized. Use the arrow keys to move the window, and when finished press ESC.
F8 Turns extend mode on or off. In extend mode, EXT appears in the status line, and the arrow keys extend the selection.
SHIFT+F8 enables you to add a non-adjacent cell or range to a selection of cells by using the arrow keys.
CTRL+F8 performs the Size command (on the Control menu for the workbook window) when a workbook is not maximized.
ALT+F8 displays the Macro dialog box to run, edit, or delete a macro.
F9 Calculates all worksheets in all open workbooks.
F9 followed by ENTER (or followed by CTRL+SHIFT+ENTER for array formulas) calculates the selected a portion of a formula and replaces the selected portion with the calculated value.
SHIFT+F9 calculates the active worksheet.
CTRL+ALT+F9 calculates all worksheets in all open workbooks, regardless of whether they have changed since the last calculation.
CTRL+ALT+SHIFT+ F9 rechecks dependent formulas, and then calculates all cells in all open workbooks, including cells not marked as needing to be calculated.
CTRL+F9 minimizes a workbook window to an icon.
F10 Selects the menu bar or closes an open menu and submenu at the same time.
SHIFT+F10displays the shortcut menu for a selected item.
ALT+SHIFT+F10 displays the menu or message for a smart tag. If more than one smart tag is present, it switches to the next smart tag and displays its menu or message.
CTRL+F10 maximizes or restores the selected workbook window.
F11 Creates a chart of the data in the current range.
SHIFT+F11 inserts a new worksheet.
ALT+F11 opens the Visual Basic Editor, in which you can create a macro by using Visual Basic for Applications (VBA).
ALT+SHIFT+F11 opens the Microsoft Script Editor, where you can add text, edit HTML tags, and modify any script code.
F12 Displays the Save As dialog box.

- Other useful shortcut keys -

ARROW KEYS Move one cell up, down, left, or right in a worksheet.
CTRL+ARROW KEY moves to the edge of the current data region (data region: A range of cells that contains data and that is bounded by empty cells or datasheet borders.) in a worksheet.
SHIFT+ARROW KEY extends the selection of cells by one cell.
CTRL+SHIFT+ARROW KEY extends the selection of cells to the last nonblank cell in the same column or row as the active cell.
LEFT ARROW or RIGHT ARROW selects the menu to the left or right when a menu is visible. When a submenu is open, these arrow keys switch between the main menu and the submenu.
DOWN ARROW or UP ARROW selects the next or previous command when a menu or submenu is open.
In a dialog box, arrow keys move between options in an open drop-down list, or between options in a group of options.
ALT+DOWN ARROW opens a selected drop-down list.
BACKSPACE Deletes one character to the left in the Formula Bar.
Also clears the content of the active cell.
DELETE Removes the cell contents (data and formulas) from selected cells without affecting cell formats or comments.
In cell editing mode, it deletes the character to the right of the insertion point.
END Moves to the cell in the lower-right corner of the window when SCROLL LOCK is turned on.
Also selects the last command on the menu when a menu or submenu is visible.
CTRL+END moves to the last cell on a worksheet, in the lowest used row of the rightmost used column.
CTRL+SHIFT+END extends the selection of cells to the last used cell on the worksheet (lower-right corner).
ENTER Completes a cell entry from the cell or the Formula Bar, and selects the cell below (by default).
In a data form, it moves to the first field in the next record.
Opens a selected menu (press F10 to activate the menu bar) or performs the action for a selected command.
In a dialog box, it performs the action for the default command button in the dialog box (the button with the bold outline, often the OK button).
ALT+ENTER starts a new line in the same cell.
CTRL+ENTER fills the selected cell range with the current entry.
SHIFT+ENTER completes a cell entry and selects the cell above.

ESC Cancels an entry in the cell or Formula Bar.
It also closes an open menu or submenu, dialog box, or message window.
HOME Moves to the beginning of a row in a worksheet.
Moves to the cell in the upper-left corner of the window when SCROLL LOCK is turned on.
Selects the first command on the menu when a menu or submenu is visible.
CTRL+HOME moves to the beginning of a worksheet.
CTRL+SHIFT+HOME extends the selection of cells to the beginning of the worksheet.
PAGE DOWN Moves one screen down in a worksheet.
ALT+PAGE DOWN moves one screen to the right in a worksheet.
CTRL+PAGE DOWN moves to the next sheet in a workbook.
CTRL+SHIFT+PAGE DOWN selects the current and next sheet in a workbook.
PAGE UP Moves one screen up in a worksheet.
ALT+PAGE UP moves one screen to the left in a worksheet.
CTRL+PAGE UP moves to the previous sheet in a workbook.
CTRL+SHIFT+PAGE UP selects the current and previous sheet in a workbook.
SPACEBAR In a dialog box, performs the action for the selected button, or selects or clears a check box.
CTRL+SPACEBAR selects an entire column in a worksheet.
SHIFT+SPACEBAR selects an entire row in a worksheet.
CTRL+SHIFT+SPACEBAR selects the entire worksheet.

If the worksheet contains data, CTRL+SHIFT+SPACEBAR selects the current region. Pressing CTRL+SHIFT+SPACEBAR a second time selects the entire worksheet.
When an object is selected, CTRL+SHIFT+SPACEBAR selects all objects on a worksheet.
ALT+SPACEBAR displays the Control menu for the Excel window.
TAB Moves one cell to the right in a worksheet.
Moves between unlocked cells in a protected worksheet.
Moves to the next option or option group in a dialog box.
SHIFT+TAB moves to the previous cell in a worksheet or the previous option in a dialog box.
CTRL+TAB switches to the next tab in dialog box.
CTRL+SHIFT+TAB switches to the previous tab in a dialog box.

-tidak diterjemahkan dari it.toolbox. Thanks.-
Kunci-kunci di atas baru dicoba sebagian oleh penulis dan dapat bekerja dengan baik dan benar.

QT

19 November 2008

Aku kudu bersyukur telah dipertemukan orang-orang “gila“. Semangat kegilaan dan kenekatan bisa memicu otak terangsang untuk menikmati sensasi yang fantastis. Ketidakmampuan bagaikan jalan lebar dan terang untuk terus belajar.

Si bos pernah ngomong “Yang masih pake windows, segala sesuatunya gak akan disupport !”. Pengaruhnya, staf keuangan kami pun belajar ubuntu, software developer pun ganti pake open source, Firmware pun migrasi ke uCLinux. Benar-benar sejalan dengan program pemerintah dengan igosnya.

Jadi …. selamat tinggal C++ Builder. Selamat jalan Microsoft Project. Dadah Photoshop. Mari bersahabat dengan QT, OpenProj, gimp. Hidup open source !! hidup GNU !!

Opensource sudah beredar banyak di sekitar kita. Google Earth …. itu salah satu aplikasinya. Google earth dibangun dari aplikasi QT. Aneka Device pun bertebaran menggunakan QT, sebut saja mylo™ personal communicator dari Sony, Royal Philips Electronics, bury in-car navigation (GPS) system.
googleearth.

Jadi apa yang perlu ditunggu ? Makin cepet migrasi, makin menentramkan hati.
Qt is a cross-platform application framework. Using Qt, you can develop applications and user interfaces once, and deploy them across many desktop and embedded operating systems without rewriting the source code.

ReliaBuilder

26 Oktober 2008

Jika masuk ke jajaran manajemen perusahaan, Anda bakal ketemu dengan manajemen 5M (Kata pak Rahmat Kentarjo Bahrun, itu bukan molimo :D ). 5 M itu terdiri dari man, machine, material, method and money. Setiap pekerjaan sudah pasti perlu man/tenaga kerja buat mengatur, menjalankan sesuatu. Ini dunia nyata dan ilmiah bung, belum ada cerita jin dan tuyul mbongkar mesin yang rusak. Barusan mesin disinggung. Perkakas ini jadi objek yang dikerjakan manusia. Barangnya bisa macem-macem, bisa segede hape atau sekecil kandang gajah, seperti pompa, kompresor, turbin dll. Misalkan motor di pompa ada yang rusak, sparepart material di gudang ini yang jadi andalan. Kalau ternyata di repository gak ada ? Beli. Klo gak ada duit ? Ya diperbaiki. Lha ini perlu metode tertentu untuk menentukan tindak lanjut dari kerusakan atau kegagalan fungsi alat, beli baru? dirawat PM? PdM?. Toh ujung-ujungnya ada di duit and money.

Optimasi komponen-komponen itu bisa dilakukan dengan teknik RCM (Reliability Centered Management). RCM akan memetakan perkakas berdasarkan kritikalitasnya. Semakin tinggi kekritisannya, semakin banyak usaha, waktu dan duit yang dikeluarkan untuk menjaga perkakas itu tetep berjalan baik. Kalau gak penting dan murah, yaah biarin saja sampai rusak, ntar tinggal beli baru dan pasang. Ya kan ?

Software yang bisa digunakan dalam mendokumentasikan analisa FMEA (Failure mode and Effect Analysis) dari RCM ini bisa dari ReliaBuilder, xfmea reliasoft. Dan client kami menggunakan aplikasi reliabuilder ini.

Jujur ,,, menurut saya mending Anda tidak menggunakan reliabuilder. MEREPOTKAN!!!. 1. Instalasi yang tidak mulus. Sampai sekarang, client kami masi belum bisa mengoptimalkan software yang dibelinya dengan LEGAL. (what a pity). 2. Fitur-fitur yang tidak user-friendly. Perkakas yang dipakai perusahaan bisa sejenis dan jumlahnya banyak. Duplikasi yang tidak lengkap ini menambah penderitaan user yang entry data. (nangis .. nangis dah). 3. Karena instalasi yang tidak mulus itu kita mencoba membongkar databasenya saja, sedang aplikasinya bisa dibuat kemudian. Lha ko ada enkripsi di fieldnya. Oh tidaaaak !!!

backup dan restore database SQL

16 September 2008

backup :
perintah buat mengkopi semua tabel dan datanya menjadi file *.sql :
mysqldump -u namausernamemu -p namadatabasemu > namaFilemu.sql

restore:
buat dulu judul database tujuan dengan cara :
- masuk ke sql browser, atau via cmd : create database namadatabasemu
Kalo sudah eksekusi command berikut :
mysql -u root -p[password] databasetujuan < namaFilemu.sql

Cookie

10 September 2008

Cookie dikenal di dunia browser. Variabel ini akan menyimpan sejumlah data dari server web ke dalam komputer kita. Ambil contoh, di website friendster, kita bisa tahu kapan terakhir kita mengunjungi situs itu. Atau web mail.yahoo akan otomatis login jika kurang dari 2 minggu kita sudah masuk.

Defaultnya, cookie akan diaktifkan ketika software browser diinstall. Cookie harus disetting manual oleh user sehingga tidak ada intervensi dari software/web luar untuk mengintervensi dalam memberikan hak akses cookie. Javascript sebagai script client-side pun tidak ada fungsi yang bisa mengaktifkan cookie. Apa yang terjadi ketika kita menonaktifkan cookie? Mail.yahoo bakalan menolak memberikan hak akses ke kita untuk bisa membaca email, dan akan mempersembahkan halaman petunjuk tentang cookie. Friendster akan diam saja meskipun user id dan password yang kita berikan kita tepat perfecto.

Manual mengaktifkan cookie di Mozilla Firefox, IE, Netscape, Mac IE, AOL, bisa dibaca di cudenver. Aktivasi Opera bisa dilihat di timeanddate.

Seberapa penting cookie ini ?
Ketika Anda melakukan internet banking, bisa jadi ada data-data yang tersimpan di komputer. Cyber crook akan mengintai anda yang kaya raya sugih mblegedug, apalagi yang mendapatkannya dengan cara-cara tidak sopan. Hati-hati !!! Jika anda lengah, cookie Anda bisa disedot dan tabungan bisa ludes.

array multidimensi dinamis

8 September 2008

Array multidinamis bukan hal yang baru untuk programmer. Hanya saja, di bahasa php ini bahasan ini perlu dirinci lebih detail karena php rada “unik” dibanding bahasa pemgrograman laen yang mengenal bentuk struct, seperti di bahasa c. Banyak tutorial di internet yang memberikan contoh array yang statis. Tulisan ini hanya buat ngingetin ketika saya lupa syntax array dinamis. Syarat bagi pembaca : sudah mengerti dasar-dasar PHP. hehehe …

Array multidimensional itu array di dalam array, mirip seperti matrik. Ambil contoh, kita akan membuat array dept. Pada setiap nilai dept, terdapat array isi (array asosiasi) yang terdiri dari elemen id_dept, nama dan id_pers.

inisialisasi
cukup dengan : $dept = array();
PHP itu bahasa yang unik karena inisialisasi variable tidak perlu dideklarasikan tipe variabelnya. Apapun masuk .. sooookkk. Mangga, mau ineteger, string, karakter.

deklarasi
$isi=array(“id_dep”=>$iddp,”nama”=>$nama,”id_pers”=>$idpr);
array_push($dept, $isi);

Fungsi array_push() akan menambahkan array secara otomatis pada index terakhir.
Untuk menghitung jumlah array bisa menggunakan fungsi count($dept).
Untuk asignment nilai elemen nama dapat menggunakan syntax :
$nilai = $dept[$n]["nama"]; dengan n adalah index dari array.

Dari banyak referensi yang tersebar di google, memang tutorial dari sumber ini memang jos gandos, lengkap dan detail.

  • http://id2.php.net
  • http://www.w3schools.com