This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://codeload.github.com/vim/vim/tar.gz/refs/tags/v9.1.0029 | |
tar -xvf v9.1.0029 && cd vim-9.1.0029 | |
./configure --enable-python3interp=yes | |
make -j 8 | |
sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VERSION=3.8.18 | |
sudo yum -y install wget | |
wget https://www.python.org/ftp/python/$VERSION/Python-$VERSION.tgz | |
tar xvf Python-$VERSION.tgz && cd Python-$VERSION/ | |
./configure --enable-optimizations --enable-shared | |
make -j 8 | |
sudo make altinstall | |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install tmux 2.8 on Centos | |
# install deps | |
yum install gcc kernel-devel make ncurses-devel | |
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
curl -LO https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz | |
tar -xf libevent-2.1.8-stable.tar.gz | |
cd libevent-2.1.8-stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
losAngeles, err := time.LoadLocation("America/Los_Angeles") |