SEARCH KEYWORD -- One line
Strict mode in JavaScript
1. Introduction In addition to normal mode, ECMAScript 5 includes the other mode : strict mode. It means it will make JavaScript codes execute in a more strict environment. The purposes to have strict mode are: Remove some unreasonable and parts of JavaScript syntax. Reduce some of the quirk behaviors. Remove some insecure parts of code execution. Make the execution environment more secure Improve interpret efficiency and increase the execution speed Build foundation for future JavaScript versi...
JavaScript, Strict mode. Introduction 2013-01-17 05:00:26
bash network interface
Some of us may have seen /dev/tcp/<host>/<port> before, is this a special file system implemented in some BSD kernel? Because there is no /dev/tcp in Linux. Actually, this one is implemented in bash. We no need to rely on wget,nc to do network connection. It's very easy to use this interface: bash-4.2$ cat </dev/tcp/time.nist.gov/13 56188 12-09-18 15:34:26 50 0 0 733.5 UTC(NIST) * bash-4.2$ exec 3<>/dev/tcp/www.w3.org/80 bash-4.2$ echo -e "GET / HTTP/1.0\n\n" >&3 b...
Bash,Network interface,/dev/tcp 2013-07-20 00:57:52
ScrollerJS vs Odometer
Both ScrollerJS and Odometer are two JavaScript libraries to transition one number to another number with animation. They provide user a fancy animation about scrolling numbers. These libraries can be used in many scenarios such as user statistic counter, timer or odometer. This post is going to have a comparison on these two open source libraries. Below is a table which lists the features the two libraries have: Feature ScrollerJS Odometer Language JavaScript and CSS JavaScript and CSS S...
JavaScript, Odometer, ScrollerJS, Open source, CSS Transition 2015-05-13 02:10:55
Check if query string variable exists ASP.NET C#/VB
One of the problems I encountered when I started programming ASP.NET websites was to do with the Request.QueryString function. The first projects I was worked on were built with VB.NET and I used the following code to check the existence of a query string variable:VB.NET Codeview plaincopy to clipboardprint?If Request.QueryString("[VARIABLE]") <> Nothing Then 'CODE HERE End If This code check...
ASP.NET,Query string,Request,Empty,NULL,Check 2011-11-05 15:29:50
ICO Checklist: How to Launch a Successful Initial Coin Offering
Amongst the many important things that took place in Blockchain industry in 2017, Initial Coin Offerings (ICO) may be considered as the most important of all. ICO helps business/idea owners to pre-sell access to their services or products and in a way to fund the development of those services or products. To help founders/ startups define an effective launch process and provide perspective on everything that they will need on their ICO journey, we have jotted down few points which will serve as...
INITIAL COIN OFFERING,ICO CHECKLIST,INITIAL COIN OFFERINGS (ICO) 2018-05-28 07:32:53
Do We Really Need Wi-Fi in Schools?
Why do I think Wi-Fi is needed in schools? Times have changed. We need to adapt to the changes. I believe the internet is probably the most important tool available today. The world- wide web contains information about anything you could possibly want or need to know. It allows an even playing field for people who don’t have the information and knowledge to be able to get it. Students today are the future. They need to be able to access as much knowledge as possible to be...
Bash Shell Scripting - 10 Seconds Guide
This Bash shell scripting guide is not a detailed study but a quick reference to the BASH syntax. So lets begin... Common environment variables PATH - Sets the search path for any executable command. Similar to the PATH variable in MSDOS. HOME - Home directory of the user. MAIL - Contains the path to the location where mail addressed to the user is stored. IFS - Contains a string of characters which are used as word seperators in the command line. The string normally consists of the spac...
Bash,Shell,Linux,Tutorial,10 seconds,Shortcut key 2012-02-28 08:05:41
Install Windows 7 with USB 3.0 ports only
Windows 7 is another great operating system released by Microsoft after Windows XP. Since Microsoft has announced that it suspended the support of Windows XP starting from April 8, 2014. Many users have been forced to move to Windows 7. Unfortunately, if you are using a bootable USB flash drive to install Windows 7 and your computer doesn't have USB 2.0 port but only USB 3.0 port, you will encounter missing driver issue while installing it. This post will show you how to workaround this issue. B...
Windows 7, USB 3.0 driver, Bootable USB drive, Installation 2014-12-29 20:56:39
Yes, Virginia, Scala is hard
Let me first say that I am a Scala lover and have been a Scala champion for almost 5 years. I've written books and articles on Scala. I've worked with dozens of companies that have launched Scala and Lift projects. I've code reviewed many dozens of Scala projects.I used to think that Scala was easy. It was, and continues to be, a cure for some of the numerous problems with Java. From the "stuff that's hard or impossible in Java is simple in Scala," Scala is a very e...
Scala,OOP,FP,function programming,hard,idiom 2011-11-08 08:47:43
Change password of postgres account in Postgres
When installing Postgres on Windows, there is some default account created for user to login. One of them is postgres, but we often don;t know what's the password for this account when we first login using this account. We need to change the password for this account. How to change it? Step 1. Modify the pg_hba.conffile Go to the /data/ and open the pg_hba.conf. # TYPE DATABASE USER ...
Postgres,password, user account 2013-03-04 01:51:02
RECENT
- How Cybersecurity Preparedness Can Minimize Downtime During Cyber-Attacks
- Private LLM Integration with RAGFlow: A Step-by-Step Guide
- First Touch on OpenAI API
- Special ARP Uses: Gratuitous ARP, ARP Probe, and ARP Announce
- SIEM Big Data Visualization [04] : Data Transmission Latency SIEM Log Analysis Dashboard
- How to make select in WinSock exceed the 64-socket limit
- EtsiosApp Release Date: All You Need to Know
- SIEM Big Data Visualization [03]:Graph-Based SIEM Log Analysis Dashboard
- How AI is Changing Web Development: A New Era of Digital Innovation
- SIEM Big Data Visualization [02]: National Cyber Threats Dashboard
- more>>