Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Focusing

souhaiebtar

:octocat:
Focusing
View GitHub Profile
View st4 linux build 4074
printf '\00\00\00' | dd of=sublime_text bs=1 seek=282268 count=3 conv=notrunc
https://www.google.com/search?q=%22EA7E-890007%22
@souhaiebtar
souhaiebtar / key.txt
Last active Jul 25, 2020 — forked from rufoa/instructions.sh
sublime merge 2 build 2020 linux
View key.txt
----- BEGIN LICENSE -----
TEAM RUFIO
Unlimited User License
E52D-666666
487EE6F0309908F702DDD52AFCD99A6A
6EE14CF8A2D42271B4FC0991BBF93ADC
FAA9075C436B3796669194A2F36CAAEF
B251155329EC2E434FD28B4A21BE68CC
955D306EE9ED843C5E98B1577D02DEAA
1F4E872AE6495CD5E3B1DA55D5ACD2B2
@souhaiebtar
souhaiebtar / remove_pdf_password.sh
Last active May 27, 2020 — forked from pstaender/remove_pdf_password.sh
Remove password from protected PDF file with GhostScript
View remove_pdf_password.sh
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=unencrypted.pdf -c .setpdfwrite -f encrypted.pdf
@souhaiebtar
souhaiebtar / mysql-docker.sh
Created May 22, 2020 — forked from spalladino/mysql-docker.sh
Backup and restore a mysql database from a running Docker mysql container
View mysql-docker.sh
# 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
souhaiebtar / MySQL_5-7_macOS.md
Created May 20, 2020 — forked from operatino/MySQL_5-7_macOS.md
Install MySQL 5.7 on macOS using Homebrew
View MySQL_5-7_macOS.md

This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, 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 https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • 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 LTS.md

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)

Steps:

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

Sublime Text 3

Sublime Text 3 (Build 3211)

Windows 32-bit

Pre-Regged Reggable using Junk
@souhaiebtar
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
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
souhaiebtar / photoshop.pol.sh
Created Apr 21, 2019 — forked from PedroHLC/photoshop.pol.sh
PlayOnLinux script for installing any photoshop version (x86) using winetricks
View photoshop.pol.sh
#!/bin/bash
# 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"
PREFIX='Photoshop'
WINEVERSION='1.9.3-staging'
TITLE='Adobe Photoshop'
EDITOR='Adobe Systems Inc.'
You can’t perform that action at this time.