Skip to content

Instantly share code, notes, and snippets.

@rixtox
rixtox / clock.html
Created March 16, 2013 13:48
HTML5 Clock
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML5 Clock</title>
</head>
<body style="background-color:#000;text-align:center;">
<canvas id="c" height="600" width="600" style=""></canvas>
<script>
var cvs = document.getElementById('c'),
@rixtox
rixtox / bezierCurve.html
Last active December 15, 2015 00:59
HTML5 Bezier Curve
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML5 Bezier Curve</title>
</head>
<body>
<style>
* {margin: 0; padding: 0;}
body, html {height:100%; background-color: #000;}
@rixtox
rixtox / .gitconfig
Created January 6, 2013 05:38
my git configs
[user]
name = RixTox
email = [email protected]
[alias]
s = status
co = checkout
p = push
a = add
c = commit
[color]
@rixtox
rixtox / marble_kml_bugs.md
Created December 30, 2012 16:25
List of bugs in current Marble dealing with KML file.

Marble KML Bugs

  1. Relative path doesn't work while loading local images in IconStyle
  2. HTML tag links will dissapear after click in placemark's desciption

Earthwings provided a patch for the relative path problem but I didn't try it yet because I'm using the Mac OS binary version of Marble. Check it here

@rixtox
rixtox / blockads_weibo.rules
Last active December 10, 2015 00:38
Block ads on Weibo
vdisk.weibo.com##A[id="toolbar_download_forward"][class="W_btn_b"]
vdisk.weibo.com##A[id="toolbar_save_forward"][class="W_btn_b"]
weibo.com##A[class="gn_tab gn_member"]
weibo.com##DIV[id="trustPagelet_recom_interestv5"]
weibo.com##DIV[class="W_rightModule"]
weibo.com##DIV[id="trustPagelet_zt_hottopicv5"]
weibo.com##DIV[class="WB_right_module"]
weibo.com##DIV[id="pl_leftnav_group"][class="level_2_Box"]
weibo.com##DIV[id="pl_leftnav_app"]
weibo.com##A[href="http://club.weibo.com/intro"]