Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍👩‍👧
Finding inspirations...

Heiswayi Nrird heiswayi

👨‍👩‍👧
Finding inspirations...
View GitHub Profile
@heiswayi
heiswayi / google_map.html
Last active May 10, 2018
HTML Example of Google Map with Custom Marker. Live Demo: http://codepen.io/heiswayi/pen/zGgXmR
View google_map.html
<!doctype html>
<html>
<head>
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?sensor=false">
</script>
<meta charset="UTF-8">
<title>Example Google Map</title>
</head>
<body>
@heiswayi
heiswayi / media_queries.css
Last active Feb 6, 2017
CSS code for building responsive site
View media_queries.css
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px) and (max-device-width : 480px) {
/* Styles */
}
/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {
/* Styles */
}
@heiswayi
heiswayi / spelling.csv
Last active Aug 9, 2019
Spelling differences between United Kingdom (UK) and United States (US) CSV
View spelling.csv
UK US
accessorise accessorize
accessorised accessorized
accessorises accessorizes
accessorising accessorizing
acclimatisation acclimatization
acclimatise acclimatize
acclimatised acclimatized
acclimatises acclimatizes
acclimatising acclimatizing
@heiswayi
heiswayi / .htaccess
Last active Jul 23, 2019 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
View .htaccess
# 301 Redirects for .htaccess
# ===========================
# Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
# Redirect an entire site:
Redirect 301 / http://www.domain.com/
# Redirect an entire site to a subfolder
@heiswayi
heiswayi / program.cs
Last active May 10, 2018
List all installed .NET Framework versions in a PC
View program.cs
using Microsoft.Win32;
using System;
namespace List_NET_Version_Installed
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(".NET Framework Versions");
@heiswayi
heiswayi / malaysia.geojson
Last active Oct 15, 2020
Malaysia Map GeoJSON
View malaysia.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@heiswayi
heiswayi / hiking-malaysia.csv
Last active Sep 23, 2015
Senarai kedudukan Gunung/Bukit di Malaysia berdasarkan ketinggian untuk rujukan pendaki-pendaki gunung.
View hiking-malaysia.csv
KEDUDUKAN NAMA GUNUNG/BUKIT LOKASI KETINGGIAN (m)
1 Gunung Kinabalu Sabah 4,095
2 Gunung Trusmadi Sabah 2,642
3 Gunung Tambuyukon Sabah 2,579
4 Gunung Murud Sarawak 2,422
5 Gunung Mulu Sarawak 2,376
6 Gunung Tahan Pahang 2,187
7 Gunung Korbu Perak 2,183
8 Gunung Yong Belar Sempadan Perak-Kelantan 2,181
9 Gunung Gayong Perak 2,173
@heiswayi
heiswayi / javascript-style-guide.md
Created Sep 23, 2015 — forked from fleishmanhillard/javascript-style-guide.md
JavaScript style guide with coding standards and best practices.
View javascript-style-guide.md

JavaScript (jQuery) Style Guide

All rules and guidelines in this document apply to jQuery files unless otherwise noted.

The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Most sections are broken up into two parts:

  1. Overview of all rules with a quick example
  2. Each rule called out with examples of do's and don'ts
@heiswayi
heiswayi / php-style-guide.md
Created Sep 23, 2015 — forked from ryansechrest/php-style-guide.md
PHP style guide with coding standards and best practices.
View php-style-guide.md

PHP Style Guide

All rules and guidelines in this document apply to PHP files unless otherwise noted. References to PHP/HTML files can be interpreted as files that primarily contain HTML, but use PHP for templating purposes.

The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Most sections are broken up into two parts:

  1. Overview of all rules with a quick example
  2. Each rule called out with examples of do's and don'ts
@heiswayi
heiswayi / css-style-guide.md
Created Sep 23, 2015 — forked from fleishmanhillard/css-style-guide.md
CSS style guide with coding standards and best practices.
View css-style-guide.md

CSS Style Guide

All rules and guidelines in this document apply to css/scss files unless otherwise noted.

The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Most sections are broken up into two parts:

  1. Overview of all rules with a quick example
  2. Each rule called out with examples of do's and don'ts
You can’t perform that action at this time.