Skip to content

Instantly share code, notes, and snippets.

View horse-latitudes's full-sized avatar

Phil Dobbin horse-latitudes

View GitHub Profile
@crivotz
crivotz / vim_installation.md
Last active August 4, 2023 12:53
Vim installation

Clean from standard vim

sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common

Vim dependency

sudo apt-get install liblua5.4-dev luajit2 libluajit2-5.1-2 python3.11-dev libperl-dev python3 libncurses5-dev

Clean and prepare folders

top - 11:03:51 up 4:45, 6 users, load average: 2.58, 2.29, 2.24
Tasks: 259 total, 1 running, 258 sleeping, 0 stopped, 0 zombie
%Cpu(s): 4.4 us, 1.3 sy, 0.0 ni, 92.3 id, 2.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 3953372 total, 686180 free, 2448128 used, 819064 buff/cache
KiB Swap: 4101116 total, 3708836 free, 392280 used. 931756 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
8737 root 20 0 0 0 0 D 0.0 0.0 0:00.00 kworker/1:1
11741 root 20 0 0 0 0 D 0.0 0.0 0:00.48 kworker/1:2
Total status D (I/O wait probably): 2
@arya-oss
arya-oss / INSTALL.md
Last active November 18, 2023 13:58
Ubuntu 16.04 Developer Tools installation

Ubuntu 16.04 Developer Tools Installation

First things first !

sudo apt update
sudo apt upgrade

Standard Developer Tools

sudo apt-get install build-essential git
@dfletcher
dfletcher / tsws
Last active July 21, 2018 12:47
Totally simple web server using Bash and netcat (nc)
Moved to a proprer repositoy, TSWS is a real boy now!
https://github.com/dfletcher/tsws
PRs welcomed.
#!/usr/bin/env ruby
# Using this script as your post-receive hook will update mirrors using git
# push --mirror. To make this work you have to ensure that access is taken
# care of (for example by setting up .ssh/config with an SSH key for the
# user that runs the hook).
#
# To use this script populate /home/git/git-mirrors.yml with YAML like so:
# ---
# user/repo1.git:
@w0ng
w0ng / .Xresources-hybrid
Last active August 22, 2023 14:05
Terminal colourscheme for use in hybrid.vim
! Hybrid Terminal Colours. Uses the palette from Tomorrow-Night:
! https://github.com/chriskempson/tomorrow-theme/blob/master/vim/colors/Tomorrow-Night.vim
! vim: ft=xdefaults
*background: #1D1F21
*foreground: #C5C8C6
! black
*color0: #282A2E
*color8: #373B41
! red