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

    Technology

    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

    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

    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

    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

    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

    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

    Blackberry Messenger 5.0.0.56

    Dec. 18, 2009

    Official Blackberry Messenger 5.0.0.56:OTA Download


    Share on Facebook

    Blackberry Messenger 5.0.0.55

    Dec. 15, 2009

    Update Blackberry Messenger 5.0.0.55

    Download OTA


    Share on Facebook

    Ubertwitter v 0.932 for blackberry

    Dec. 02, 2009

    Limited beta ubertwitter v0.932

    Download
    4.5 OTA download

    4.6 OTA download

    4.7 OTA download


    Share on Facebook

    Leaked OS 5.0.0.348 for the BlackBerry Bold 9000

    Nov. 12, 2009

    ‎​
    Download OS 5.0.0.348 for the BlackBerry Bold 9000

    download


    Share on Facebook