• Home
  • Genetik
  • Google
  • Links
  • About
  • Yohan Naftali

    Substitute TTF Font on Epson TM-U220 Receipt Printer

    Feb. 12, 2011

    I found it’s tricky in printing Epson’s receipt printer font (TM-U220) on web browser point of sale application, CSS does not allowed me to access Epson’s receipt printer font. All you need to do is setting font substitution in printing preferences.

    1. Open Control Panel to access Printers
    2. On Epson’s Receipt Printer do right click then select Printing Preferences
    3. Select Tab Printer Settings
    4. On True Type Font Substitution choose Substitute options
    5. Click Advanced Setting to configure font substitution, or simply choose substitute all
    6. Choose Machine Font that you like (e.g FontB)
    7. Test Print and do trial and error ’till you get what you want

    These steps are my best solution so far, do you have better/simple solutions to printing using machine Receipt Printer on web based Point of Sale applications? Tell me.


    Share on Facebook Delicious Bookmark this on Delicious

    How to Disable Print Dialog on Firefox Browser

    Feb. 12, 2011

    Annoying with print dialog?
    Need to disable print dialog on your controlled environment?
    Need to disable print dialog on your web based Point of Sale (POS) applications (e.g phppointofsale)?
    Need to disable print dialog on your web based ticket printing applications?

    1. Type about:config on address bar
    2. Choose to promise
    3. Right clicik and create new boolean
      “print.always_print_silent = true”
      “print.show_print_progress = false”

    Done

    Note: Make sure to set default printer to your desired printer and all parameter already configured


    Share on Facebook Delicious Bookmark this on Delicious

    Konsep Pemrograman MVC (Model View Controller)

    Feb. 02, 2011

    MVC adalah sebuah bentuk pemrograman yang memisahkan berdasarkan logika penanganan tampilan, logika pengontrolan dan logika model. MVC bertujuan supaya pada pengembangan perangkat lunak yang besar mudah untuk dilakukan maintenance (perbaikan/penambahan atau pengurangan code).

    Model adalah komponen yang berfungsi mengambil data dari database/sumber data. Fungsi yang terdapat dalam Model akan dipanggil oleh Controller.

    View adalah komponen yang berfungsi menyajikan tampilan kepada user. View menampilkan data yang diperoleh Controller.

    Controller adalah komponen yang berfungsi untuk memanggil fungsi yang ada di dalam Model dan mengirim hasilnya melalui View, Controller juga berfungsi mengambil input dari user yang selanjutnya akan diolah oleh Model.

    Model adalah komponen yang berfungsi mengambil data dari database/sumber data. Fungsi yang terdapat dalam Model akan dipanggil oleh Controller.


    Share on Facebook Delicious Bookmark this on Delicious

    Tips iPhone4 FU

    Dec. 31, 2010

    Memunculkan daftar applikasi yang sedang running (task manager)

    1. Tekan dua kali tombol home
    2. Sapu ke kanan/ke kiri untuk melihat applikasi lainnya
    3. Untuk menghentikan applikasi (kill) dengan cara tahan icon applikasi sampai applikasi bergoyang-goyang, lalu tekan tanda (-) pada applikasi yang ingin dihentikan
    4. Untuk kembali, tekan lagi tombol home

    Screen Capture di iPhone:

    1. Tekan dan tahan tombol home, kemudian tekan tombol power.
    2. Lihat hasil capture di Photos

    Menyimpan SHSH

    1. Download TinyUmbrella
    2. Jalankan TinyUmbrella
    3. Connect iPhone 4 ke PC menggunakan kabel USB
    4. Pilih Save SHSH
    5. File SHSH tersimpan di:
        MAC

      • /Users//.shsh
        misal: /Users/namaanda/.shsh
        WINDOWS XP

      • :\Documents and Settings\\.shsh
        misal: C:\Documents and Settings\namaanda\.shsh
        WINDOWS 7

      • :\Users\\.shsh
        misal: C:\Users\namaanda\.shsh

    Masuk ke Field Test Mode

    1. Phone – Ketik *3001#12345#* lalu tap Call
      Field Mode terdiri dari menu

      • MM Info
      • UMTS Cell Environment
      • GSM Cell Environment
      • PDP Context List

    Cek IMEI

    1. Phone – Ketik *#06#

    Telepon Gratis ke Sesama Pengguna Skype

    1. Install Skype Application dari App Store
    2. Register, testing dan anda telah siap menggunakan skype


    Gagal Update/restore ke IOS 4.2.1 menggunakan iTunes

    1. Jalankan Notepad (Pengguna Vista/Win7 klik kanan – run as Administrator
    2. Ubah File of type menjadi All Files (*.*)
    3. Buka File hosts yang terletak di direktori C:\Windows\System32\drivers\etc
    4. Hapus baris yang memuat host gs.apple.com
    5. Simpan
    6. Ulangi lagi proses restore

    IPhone 4 dengan IOS 4.2.1 jailbreaked stuck di logo Apple? Jangan panik, berikut adalah solusinya:

    1. Jalankan RedSn0w 0.9.6b4 atau yang lebih baru
    2. Klik Browse lalu pilih file iPhone3,1_4.2.1_8C148_Restore.ipsw, OK, klik Next
    3. Pilih opsi “Just Boot Tethered Right Now”, klik Next
    4. Ikuti perintah untuk masuk ke DFU, yaitu menekan tombol power, kemudian tombol home (tanpa melepas tombol power), diakhiri dengan melepas tombol power (ikuti perintah yang muncul, kalau gagal klik back lalu klik next lagi)
    5. Tunggu sampai booting selesai

    Jailbreak iPhone4 FU Telkomsel IOS 4.2.1 dengan RedSnow

    1. Download Redsnow terbaru dari redmondpie
    2. Download Firmware iPhone3,1_4.2.1_8C148_Restore.ipsw
    3. Jalankan Redsnow (pada windows vista/seven gunakan compatibility mode)
    4. Pilih Install Cydia Option
    5. Ikuti Langkah sampai selesai
    6. Setelah Cydia Terinstall, jalankan redsnow sekali lagi untuk booting tethered

    Sumber Bacaan:
    Redsnow


    Share on Facebook Delicious Bookmark this on Delicious

    Shortcut Pengaturan Windows 7

    Nov. 21, 2010

    Bingung dengan pengaturan Windows 7? Ada cara mudah untuk membuat shortcut yang dapat mengakses ke seluruh pengaturan sistem operasi Windows 7.

    Langkah:

    1. Buat folder baru
    2. Rename Folder dengan: WinSettings.{ED7BA470-8E54-465E-825C-99712043E01C}

    Setelah merename Folder tersebut, akan berubah menjadi icon yang berisi daftar pengaturan seperti Action Center, Administrative Tools, Auto Play, Back Up and Restore, Color Management, Credential Management, Date and Time, Default Programs, Desktop Gadgets, Device Manager, Devices and Printers, Display,  Ease of Access Center, Folder Options, Fonts, Getting Started, Home Group, Indexing Options, Internet Options, Keyboard, Location and Other Sensors, Mouse, Network and Sharing Center, Notification Area Icons, Parental Controls, Personalization, Phone and Modem, Power Options, Program and Features, Recovery, Region and Language, RemoteApp and Desktop Connections, Sound, Speech Recognitions, Sync Center, System, Taskbar and Start Menu, Troubleshooting, User Accounts, Windows Anytime Upgrade, Windows CardSpace, Windows Defender, Windows Firewall, Windows Mobility Center, Windows Update.

    Nama WinSettings dapat anda ubah sesuai dengan keinginan anda.


    Share on Facebook Delicious Bookmark this on Delicious

    Menggunakan Anchor dengan image pada CodeIgnitier

    Sep. 15, 2010

    HTML :

    <a href=”http://urltujuan.html”><img src=”/images/image.gif” style=”border: 0px”></a>

    CodeIgniter:

    Load html helper untuk menggunakan fungsi img()
    <?php $this->load->helper(‘html’);?>

    Gunakan fungsi img()
    <?php echo anchor(“http://urltujuan.html”, img(array(‘src’=>’../images/image.gif’,'style’=>’border:0px’))); ?>


    Share on Facebook Delicious Bookmark this on Delicious

    Sebelum Terjun Full di Pasar Saham, Coba baca ini…

    Jun. 25, 2010

    Taken from http://cerit4lucu.wordpress.com/2010/06/24/sebelum-terjun-full-di-pasar-saham-coba-baca-ini/

    Suatu hari di sebuah desa di bali,
    seorang yg kaya raya mngumumkan akan membeli monyet dgn harga Rp.100rb per ekornya.
    Para penduduk desa yang menyadari bahwa banyak monyet disekitar desa pun mulai masuk hutan dan menangkapinya.

    Si orang kaya membeli ribuan ekor monyet dgn hrg 100rb rupiah, krnnya monyet semakin sulit dicari, penduduk desa pun menghentikan usaha menangkapi monyet.
    Maka si orang kaya pun sekali lagi mengumumkan akan membeli monyet dengan harga 200rb rupiah per ekor. Tentu saja hal ini memberi semangat baru bagi penduduk desa untuk mulai menangkapi monyet lagi. Tak berapa lama, jumlah monyet pun semakin sedikit dan semakin sulit dicari dan penduduk pun kembali bertani. Hrg monyet pun merambat naik hingga 250rb namun monyet sdh sangat sulit dicari..

    Sekali lagi si orang kaya mengumumkan akan membeli monyet dengan harga 500rb rupiah per ekor..!

    Namun, karena si orang kaya harus pergi ke kota kareba urusan bisnis, asisten-nya akan menggantikannya atas namanya. Dgn tiada kehadiran si orang kaya, si asisten pun berkata pada penduduk desa: “Lihatlah monyet2 yang ada di kurungan besar yang dikumpulkan oleh si orang kaya itu. Saya akan menjual monyet2 itu kepada kalian dengan harga 350rb per ekor dan saat si orang kaya kembali, kalian bisa menjualnya kembali ke si orang kaya dengan harga 500rb rupiah! Bagaimana?”

    Akhirnya, penduduk desa pun mengumpulkan uang simpanan mereka dan membeli semua monyet yang ada di kurungan.

    Namun… kemudian, mereka tak pernah lagi melihat si orang kaya maupun si asisten..!

    Selamat datang di Bursa Saham! 


    Share on Facebook Delicious Bookmark this on Delicious

    Marketiva (mengais dolar lewat internet)

    Jun. 03, 2010

    Oleh: Yohan Naftali

    Perhatian: Artikel ini bukan merupakan promosi mengenai Marketiva, artikel ini hanya menjelaskan mengenai marketiva sesuai dengan pengalaman dan informasi yang penulis tahu. Pembaca harap mencari rujukan lain mengenai Marketiva untuk mendapatkan informasi yang lebih akurat. Penulis memperingatkan pembaca untuk berhati-hati dalam melakukan transaksi di Internet yang legalitasnya di Negara Republik Indonesia tidak ada atau tidak diketahui.

    Banyak peluang mengais dolar lewat internet, misalnya memasang iklan adsense pada web anda dengan harapan ada pembaca blog/web anda yang meng-klik iklan adsense sehingga anda mendapatkan imbalan dari Google. Cara lain adalah dengan meng-klik iklan untuk mendapatkan bayaran (click to pay), melakukan trading valuta asing dan saham di Internet. Pengguna internet harus waspada karena banyak dari situs yang menawarkan bayaran tersebut merupakan scam.

    Melakukan Trading secara online merupakan salah satu opsi mendapatkan dolar melalui internet. Salah satu situs yang menyediakan sarana untuk melakukan trading adalah Marketiva (http://www.marketiva.com).

    Marketiva menawarkan sarana transaksi jual beli valas, funds, indexes dan komoditi secara online. Marketiva didirikan pada tahun 2005. Marketiva MM DOO berlokasi di Bulevar Ivana Crnojevića 107, Podgorica 81000, Montenegro. Republik Montenegro (bahasa Serbia/bahasa Montenegro: Црна Гора / Crna Gora, dilafalkan /’t͡sr̩naː ‘ɡɔra/, berarti “gunung hitam”) adalah sebuah negara yang terletak di Eropa Selatan. Tepatnya berada di negara Balkan dan berbatasan dengan Laut Adriatik di selatan, Kroasia di barat, Bosnia dan Herzegovina dan Serbia di utara, dan Albania di selatan. Sebagai ibukota negara adalah Podgorica. Secara internasional, Republik Montenegro berbatasan dengan Kroasia, Bosnia dan Herzegovina (Republik Srpska), dan Albania. Dalam Persatuan Negara Serbia dan Montenegro, Republik Montenegro berbatasan dengan Serbia (termasuk provinsi selatan Serbia, Kosovo dan Metohia).

    Legalitas
    Marketiva MM DOO merupakan perseroan terbatas di negara Republic of Montenegro dengan nomor registrasi 5-0557722. Tidak jelas disebutkan nama orang yang mendirikan Marketiva. Bila ditanyakan ke support juga tidak bisa menjawab hanya disebutkan untuk mengunjungi halaman about us di http://www.marketiva.com/index.ncre?page=about. Marketiva telah memiliki support berbahasa Indonesia akan tetapi Legalitas/badan hukum di Indonesia masih belum ada/tidak jelas.

    Risiko
    Sebelum memulai trading, Marketiva memberikan informasi mengenai risiko yang dapat terjadi. Calon Trader wajib memahami segala risiko yang dapat terjadi sehingga benar-benar paham mengenai trading.

    1. COMMON RISKS
    1.1. General Investment Risk
    1.2. Electronic Trading
    1.3. Suspension or Restriction of Trading and Pricing Relationships
    1.4. Off-Exchange Transactions
    1.5. Transactions in Foreign Jurisdictions
    1.6. Deposited Cash and Property
    1.7. Terms and Conditions of Contracts
    1.8. Commission and Other Charges
    1.9. Currency Risks
    1.10. Trading Facilities
    1.11. Trading Strategies and Signals
    2. FOREX-SPECIFIC RISKS
    2.1. Sophisticated High-Risk Trading
    2.2. Effect of “Leverage” or “Gearing”
    2.3. Risk-Reducing Orders or Strategies
    3. FUNDS-SPECIFIC RISKS
    3.1. Fund May Lose Value
    3.2. Interest Rate Risk
    3.3. Credit Risk
    3.4. Foreign Exchange Risk and Hedging
    3.5. Futures and Options in Funds
    3.6. Emerging Markets
    3.7. Sector Risk
    3.8. Small Capitalization
    3.9. Non-Investment Grade Debt
    4. INDEXES AND COMMODITIES-SPECIFIC RISKS
    4.1. High-Risk, Leverage and Risk-Reducing
    4.2. After-Hours Trading
    Selengkapnya baca di http://www.marketiva.com/index.ncre?page=risk-disclosure

    Keuntungan Marketiva

    1. Bonus $5 pada saat pembukaan akun baru
    2. Tidak ada biaya bunga
    3. Software Stremster tidak dikenakan biaya
    4. Customer Service/Support berbahasa Indonesia

    Kekurangan Marketiva

    1. Legalitas di Indonesia tidak diketahui
    2. Tidak ada no telepon yang bisa dihubungi
    3. Marketiva tidak memiliki account bank lokal
    4. Tidak dapat transaksi menggunakan paypal
    5. Transaksi menggunakan perantara yang dikenakan biaya dan kurs yang mahal

    Mendaftar di Marketiva
    Pendaftaran di Marketiva tidak dikenakan biaya. Pendaftar baru diberikan bonus $5 live forex (dapat digunakan untuk trading secara live) dan $10.000 virtual forex (mata uang virtual hanya untuk latihan/kompetisi saja).
    Langkah-langkah mendaftar Marketiva

    1. Buka situs http://www.marketiva.com
    2. Pilih Open Account
    3. Isi data sesuai dengan form yang ada, tanda * harus diisi, tanpa tanda * bisa tidak diisi, setelah diisi, pilih continue
    4. Buat recovery question dan recovery answer, kemudian pilih next
    5. Baca syarat dan ketentuan, bila anda menyetujuinya beri tanda centang, lalu klik Finish
    6. Download dan simpan Installer Streamcaster

    Trading

    Indikator Analisis Teknikal

    Deposit Dana
    Ada 4 Cara melakukan deposit dana ke account marketiva

    1. Deposit menggunakan Wire Transfer
    2. Deposit menggunakan WebMoney
    3. Deposit menggunakan Liberty Reserve
    4. Deposit menggunakan E-Dinar

    Menarik Dana
    Ada 4 Cara untuk menarik dana dari account marketiva

    1. Deposit menggunakan Wire Transfer
      Biaya Transaksi = $14 untuk setiap transaksi
    2. Deposit menggunakan WebMoney
      Biaya Transaksi = $7 dikenakan hanya satu kali
    3. Deposit menggunakan Liberty Reserve
      Biaya Transaksi = $7 dikenakan hanya satu kali
      Ditambah biaya transfer yang dikenakan Liberty Reserve sebesar 1% dengan minimum biaya transfer $0.01 dan maksimum biaya transfer $2.99
      Biaya di atas masih ditambahkan lagi biaya/kerugian konversi mata uang dari exchanger
    4. Deposit menggunakan E-Dinar
      Biaya Transaksi = $7 dikenakan hanya satu kali

    Share on Facebook Delicious Bookmark this on Delicious

    Apple iPad

    Jan. 29, 2010

    Apple iPad

    All of the built-in apps on iPad were designed from the ground up to take advantage of the large Multi-Touch screen. And they work in any orientation. So you can do things with these apps that you can’t do on any other device.

    Safari

    The large Multi-Touch screen on iPad lets you see web pages as they were meant to be seen — one page at a time. With vibrant color and sharp text. So whether you’re looking at a page in portrait or landscape, you can see everything at a size that’s actually readable. And with iPad, navigating the web has never been easier or more intuitive. Because you use the most natural pointing device there is: your finger. Scroll through a page just by flicking your finger up or down on the screen. Or pinch to zoom in or out on a photo. There’s also a thumbnail view that shows all your open pages in a grid, to let you quickly move from one page to the next.

    Mail

    See and touch your email in ways you never could before. In landscape, you get a split-screen view showing both an opened email and the messages in your inbox. To see the opened email by itself, turn iPad to portrait, and the email automatically rotates and fills the screen. No matter which orientation you use, you can scroll through your mail, compose a new email using the large, onscreen keyboard, or delete messages with nothing more than a tap and a flick. If someone emails you a photo, you can see it right in the message. You can also save the photos in an email directly to the built-in Photos app. And iPad works with all the most popular email providers, including MobileMe, Yahoo! Mail, Gmail, Hotmail, and AOL.

    Photos

    With its crisp, vibrant display and unique software features, iPad is an extraordinary way to enjoy and share your photos. For example, the Photos app displays the photos in an album as though they were in a stack. Just tap the stack, and the whole album opens up. From there, you can flip through your pictures, zoom in or out, or watch a slideshow. You can even use your iPad as a beautiful digital photo frame while it’s is docked or charging. And there are lots of ways to import photos: You can sync them from your computer, download them from an email, or import them directly from your camera using the optional Camera Connection Kit.

    Video

    The large, high-resolution screen makes iPad perfect for watching any kind of video: from HD movies and TV shows to podcasts and music videos. Switch between widescreen and full screen with a double-tap. Because iPad is essentially one big screen, with no distracting keypad or buttons, you feel completely immersed in whatever you’re watching.

    YouTube

    The YouTube app organizes videos so they’re easy to see and navigate. To watch one, just tap it. When you’re watching in landscape, the video automatically plays in full screen. And with its high-resolution display, iPad makes the latest HD YouTube videos look positively amazing.

    iPod

    With the iPod app, all your music is literally at your fingertips. Browse by album, song, artist, or genre with a simple flick. To play a song, just tap it. iPad even displays album art at full size. Listen to your music with the powerful built-in speaker or with wired or Bluetooth wireless headphones.

    iTunes

    A tap of the iTunes store icon lets you browse and buy music, TV shows, and podcasts — or buy and rent movies — wirelessly, right from your iPad. Choose from thousands of movies and TV shows (in both standard and high definition), along with thousands of podcasts and millions of songs. Preview songs before you buy them. Or just sync iPad with the content you already have in your iTunes library on your Mac or PC.

    App Store

    iPad runs almost 140,000 apps from the App Store. Everything from games to business apps and more. And new apps designed specially for iPad are highlighted, so you can easily find the ones that take full advantage of its features. Just tap the App Store icon on the screen to browse, buy, and download apps wirelessly, right to the iPad.

    iBooks

    The iBooks app is a great new way to read and buy books.* Download the free app from the App Store and buy everything from classics to best sellers from the built-in iBookstore. Once you’ve bought a book, it’s displayed on your Bookshelf. Just tap it to start reading. The high-resolution, LED-backlit screen displays everything in sharp, rich color, so it’s easy to read, even in low light.

    Maps

    See more of the world with high-resolution satellite and street view images. Even see topography with the new terrain view. You can also search for a nearby business type (“Restaurant,” for example), then tap the business to see the route and directions from your current location.

    Notes

    With its expansive display and large, onscreen keyboard, iPad makes jotting down notes easy. In landscape view, you see not only a note-taking page but a list of all your notes. iPad even circles the current note in red, so you can see where you are at a glance.

    Calendar

    iPad makes it easy to stay on schedule by displaying day, week, month, or list views of your calendar. You can see an overview of a whole month or the details of a single day. iPad even shows multiple calendars at once, so you can manage work and family schedules at the same time.

    Contacts

    The Contacts app on iPad makes finding names, numbers, and other important information quicker and easier than ever before. A new view lets you see both your complete contacts list and a single contact simultaneously. Need directions? Tap an address inside a contact and iPad automatically opens Maps.

    Home Screen

    The Home Screen gives you one-tap access to everything on iPad. You can customize your Home Screen by adding your favorite apps and websites or using your own photos as the background. And you can move apps around to arrange them in any order you want.

    Spotlight Search

    Spotlight Search allows you to search across iPad and all of its built-in apps, including Mail, Contacts, Calendar, iPod, and Notes. It even searches apps you’ve downloaded from the App Store. So no matter what you’re looking for, it’s never more than a few taps away.

    Price 16GB 32GB 64GB
    Wi-Fi $499 $599 $699
    Wi-Fi + 3G $629 $729 $829

    Share on Facebook Delicious Bookmark this on Delicious

    Air-Propelled Bike

    Jan. 06, 2010

    In one TV programme I saw an air compressed driven motor to propel a bike. This technology offers new alternative cleaner energy for transportation. It’s was Jem who has Big Idea…An Air-Propelled Bike.

    Eco-Engineers Dick Strawbridge And Jem Stansfield Aim To Fulfil A Dream. But First They Must Test The Potential Danger Of Compressed Gas So They Build A Contraption From A Pair Of Giant Bolt Cutters.

    Jem Stansfield Eco-Engineer Puts A “Rocket Up His Bottom” In The Form Of An Air-Powered Bike. All In The Aid Of Science.

    airbike

    On above picture, Jem took carbon-fiber air tanks that are usually used by firefighters as part of their breathing equipment and connected them to two rotary air engines that drive the rear wheel. One of the benefits of using compressed air over batteries is that you can recharge in a few seconds. Of course, the compressor works on electricity, so that’s not always a clean power source. But even if your local utility uses coal, if you recharge at night or off peak, chances are you are using power that would be wasted otherwise because coal power plants take too long to shut down and restart, so they are often kept producing at night. But it is with a clean electricity source for the compressor that the air-powered motorcycle becomes a truly green ride. (www.treehugger.com)

    jem

    Specifications for Jem’s Air-Powered Motorcycle
    Top speed is 18 mph (29 kph), range is 7 miles (11.2 kilometers) between compressed air fill ups.

    I wonder, when will air-propelled bike being mass produced.

    Reference:
    Air Propelled Bike
    Planet Mechanics
    Air-Powered Motorcycle DIY Moped


    Share on Facebook Delicious Bookmark this on Delicious