Quantcast
Channel: My HowTo » Web
Browsing all 18 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Javascript – How to Get Input in Javascript (Example Code)

Google Chrome is has a javascript console which is very good for learning Javascript, as you can type the commands in the console and see the result immediately. Using google chrome, you can try out...

View Article



JavaScript – How to Display Data in a Span Tag

HTML code Your favorite programming language is <span id=”output”>&nbsp;</span> JS code function f(id) { return document.getElementById(id); } f(“output”).firstChild.nodeValue = “C#”;...

View Article

JavaScript – How to Output String in a TextArea Control

html code <textarea name="output" id="output" rows ="6" cols="30"></textarea> js code function f(id) { return document.getElementById(id); } f("output").value = "here we go"; Notes:...

View Article

JavaScript – Work with String in JavaScript

String object property: length Methods of String Objects charAt(index) indexOf(searchValue, fromIndex) substr(start, length) substring(start, end) toLowerCase() toUpperCase() js code How to trim spaces...

View Article

JavaScript – Work with date object

The formatting methods of a Date object toString() toDateString() toTimeString() The getters of a Date object getTime() getFullYear() getMonth() getDate() getHours() getMinutes() getSeconds()...

View Article


JavaScript – Array

var L = ["b","c","a"] undefined L ["b", "c", "a"] L.length 3 L[] = “d”; SyntaxError: Unexpected token ] L[4] = “d”; “d“ L ["b", "c", "a", undefined × 1, "d"] L[3] = “d”; “d“ L ["b", "c", "a", "d", "d"]...

View Article

Web – Code Syntax Highlighter (C#,Java,C,C++,PHP,Javascript, HTML etc)

Pygments is generic code syntax highlighter, which can be used in web forum, wikis, blog (wordpress etc). It’s written in Python and that’s why it’s name start with “Py”. Pygments can parse the syntax...

View Article

Web – Code Syntax Highlighter (C#,Java,C,C++,PHP,Javascript, HTML etc)

Pygments is generic code syntax highlighter, which can be used in web forum, wikis, blog (wordpress etc). It’s written in Python and that’s why it’s name start with “Py”. Pygments can parse the syntax...

View Article


SEO – Migrate a WordPress Website to a New Server with a New Domain Name

1. backup the wordpress files2. backup the wordpress database to a file (e.g. wp.sql)3. change the wp-config.php file to point to the mysql database in the new server4. upload the wordpress files to...

View Article


SharePoint – SharePoint 2013 Evaluation Product Key

SharePoint 2013 Evaluation is free but it requires product key before it will start the installation. I’ve forget to write it down, when I am downloading the SharePoint2013 iso file from Microsoft....

View Article

Image may be NSFW.
Clik here to view.

WEB – Yahoo Pipes Tutorial Create Rss Feed Example

Yahoo pipe is simple to use. And the most simple and useful example that I can think of is to use it to merge two blog RSS feeds. Here is how we can do it. 1. Login http://pipes.yahoo.com with your...

View Article

Mashup – Yahoo! Pipe Test

This post is for Yahoo! Pipe Test This post is for Yahoo! Pipe Testing.

View Article

Google – Google Maps API

https://developers.google.com/maps/documentation/javascript/tutorial

View Article


Jekyll–Static Web Site Generator

Jekyll is a simple static site generator. It takes a directory of raw text files and output ready-to-publish static website. https://jekyllrb.com/docs/home/

View Article

Image may be NSFW.
Clik here to view.

SharePoint–Recover Deleted Items from Recycle Bin

When you delete an item from a SharePoint document library or list, the deleted item is not removed from SharePoint right away. The deleted items go into the site recycle bin for a period of time....

View Article


Image may be NSFW.
Clik here to view.

PNG–Prepare Image with Transparent Background in GIMP

In GIMP do the following 1. Layer – transparent – add alpha layer 2. use Fuzzy select tool (magic wand) to select the part that you want to delete press Delete key 3. or use Eraser to remove part that...

View Article

DNS–What is a DNS TXT record

A TXT record (short for text record) is a type of resource record in the Domain Name System (DNS) used to provide the ability to associate arbitrary text with a host or other name, such as human...

View Article


Image may be NSFW.
Clik here to view.

DNS– How to Register a .SG Domain Name in Singapore

Singpass is required for registering a .SG domain. It means that you have to be a Work Pass holder, Singapore PR, or Singapore Citizen to register a .sg domain. ref: https://www.exabytes.sg

View Article
Browsing all 18 articles
Browse latest View live


Latest Images