Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
View st4 linux build 4074
printf '\00\00\00' | dd of=sublime_text bs=1 seek=282268 count=3 conv=notrunc
souhaiebtar / key.txt
Last active Jul 25, 2020 — forked from rufoa/
sublime merge 2 build 2020 linux
View key.txt
----- BEGIN LICENSE -----
Unlimited User License
souhaiebtar /
Last active May 27, 2020 — forked from pstaender/
Remove password from protected PDF file with GhostScript
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=unencrypted.pdf -c .setpdfwrite -f encrypted.pdf
souhaiebtar /
Created May 22, 2020 — forked from spalladino/
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
souhaiebtar /
Created May 20, 2020 — forked from operatino/
Install MySQL 5.7 on macOS using Homebrew

This is a fork of original gist, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).

Install MySQL 5.7 on macOS

This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.
View Mounting VirtualBox shared folders on Ubuntu Server 16.04

Update 7/28/2019: An updated version of this guide for Ubuntu Server 18.04 LTS is now available. Feel free to check it out.

Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS

This guide will walk you through steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest. Tested on Ubuntu Server 16.04.3 LTS (Xenial Xerus)


  1. Open VirtualBox
  2. Right-click your VM, then click Settings
  3. Go to Shared Folders section
souhaiebtar /
Created Jan 31, 2020
Sublime HQ Patching Guide

Sublime Text 3

Sublime Text 3 (Build 3211)

Windows 32-bit

Pre-Regged Reggable using Junk
souhaiebtar / Linux
Last active Apr 26, 2020
Tutorial Crack Sublime Text 3.2.1 Build 3207 Linux
View Linux
# Linux (Using KDE Neon, Based on Ubuntu 18.04 a.k.a Bionic Beaver) #
1. Update your Sublime Text 3 to latest version (3.2.1 Build 3207)
2. Enter License
3. Open Terminal and execute command
4. "sudo chattr +i ~/.config/sublime-text-3/Local/License.sublime_license" to make immutable file
5. Done
----- BEGIN LICENSE -----
Member J2TeaM
souhaiebtar / gist:f2951d240b9b9e800ac964ef02f90859
Created May 17, 2019 — forked from elucify/gist:c7ccfee9f13b42f11f81
BASH: set variables for ANSI text color escape sequences
View gist:f2951d240b9b9e800ac964ef02f90859
RESTORE=$(echo -en '\033[0m')
RED=$(echo -en '\033[00;31m')
GREEN=$(echo -en '\033[00;32m')
YELLOW=$(echo -en '\033[00;33m')
BLUE=$(echo -en '\033[00;34m')
MAGENTA=$(echo -en '\033[00;35m')
PURPLE=$(echo -en '\033[00;35m')
CYAN=$(echo -en '\033[00;36m')
LIGHTGRAY=$(echo -en '\033[00;37m')
LRED=$(echo -en '\033[01;31m')
souhaiebtar /
Created Apr 21, 2019 — forked from PedroHLC/
PlayOnLinux script for installing any photoshop version (x86) using winetricks
# Create wineprefix using this script, install Photoshop, do not run it, then change wine version to '1.7.41-PhotoshopBrushes' emulating 'win7'
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE='Adobe Photoshop'
EDITOR='Adobe Systems Inc.'
You can’t perform that action at this time.