# change mirror to ubuntu.osuosl.org first
sudo apt-get update
sudo apt-get install build-essential libreadline-dev libssl-dev zlib1g-dev libxml2-dev libxslt-dev
| var migrate = require('migrate') | |
| , join = require('path').join | |
| , fs = require('fs'); | |
| module.exports = function(compound) { | |
| var app = compound.app; | |
| var options = {args: []}; | |
| /** | |
| * Migration template. |
Slides of text change with an effect where each letter fades in on it's own time. Lazy letters...
Forked from Bryan Levay's Pen Bubble-y Text Fader.
A Pen by Anonasaurus Rex on CodePen.
| # Remove previous installations | |
| sudo apt-get remove vim vim-runtime vim-tiny vim-common | |
| # Install dependencies | |
| sudo apt-get install libncurses5-dev python-dev libperl-dev ruby-dev liblua5.2-dev | |
| # Fix liblua paths | |
| sudo ln -s /usr/include/lua5.2 /usr/include/lua | |
| sudo ln -s /usr/lib/x86_64-linux-gnu/liblua5.2.so /usr/local/lib/liblua.so |
| #!/bin/sh | |
| sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common | |
| sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev mercurial libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev | |
| sudo mkdir /usr/include/lua5.1/include | |
| sudo ln -s /usr/include/luajit-2.0 /usr/include/lua5.1/include | |
| cd ~ | |
| hg clone https://code.google.com/p/vim/ |
| // | |
| // SmoothScroll for websites v1.2.1 | |
| // Licensed under the terms of the MIT license. | |
| // | |
| // You may use it in your theme if you credit me. | |
| // It is also free to use on any individual website. | |
| // | |
| // Exception: | |
| // The only restriction would be not to publish any | |
| // extension for browsers or native application |
| #!/bin/sh | |
| sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common | |
| sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev mercurial libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev | |
| sudo mkdir /usr/include/lua5.1/include | |
| sudo ln -s /usr/include/luajit-2.0 /usr/include/lua5.1/include | |
| cd ~ | |
| hg clone https://code.google.com/p/vim/ |
| #!/bin/sh | |
| # Sublime Text 3 install with Package Control (last update: 9 Feb 2016) | |
| # | |
| # No need to download this script, just run it on your terminal: | |
| # | |
| # $ curl -L git.io/sublimetext | sh | |
| # | |
| # When you need to update Sublime Text, run this script again. |
| /// Dart is built around a timer, which basically schedules functions in a queue. | |
| /// The Future class is essentially just sugar on top of the event loop. | |
| /// To help people understand what the event loop actually does, I have written code which implements the event loop. | |
| /// See https://www.dartlang.org/articles/event-loop/ for more information. | |
| import "dart:async"; | |
| class EventLoop { | |
| /// Function Queue. | |
| static final List<Function> queue = []; |