Skip to content

Instantly share code, notes, and snippets.

View heiswayi's full-sized avatar
👽

Heiswayi Nrird heiswayi

👽
View GitHub Profile
@heiswayi
heiswayi / .htaccess
Last active June 15, 2023 17:03 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
# 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 08:53
List all installed .NET Framework versions in a PC
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 May 3, 2023 04:56
Malaysia Map 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 August 21, 2023 06:00
Senarai kedudukan Gunung/Bukit di Malaysia berdasarkan ketinggian untuk rujukan pendaki-pendaki gunung.
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 September 23, 2015 05:38 — forked from fleishmanhillard/javascript-style-guide.md
JavaScript style guide with coding standards and best practices.

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 September 23, 2015 05:38 — forked from ryansechrest/php-style-guide.md
PHP style guide with coding standards and best practices.

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 September 23, 2015 05:39 — forked from fleishmanhillard/css-style-guide.md
CSS style guide with coding standards and best practices.

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
@heiswayi
heiswayi / html-style-guide.md
Created September 23, 2015 05:39 — forked from ryansechrest/html-style-guide.md
HTML style guide with coding standards and best practices.

HTML Style Guide

All rules and guidelines in this document apply to HTML files.

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.

Icon Legend:

· Space, Tab, Enter/Return

@heiswayi
heiswayi / mh17.csv
Last active September 29, 2015 09:16
MH17 Parseable Passenger Manifesto CSV
NO RANK NAME NATIONALITY GENDER
P1 PASSENGER ALDER / JOHNMR UNITED KINGDOM M
P2 PASSENGER ALLEN / CHRISTOPHERMR NETHERLANDS M
P3 PASSENGER ALLEN / IANMSTR NETHERLANDS M
P4 PASSENGER ALLEN / JOHNMR UNITED KINGDOM M
P5 PASSENGER ALLEN / JULIANMR NETHERLANDS M
P6 PASSENGER ANDERSON / STEPHEN LESLIE MR UNITED KINGDOM M
P7 PASSENGER ANGHEL / ANDRE MR CANADA M
P8 PASSENGER ANTHONYSAMY / MABEL MS MALAYSIA F
P9 PASSENGER AVNON / ITHAMARMR NETHERLANDS M
@heiswayi
heiswayi / mh370.csv
Last active September 29, 2015 09:27
MH370 Parseable Passenger Manifesto CSV
NO NAME NATIONALITY AGE
1 AN / WENLAN CHINESE 65
2 BAO / YUANHUA CHINESE 63
3 BAI / XIAOMO CANADIAN 37
4 BIAN / MAOQIN CHINESE 67
5 BIAN / LIANGJING CHINESE 27
6 BIBYNAZLI / MOHDHASSIM MALAYSIAN 62
7 BRODSKII / NIKOLAI RUSSIAN 43
8 BURROWS / RODNEYMR AUSTRALIAN 59
9 BURROWS / MARYMRS AUSTRALIAN 54