Google Chrome, try to fix slow resolving domain

GoogleChrome_web

SoftwaresFreewareInternet Browser

On my laptop, not seldom that Google Chrome is slow on resolving domain and often end up can not open the site with message fail to resolve domain. Then I switched to alternative browser. But this time I spare time to find out how to solve this.

There are many suggestions, here are some that I actually have tried.

VIEW FULL POST + LEAVE A COMMENT

Setup Eclipse as a “web editor”

 

Eclipse_20141202-1947_web

ProgrammingOpen SourceJavaPortable/No Installation

Here we are about to setup Eclipse as a “web editor”. By “web editor” I mean to setup Eclipse to support html, xml, css, js, Python, and PHP. To do that we will use the smallest Eclipse distribution type, the Eclipse Platform Runtime. Then we will add the needed plugins. Python support will use PyDev, and for PHP will use PDT.

VIEW FULL POST + LEAVE A COMMENT

Sayur mayur, tidak selalu baik

Sayur mayur, tentu tinggi manfaatnya untuk kita dan sangat dianjurkan untuk selalu cukup sayur dan buah dalam diet kita.

Tetapi mengonsumsi sayur dan buah harus diperhatikan dengan cermat, karena bila berlebih dapat berbahaya.
Sebagai contoh sayur bayam. Sayur ini baik dan dianjurkan, bahkan Popeye akan loyo bila tidak makan sayur ini!

Bila mengonsumsi bayam setiap hari setiap makan, apalagi dalam jumlah banyak, dapat menyebabkan tertimbunnya oxalic acid dalam tubuh kita, yang dapat menyebabkan penyakit batu ginjal dan masalah ginjal lainnya. Sayur lain yang dengan kandungan oxalic acid lebih tinggi daripada bayam adalah daun singkong. Salah satu sayur favorit di Indonesia.

VIEW FULL POST + LEAVE A COMMENT

Mati, Meninggal, Wafat

Pada satu sisi Bahasa Indonesia sungguh kaya akan padanan kata, misalnya kata: mati.

Ada banyak kata yang bermakna mati: meninggal, tewas, wafat, mangkat, menghembuskan napas terakhir, gugur, menutup mata, tetes darah terakhir. Belum lagi kata “asing” seperti: mampus, koit, modar.

VIEW FULL POST + LEAVE A COMMENT

Money-formatted numbers in SQLFORM grid

In web2py SQLFORM grid, numbers are shown unformatted and left-aligned. It will be better if the numbers or money values are currency formatted, to make it easier to read. And better yet if those numbers right-aligned in the grid / table. We can use represent in models to do the job, like:

db.define_table(
    'bill',
    ...
    Field('comm', 'decimal(15,2)', label=T('Comm.')),
    Field('total', 'decimal(15,2)', label=T('Total')),
    ...
    )

db.bill.comm.represent = lambda value, row: DIV(moneyfmt(value), _style='text-align: right;')
db.bill.total.represent = lambda value, row: DIV(moneyfmt(value), _style='text-align: right;')

I use function moneyfmt() posted here to format the numbers, shown in grid :

web2py_grid_money_format

 

Ref

 

LEAVE A COMMENT

Scroll to Top

tulislah