Ruby needs the following dependencies:
sudo apt install git curl autoconf bison build-essential \
libssl-dev libyaml-dev libreadline6-dev zlib1g-dev \
libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev
#!/bin/bash | |
[[ "${BASH_SOURCE[0]}" == "${0}" ]] && echo "Please source this script" && exit 1 | |
ssh-add -l > /dev/null 2>&1 | |
export RET=$? | |
export ADDKEY=1 | |
if [[ $RET == 2 ]]; then | |
# unable to connect to ssh-agent, so start it | |
eval $(ssh-agent -s) |
#!/bin/bash | |
[[ "${BASH_SOURCE[0]}" == "${0}" ]] && echo "Please source this script (source ~/setup-git-ssh)" && exit 1 | |
ssh-add -l > /dev/null 2>&1 | |
export RET=$? | |
if [[ $RET == 2 ]]; then | |
# unable to connect to ssh-agent, so start it | |
eval $(ssh-agent -s) | |
else |
#!/bin/bash | |
set -e | |
mkdir -p ~/.local/etc | |
touch ~/.local/etc/installed_go_version | |
TMP_WORK_DIR=$(mktemp -d) | |
pushd $TMP_WORK_DIR > /dev/null 2>&1 | |
LATEST_GO_VER=$(curl -s 'https://go.dev/VERSION?m=text' | head -1) | |
INSTALLED_GO_VER=$(cat ~/.local/etc/installed_go_version) |
.git/ | |
node_modules/ | |
venvs/ | |
mod/ | |
target/ | |
build/ | |
.local/ | |
go/src/golang.org/ | |
go/src/github.com/google/ | |
test/ |
# ~/.tmux.conf for tmux 3 | |
set -sg escape-time 20 | |
set -g default-terminal 'screen-256color' | |
setw -g mouse on | |
# Start numbering at 1 | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
set -g renumber-windows on |
#!/bin/bash | |
printf "tmux colours\n\n" | |
for i in {0..255}; do | |
printf "\x1b[38;5;${i}mcolour%d\x1b[0m " "${i}" | |
if (( i % 10 == 0 && i > 1 )); then | |
echo " " | |
fi | |
done |
#!/usr/bin/env python | |
import os | |
import sys | |
class ArgOptions: | |
natural_grouping = True | |
order_by_date = False |
/******************************************************************************************* | |
* | |
* raylib [core] example - Basic window | |
* | |
* Welcome to raylib! | |
* | |
* To test examples, just press F6 and execute raylib_compile_execute script | |
* Note that compiled executable is placed in the same folder as .c file | |
* | |
* You can find all basic examples on C:\raylib\raylib\examples folder or |