This unusual clock in polar coordinates is based on a Flash screensaver by pixelbreaker. See also the earlier Protovis version.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; init.el / fedoras | |
;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;;; ;; ;; | |
;;; ;; 1. Preamble - Load MELPA ;; | |
;;; ;; ;; | |
;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
(require 'erc) | |
(require 'package) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" .vimrc | |
" See: http://vimdoc.sourceforge.net/htmldoc/options.html for details | |
" For multi-byte character support (CJK support, for example): | |
"set fileencodings=ucs-bom,utf-8,cp936,big5,euc-jp,euc-kr,gb18030,latin1 | |
" Vim Plug | |
set nocompatible " Be iMproved | |
call plug#begin('C:\Users\David\vimfiles\plugged') |
This is part of a series of examples that describe the basic operation of the D3.js force layout. Eventually they may end up in a blog post that wraps everything together.
The first example creates the simplest possible graph using a force layout. The comments in the code walk through the steps in creating a force directed graph.
Things start to get more interesting in the next example.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macro require(mod::Symbol, qualified::Symbol, name::Symbol) if qualified == as return :(import $mod; $(esc(:(const $name = $mod)))) end end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Interactivitity</title> | |
<script src="http://d3js.org/d3.v4.min.js" charset="utf-8"></script> | |
</head> | |
<body> | |
<p>Move the points!</p> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'ov) | |
(defun org-max-heading-depth () | |
"Get maximum depth of a heading." | |
(let ((max-depth 0) | |
depth) | |
(org-map-entries (lambda () | |
(when (> (setq depth (car (org-heading-components))) max-depth) | |
(setq max-depth depth)))) | |
max-depth)) |
I hereby claim:
- I am dcao on github.
- I am dmcao (https://keybase.io/dmcao) on keybase.
- I have a public key ASCRXBBIKxXBcAFxtL2DnXuCPlh4wzMY_q-M5Qrt5SwdQgo
To claim this, I am signing this object: