Skip to content

Instantly share code, notes, and snippets.

View Goblin80's full-sized avatar
🐿️

Mahmoud Goblin80

🐿️
View GitHub Profile
@Goblin80
Goblin80 / .vimrc
Created January 20, 2018 11:57
personal (Neo)vim configuration Raw
set nocompatible " be iMproved, required
filetype off " required
syntax on
set number relativenumber
set mouse=a
"set t_Co=256
"recursive lookup when using find
set path+=**
@Goblin80
Goblin80 / tmux-cheatsheet.markdown
Last active July 21, 2017 16:43 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@Goblin80
Goblin80 / View Statistics.rb
Created October 17, 2015 19:09
Rewritting "View Statistics.bat" from "TP-LINK-Remote-Management" in Ruby
require "Date"
require "colorize"
DEFAULTDAY = 25
DIRECTORY= "Sample/Log"
(puts "ERROR: Log Directory Not Found"; gets; exit) if !Dir.exist? "Log"
class LogFile
attr_accessor :name, :date
@Goblin80
Goblin80 / Lyrics Sync.rb
Last active May 6, 2016 18:56
A tool to sync lyrics to songs
require 'colorize'
require 'clipboard'
class LyricFile
attr_accessor :name, :raw, :timed
def initialize(path)
if path == 'Clipboard'
@raw = arrayify(Clipboard.paste)
@name = 'Clipboard'