Skip to content

Instantly share code, notes, and snippets.

Rahix / svg-internal-style.css
Created Aug 1, 2015
The stylesheet for animated svg paths.
View svg-internal-style.css
.hiddenPath {
stroke-dasharray: 1000;
stroke-dashoffset: 1000;
.animatedPath {
stroke-dasharray: 1000;
stroke-dashoffset: 1000;
animation: dash 1s linear forwards;
Rahix / svg-animation.js
Created Aug 1, 2015
Example code for animated svg paths
View svg-animation.js
var state = 0;
function next_action()
var svg = document.getElementById("svg-container").contentDocument;
case 0:
svg.getElementById("DP1").setAttribute("class", "animatedInfoBubble");
#!/usr/bin/env bash
# Initial apt-get update
echo "Updating apt-get..."
sudo apt-get update > /dev/null
echo "Updating done."
echo "Installing apache2, g++, curl, libssl-dev, apache2-utils, git-core..."
sudo apt-get install apache2
sudo apt-get install g++ curl libssl-dev apache2-utils
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version.
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Every Vagrant virtual environment requires a box to build off of. = "ubuntu/trusty64"

Keybase proof

I hereby claim:

  • I am rahix on github.
  • I am rahix ( on keybase.
  • I have a public key whose fingerprint is 9831 9517 6D7F 838C BA47 620A 6D60 5F3B 9DDB 1DA5

To claim this, I am signing this object: