Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- Simple



  JavaScript showModalDialog method

In JavaScript, showModalDialog()  method creates a simple modal dialog box which is a simple html page but when a modal dialog opens, user can't switch to another page until it closes the modal dialog box. Syntax:  window.showModalDialog( url, arguments, feature options); Where url is the URL of page which is to be opened in modal window and arguments are those arguments which we are passing to the modal window and feature options are the attributes set for the modal windo...

   JavaScript,JS,showModalDialog,Example     2011-07-27 10:51:47

  Run JavaScript in GoLang

In some cases, there might be some JavaScript code needs to be ran in a GoLang project. Fortunately, there are a few libraries which support running JavaScript in GoLang. The most famous one would be v8. This is a Go API for the famous v8 JavaScript engine originally developed for the Chrominum project and the foundation of NodeJS. In this post, we will show some simple steps to get v8 working in a GoLang program on MacOS. First you need to install the package so that you can import it. Run...

   GOLANG,JAVASCRIPT,V8     2019-05-16 07:40:38

  How to hide PHP Notice & Warning Messages

How to hide PHP Notice & Warning Messages. The PHP notice errors are frustrating and you are tired of seeing them when you are working on your scripts. They are showed at the beggining of your pages and may reveal confidential information to the visitor like the path to the file or the php file name in some cases.// Turn off all error reportingerror_reporting(0);// Report simple running errorserror_reporting(E_ERROR | E_WARNING | E_PARSE);// Reporting E_NOTICE can be good too (to report unin...

   PHP,Error,Warning,Deprecated,Hiding,Method     2011-11-18 12:17:26

  Why Python is important for you

I believe that Python is important for software development. While there are more powerful languages (e.g. Lisp), faster languages (e.g. C), more used languages (e.g. Java), and weirder languages (e.g. Haskell), Python gets a lot of different things right, and right in a combination that no other language I know of has done so far. It recognises that you’ll spend a lot more time reading code than writing it, and focuses on guiding developers to write readable code. It’s possible to...

   Python,Importance,Paradigm     2012-02-12 04:49:09

  Using Fabric to deploy web app

Many people may use FTP and rsync to synchronize codes to server, this way is fine but it may be troublesome when you need to deploy many times a day, actually there is a simple way if you can spend time on finding the fast way. We introduce Fabric today for deploying web app to remote server. Fabric is a deployment tool written with Python, the biggest feature if it is you no need to login to remote server, you can execute remote commands locally. Here is s simple deployment script written with...

   Fabric, Web deployment,SSH,Python     2012-12-08 03:16:00

  Waking up early, 10 tips that work

In this blog post I am going to cover a topic that I have been occupied with for several weeks now: Becoming an early riser. Getting up early can be a great way to help you establish a daily routine which is the first step to becoming more productive. Here I present you 10 tips that helped me in becoming an early riser. 1. Get up The most important step is to get up. Actually not just get up, literally try to jump out of bed. After your alarm rings get up instantly, go to another room and t...

   Body,Rest,Health     2012-04-11 13:44:34

  Something you should know about programming even if you are not a programmer

Out daily life are deeply affected by software and web. More and more people are realizing the importance of software, For example, you want to travel to Brazil for the world cup, right? You should first book the ticket online, when you book the ticket, you should pay for the ticket with your credit card, after successfully booking your ticket, you will get a e-ticket in your mailbox. When you arrive at the airport, your identity information will checked against the immigration database system, ...

   Programming,Programmer     2014-06-11 10:06:40

  Chrome time machine : Chrome starts from 0 to 1

Time flies, Chrome has been around us for four years since its birth. The Chrome team launched a Chrome time machine on Google's official blog, you just need a simple click or scroll back and forth with mouse, it will show you what happened to Chrome in last four years. If you find clues hidden between the lines, type a few mysterious characters, you may also be able to find a special birthday gift prepared by Chrome team.Four years, Chrome started from scratch and now it's the No.1 web browser...

   Chrome time machine,4 years     2012-09-05 06:54:05

  Text editor vs IDE

A meaningless editor war Many people like to debate which editor is the best. The biggest controversy is between Emacs and vi. vi supporters like to say: "Look it's very fast to type in vi, our fingers no need to leave the keyboard, we even no need to use the up,down,left and right keys" Emacs supporters often downplayed this and said: "What's the use of typing fast if I just need to press one key and it equals to dozens keys you type in vi?"In fact, there is another group of people who like to ...

   Editor,IDE,Structured editor,vi     2013-05-20 12:03:39

  Returning To Work After COVID-19: How To Ensure Your Employees Are Ready

Every aspect of our day-to-day lives has been impacted by the Internet, whether it be work or personal time. Since nations enforced strict lockdowns, employees have mostly been working remotely. Now that the world is slowly getting back on its feet after the lockdown, employers are evaluating their options and planning strategies to ensure employee safety after returning to the physical office.  With some restrictions remaining, companies must consider not just the workplace, but employees'...

   TRAINING,COVID-19,REMOTE WORK     2022-03-29 08:35:08