Skip to content

Instantly share code, notes, and snippets.

View on7line's full-sized avatar
🤒
Out sick

on7line

🤒
Out sick
View GitHub Profile
@on7line
on7line / .inputrc
Created April 8, 2018 02:55 — forked from dpup/.inputrc
inputrc for use with mac and iterm2
set input-meta on
set output-meta on
set convert-meta off
# To use these in ITerm2 you may also need to configure preferences to send the correct escape
# code for the key combination.
# Option + Arrows to jump words.
"\e[1;5C": forward-word
"\e[1;5D": backward-word
@on7line
on7line / ssh-config
Created December 17, 2019 09:53 — forked from chales/ssh-config
SSH Config - Sample file to show staff the common options to add to your '~/.ssh/config' file. This is just a text file and should have the same perms as the other files in ~/.ssh, usually 600 (read and write by user only).
#### Example SSH config file
# Host = a list of domains, IPs and personalized aliases that use this config
# entry. These alias names follow "Host" and are space delimited.
# e.g. Host 192.168.1.1 example.com example1 myalias1
# Hostname = the IP or real hostname
# e.g. Hostname 192.168.1.1
# User = the username
# e.g. User jdoe
# Port = if this is a non standard port, i.e. not 22
@on7line
on7line / install-tmux.sh
Created April 2, 2020 01:11 — forked from pokev25/install-tmux.sh
Install tmux 2.8 on centos 7
# 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 -LOk 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
./configure --prefix=/usr/local
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy
@on7line
on7line / Key_starUML.md
Created September 10, 2020 03:35 — forked from danielquisbert/Key_starUML.md
Key para starUML
@on7line
on7line / navicat_reset_trial.sh
Created February 16, 2022 02:43
Reset Navicat Premium 15/16 remaining trial days
#!/bin/bash
set -e
file=$(defaults read /Applications/Navicat\ Premium.app/Contents/Info.plist)
regex="CFBundleShortVersionString = \"([^\.]+)"
[[ $file =~ $regex ]]
version=${BASH_REMATCH[1]}
@on7line
on7line / reset-trial-navicat.sh
Created February 16, 2022 02:55 — forked from nakamuraos/reset-trial-navicat.sh
Reset trial Navicat 15.x
#!/bin/bash
# Author: NakamuraOS
# https://github.com/nakamuraos
# Date: 04/12/2021
# Tested on Navicat 15.x on Linux
RED="\e[1;31m"
ENDCOLOR="\e[0m"
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
Home/Core N 3KHY7-WNT83-DGQKR-F7HPR-844BM
Professional W269N-WFGWX-YVC9B-4J6C9-T83GX
Professional N MH37W-N47XK-V7XM9-C7227-GCQG9
Professional Enterprise
Professional Workstation
Enterprise NPPR9-FWDCX-D2C8J-H872K-2YT43
Enterprise N DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4