Skip to content

Instantly share code, notes, and snippets.

<?php
$text = "text text";
$svg = new EasySVG();
$svg->setFontSVG("om_telolet_om-webfont.svg");
$svg->setFontSize(80);
$svg->setFontColor('#000000');
$svg->setLineHeight(1.2);
$svg->setLetterSpacing(.1);
$svg->addAttribute("width", "600px");
@sunsgs
sunsgs / mongo-install-ubuntu-14.10.sh
Created January 24, 2017 14:47 — forked from javierfdezg/mongo-install-ubuntu-14.10.sh
Installing mongodb in Ubuntu 14.10
# Setting up the repo
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb.list
# Updating and installing
sudo apt-get update
# WARNING: check out the -y here...
sudo apt-get install -y mongodb-org
# For a specific version, use this command