Skip to content

Instantly share code, notes, and snippets.

View samliew's full-sized avatar
🌈
Happy Pride!

Samuel Liew samliew

🌈
Happy Pride!
View GitHub Profile
/**!
* MixItUp MultiFilter v3.3.4
* A UI-builder for powerful multidimensional filtering
* Build 6bbb142d-9851-4ca8-b6d4-f760362d93ec
*
* Requires mixitup.js >= v^3.1.2
*
* @copyright Copyright 2014-2018 KunkaLabs Limited.
* @author KunkaLabs Limited.
* @link https://www.kunkalabs.com/mixitup-multifilter/
/* no distractions */
body {
overflow-x: hidden;
overflow-y: auto;
}
#secondary,
#comments,
#related,
#info,
.html5-endscreen,
@samliew
samliew / AutoReviewComments.txt
Last active June 30, 2020 10:59
Personal export of Auto Review Comments (https://github.com/Benjol/SE-AutoReviewComments)
###[Q,A] Rude/abusive
This is a friendly reminder to **[be nice](//$SITEURL$/help/be-nice)**. If any of you are not able to engage in civil discussion, please refrain from doing so and just move on.
###[Q,A] Flag for mod
When you have edited your post to fix the issue(s) mentioned above, you can flag for a moderator to review & undelete.
###[Q] Plagiarism
Incorrectly deleted for plagiarism? Please [raise a discussion on Meta $SITENAME$](https://$SITEURL$/questions/ask?tags=discussion+specific-question+plagiarism+moderators+deleted-answer&title=My+question+was+incorrectly+deleted+for+plagiarism)
###[A] Plagiarism
@samliew
samliew / stackuserstyles.css
Last active May 7, 2018 00:32
Mod style improvements for Stack Exchange sites. Install Stylish (Chrome) here: https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe
@-moz-document domain("stackexchange.com"), domain("stackoverflow.com"), domain("serverfault.com"), domain("superuser.com"), domain("askubuntu.com"), domain("stackapps.com"), domain("mathoverflow.net") {
/* Mod interface styles */
#mod-history,
#chat-feature,
.module .more-info,
.module.t-flag,
.module.t-flag ~ .module,
#chat-feature ~ .module {
display: none;
}
/*!
* fullPage 2.9.7
* https://github.com/alvarotrigo/fullPage.js
* @license MIT licensed
*
* Copyright (C) 2015 alvarotrigo.com - A project by Alvaro Trigo
*/
(function(global, factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
/*!
* Customized version of iScroll.js 0.0.7
* It fixes bugs affecting its integration with fullpage.js
*/
/*! iScroll v5.2.0 ~ (c) 2008-2016 Matteo Spinelli ~ http://cubiq.org/license */
(function (window, document, Math) {
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
### Keybase proof
I hereby claim:
* I am samliew on github.
* I am samliew (https://keybase.io/samliew) on keybase.
* I have a public key whose fingerprint is 7348 E358 6995 C693 86F3 9EA8 6A77 CCE9 606D 629D
To claim this, I am signing this object:
@samliew
samliew / ike-style.css
Last active November 7, 2016 00:55
New IKE styling by samliew
/*
The new and improved IKE!
Made for and tested in Google Chrome only.
Version: 1.1
Instructions:
1. Install this Google Chrome plugin "Stylish": https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe
2. Go to the IKE intranet: http://ike
3. Click on the extension icon on the top right of Chrome, click "Write style for: this URL"
4. Copy and paste the contents of this file: https://gist.github.com/samliew/f36d02131ec25e4dddbabd5dadc9bb43 (click "Raw" button so you can select all)
/**
* Source: http://www.kodhus.com/kodity/land/kod/bXCBjh
*
* The stars in our starfield!
* Stars coordinate system is relative to the CENTER of the canvas
* @param {number} x
* @param {number} y
*
* Usage:
* var starField = new StarField('fullScreen').render(333, 3);
@samliew
samliew / countries.js
Last active September 9, 2016 07:09
Country list as JavaScript array (alphabetical)
// Taken from http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm
var countries = ["Afghanistan", "Åland Islands", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antarctica", "Antigua And Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia, Plurinational State Of", "Bonaire, Sint Eustatius And Saba", "Bosnia And Herzegovina", "Botswana", "Bouvet Island", "Brazil", "British Indian Ocean Territory", "Brunei Darussalam", "Bulgaria", "Burkina Faso", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Christmas Island", "Cocos (keeling) Islands", "Colombia", "Comoros", "Congo", "Congo, The Democratic Republic Of The", "Cook Islands", "Costa Rica", "Côte D'ivoire", "Croatia", "Cuba", "Curaçao", "Cyprus", "Czech Republic", "D