Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍👩‍👧
Finding inspirations...

Heiswayi Nrird heiswayi

👨‍👩‍👧
Finding inspirations...
View GitHub Profile
@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
@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 / mh17.csv
Last active Sep 29, 2015
MH17 Parseable Passenger Manifesto CSV
View mh17.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 Sep 29, 2015
MH370 Parseable Passenger Manifesto CSV
View mh370.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
@heiswayi
heiswayi / walkaway.php
Created Oct 8, 2015
HNSecurity Walkaway - PHP Proxy by Heiswayi Nrird
View walkaway.php
<?php
# HNSecurity Walkaway - PHP Proxy - Heiswayi Nrird
# CONFIG {{{
# Default to simple mode when the page is loaded. [false]
define('DEFAULT_SIMPLE',false);
# Force the page to always be in simple mode (no advanced mode option). [false]
define('FORCE_SIMPLE',false);
@heiswayi
heiswayi / gist:34d0de1ddfa72fb53e7e
Created Oct 14, 2015 — forked from jwoschitz/gist:1129249
Brute force implementation / C#
View gist:34d0de1ddfa72fb53e7e
class Program
{
#region Private variables
// the secret password which we will try to find via brute force
private static string password = "p123";
private static string result;
private static bool isMatched = false;
@heiswayi
heiswayi / reset.min.css
Created Oct 21, 2015
Based on Eric Meyers v2.0 reset
View reset.min.css
html,body,div,span,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockckquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}
@heiswayi
heiswayi / CODE
Last active Oct 26, 2015
Use web browser as a Notepad. Copy and paste the code into web browser's URL bar.
View CODE
data:text/html,<html contenteditable><title>Browser Text</title><style>html,body,div,span,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockckquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}body{font-family:monospace;font-size:12px;line-height:20px;background:linear-gradient(white,#fff 19px,#ddd 19px,#ddd 20px);background-size:20px 20px;padding:20px 30px;white-space:pre-wrap;word-wrap:break-word}</style></htm
@heiswayi
heiswayi / auto_signin_to_punbb.php
Created Oct 26, 2015
PunBB Login Integration from Other Site
View auto_signin_to_punbb.php
<?php
// FILENAME: auto_signin_to_punbb.php
// WRITTEN BY: Heiswayi Nrird
// Define the path to the forum root
define('FORUM_ROOT', './punbb/');
require FORUM_ROOT.'include/common.php';
($hook = get_hook('li_start')) ? eval($hook) : null;
// Load the login.php language file
@heiswayi
heiswayi / tumbnail_maker.php
Created Jan 12, 2016
PHP code snippet to generate image tumbnails
View tumbnail_maker.php
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Thumbnail Maker</title>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
<style>
body{
padding: 10px 30px;
You can’t perform that action at this time.