Skip to content

Instantly share code, notes, and snippets.

View dotrung's full-sized avatar

Bùi Quang Phi dotrung

  • nohope.xyz
  • VietNam
View GitHub Profile
@dotrung
dotrung / table.html
Created August 7, 2018 01:20 — forked from dunhamsteve/table.html
Example of a scrollable table that only renders visible rows
<!-- This code is public domain, share and enjoy. -->
<html>
<style type="text/css" media="screen">
#table {
position: absolute;
top: 30px;
bottom: 0;
left: 10px;
right: 10px;
}
@dotrung
dotrung / gist:a32aad56ddbb5f218b7c3ec51639b6f0
Last active November 26, 2022 13:30
Install Vim 8 with Python, Python 3 support on Ubuntu 16.04
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common
sudo apt-get install build-essential cmake
sudo apt-get install python-dev python3-dev
#Optional: so vim can be uninstalled again via `dpkg -r vim`
sudo apt-get install checkinstall
sudo rm -rf /usr/local/share/vim /usr/bin/vim
@dotrung
dotrung / gist:6c4b68495ecdd11fb9f2f98e0862a84e
Created May 31, 2018 05:56
Install Vim 8 with Python, Python 3, Ruby and Lua support on Ubuntu 16.04
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev
#Optional: so vim can be uninstalled again via `dpkg -r vim`
sudo apt-get install checkinstall
sudo rm -rf /usr/local/share/vim /usr/bin/vim
cd ~