Code Snippet

Just another Code Snippet site

Uncategorized

[Javascript] window.location

Basic Structure of a URL //:/ Basic structure of a URL Protocol — Specifies the protocol name be used to access the resource on the Internet. (HTTP (without SSL) or HTTPS (with SSL)) hostname — Host name specifies the host that owns the resource. For example, www.stackoverflow.com. A server provides services using the name of […]

[Unix] Verifying Which Ports Are Listening

To determine which ports are listening for TCP connections from the network: To check if a port is associated with the official list of known services : To check for port 834 using netstat, use the following command: The lsof command reveals similar information to netstat since it is also capable of linking open ports […]

[MySQL] How-To

Install MySQL (new version)on CentOS Download RPM file from : https://dev.mysql.com/downloads/repo/yum/ Install repo : Check repo is installed : Install MySQL : Start/Stop MySQL Server : Connect to MySQL Select database List all tables Repair a table MariaDB

, ,

[CSS] Word wrap

The word-break property specifies line breaking rules for non-CJK scripts. The word-wrap property allows long words to be able to be broken and wrap onto the next line. The overflow-wrap property specifies whether or not particularly long words will be ‘broken’ (separated into multiple lines) if necessary in order to fit in within its container.

Previous Posts Next posts