YouTube Autoplay

Terakhir diperbaharui: Rabu, 30 November 2016 pukul 07:22

*Update as it turns out, autoplay cannot be done on iOS devices (iPhone, iPad, iPod touch) and Android, because of the high amout of traffic you can use on mobile networks.

Tentunya sudah banyak yang melakukan embed video dari YouTube untuk di pasang di blog atau website yang dimiliki. Dan terkadang, untuk kebutuhan tertentu, kita menginginkan agar ketika halaman yang ada video YouTube tersebut bisa diputar secara otomatis, tanpa perlu kita untuk klik play pada video player YouTube tersebut.

Buka pada halaman video di YouTube yang ingin di embed atau yang ingin di pasang pada blog atau website. Kemudian klik share dan klik tab Embed.


Kode standar yang diberikan oleh YouTube adalah:

<iframe width="560" height="315" src="" frameborder="0" allowfullscreen></iframe>

Agar video tersebut autoplay (diputar secara otomatis), cukup menambahkan kode dibawah ini pada kode videonya.


Sehingga, kalau diterapkan pada kode video YouTube yang kita inginkan agar diputar secara otomatis adalah:

<iframe width="560" height="315" src="" frameborder="0" allowfullscreen></iframe>

Baiklah, saya coba url video diatas untuk diembed pada halaman dibawah ini.


macOS: Show Hide File

Terakhir diperbaharui: Jumat, 25 November 2016 pukul 16:57

To show hide file in mac, type command bellow in Terminal.


defaults write AppleShowAllFiles YES

killall Finder


defaults write AppleShowAllFiles NO

killall Finder

sumber: ianlunn


Terakhir diperbaharui: Jumat, 25 November 2016 pukul 08:27

Sekeras apa pun besi masih bisa dirubah bentuknya. Tapi bagaimana bisa merubah jika tidak pernah ditempa.

Kita bisa meluluhkan orang sekeras kepala apa pun, asal kita mau bersabar memberikan nasihat-nasihat dan petunjuk yang benar. Dan tentunya dengan cara yang benar pula.



macOS: Sembunyikan Semua Item di Desktop

Terakhir diperbaharui: Senin, 21 November 2016 pukul 09:46

Untuk menyembunyikan icon, file atau shortcut di desktop, jalankan perintah berikut:

defaults write CreateDesktop false
killall Finder

Dan untuk mengembalikan lagi, cukup merubah false menjadi true.

defaults write CreateDesktop true
killall Finder

sumber: cultofmac

macOS Terminal Replacement

iTerm2 is a replacement for Terminal and the successor to iTerm. It works on Macs with macOS 10.8 or newer. iTerm2 brings the terminal into the modern age with features you never knew you always wanted.

iTerm2 has a lot of features. Every conceivable desire a terminal user might have has been foreseen and solved. And these are just the main attractions!

Split Panes

Divide a tab up into multiple panes, each one showing a different session. You can slice vertically and horizontally and create any number of panes in any imaginable arrangement.Notice how inactive panes are slightly dimmed so it’s easy to see which is active.

Hotkey Window

Register a hotkey that brings iTerm2 to the foreground when you’re in another application. A terminal is always a keypress away. You can choose to have the hotkey open a dedicated window. This gives you an always-available terminal (like Visor, Guake, or Yakuake) at your fingertips.


iTerm2 comes with a robust find-on-page feature. The UI stays out of the way. All matches are immediately highlighted. Even regular expression support is offered!


Just type the start of any word that has ever appeared in your window and then Cmd-; will pop open a window with suggestions. The word you’re looking for is usually on top of the list!

Mouseless Copy

Use the Find feature to begin searching for text. Press tab to expand the selection to the right or shift-tab to expand the selection to the left. Option-enter pastes the current match.

Paste History

Paste history lets you revisit recently copied or pasted text. You can even opt to have the history saved to disk so it will never be lost.

Instant Replay

Instant replay lets you travel back in time. It’s like TiVo for your terminal!


Map any key to any function. Assign separate functions to each option key–or even remap all the modifier keys. You can customize iTerm2’s appearance to suit your needs: enable transparency, background blur, background images, and much more.


Coming from a Unix world? You’ll feel at home with focus follows mouse, copy on select, middle button paste, and keyboard shortcuts to avoid mousing.

256 Colors (or more!)

With 256-color mode, Vim explodes with photorealism: the terminal is a medley of color and code comes alive. In version 3, 24-bit color is supported.


Do you lose your cursor when there are lots of different colors or have programs display hard-to-read color combinations? With the Smart Cursor Color and Minimum Contrast features, you can ensure that these problems are gone for good.

Mouse Reporting

You can use the mouse to position the cursor, highlight text, and perform other functions in programs like Vim and Emacs with the mouse reporting feature.

And many more.