Skip to content

Instantly share code, notes, and snippets.

View calvinlam0124's full-sized avatar

Calvin Lam calvinlam0124

  • Hong Kong
View GitHub Profile
@calvinlam0124
calvinlam0124 / fbevents.js
Created January 1, 2020 09:47 — forked from sunderls/fbevents.js
facebook pixel js prettified
/*1482118385,,JIT Construction: v2746767,en_US*/
/**
* Copyright Facebook Inc.
*
* Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*/
try {
(function(win, doc, location, history) {
'use strict';
@calvinlam0124
calvinlam0124 / gist:527925159bbda779771f861c7be2002f
Created October 2, 2018 11:14 — forked from Ricardo-Diaz/gist:3956079
CSS: Reset all colors and Link Color
Reset all colors and change link color
This resets all text and background colors so you’re back at square one with black text. Then it changes the color and style of links to distinguish from regular text and make them apparent that they’re links – change the color and styling to whatever you want.
* {
color: black !important;
background-color: white !important;
background-image: none !important;
}
a:link {
server {
listen 80; ## listen for ipv4; this line is default and implied
server_name munin.example.com;
location / {
alias /var/cache/munin/www/;
}
location ^~ /munin-cgi/munin-cgi-graph/ {