Skip to content

Instantly share code, notes, and snippets.

:octocat:
Focusing

souhaiebtar

:octocat:
Focusing
Block or report user

Report or block souhaiebtar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@souhaiebtar
souhaiebtar / Linux
Created Nov 11, 2019 — forked from JerryLokjianming/Linux
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:cbb8baf096053f173af1af062947c442
Last active Nov 11, 2019
backup/restore chrome profile under linux
View gist:cbb8baf096053f173af1af062947c442
# backup chrome profile
cd ~/.config
tar -jcvf google-chrome-profile.tar.bz2 google-chrome
mv google-chrome-profile.tar.bz2 ~/
# restore chrome profile
mv google-chrome-profile.tar.bz2 ~/.config
cd ~/.config
@souhaiebtar
souhaiebtar / cracking.md
Last active Jul 21, 2019
Cracking guide for Sublime Text 3 Build 3203/3200 and Sublime Merge - Build 1111/1109 (Linux x86_64) - Updated #4 (20190401)
View cracking.md

Script for patching Sublime Text 3 and Sublime Merge - Linux x64!

Only for builds 3207 and 1111

License key required: NO

3203_big

@souhaiebtar
souhaiebtar / git_curl_tmux_zsh_zprezto.sh
Last active Jul 20, 2019
this file help to install git, curl, tmux, zsh and zprezto on a ubuntu based system,
View git_curl_tmux_zsh_zprezto.sh
#!/usr/bin/env bash
USER=$(whoami)
get_distribution() {
lsb_dist=""
# Every system that we officially support has /etc/os-release
if [ -r /etc/os-release ]; then
lsb_dist="$(. /etc/os-release && echo "$ID")"
fi
@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.'
@souhaiebtar
souhaiebtar / readme.md
Created Apr 21, 2019 — forked from romuloctba/readme.md
Install Adobe Photoshop CS6 on Wine (Ubuntu, Elementary OS, Linux Mint)
View readme.md

Step 1. Install the Wine Team Ubuntu PPA

First start by installing Wine btw it's a utility to install windows apps in linux :

open the Terminal and :

   sudo add-apt-repository ppa:ubuntu-wine/ppa     
   sudo apt-get update && sudo apt-get upgrade
   sudo apt-get install wine1.7 winetricks
@souhaiebtar
souhaiebtar / trial.md
Created Apr 20, 2019 — forked from satish-setty/trial.md
Beyond Compare 4 license for Linux
View trial.md

Beyond Compare 4.x

Licensed to: ASIO Allsoftinone Quantity: 1 user Serial number: 1822-9597 License type: Pro Edition for Linux

First delete away trial mode:

sudo sed -i "s/keexjEP3t4Mue23hrnuPtY4TdcsqNiJL-5174TsUdLmJSIXKfG2NGPwBL6vnRPddT7tH29qpkneX63DO9ECSPE9rzY1zhThHERg8lHM9IBFT+rVuiY823aQJuqzxCKIE1bcDqM4wgW01FH6oCBP1G4ub01xmb4BGSUG6ZrjxWHJyNLyIlGvOhoY2HAYzEtzYGwxFZn2JZ66o4RONkXjX0DF9EzsdUef3UAS+JQ+fCYReLawdjEe6tXCv88GKaaPKWxCeaUL9PejICQgRQOLGOZtZQkLgAelrOtehxz5ANOOqCaJgy2mJLQVLM5SJ9Dli909c5ybvEhVmIC0dc9dWH+/N9KmiLVlKMU7RJqnE+WXEEPI1SgglmfmLc1yVH7dqBb9ehOoKG9UE+HAE1YvH1XX2XVGeEqYUY-Tsk7YBTz0WpSpoYyPgx6Iki5KLtQ5G-aKP9eysnkuOAkrvHU8bLbGtZteGwJarev03PhfCioJL4OSqsmQGEvDbHFEbNl1qJtdwEriR+VNZts9vNNLk7UGfeNwIiqpxjk4Mn09nmSd8FhM4ifvcaIbNCRoMPGl6KU12iseSe+w+1kFsLhX+OhQM8WXcWV10cGqBzQE9OqOLUcg9n0krrR3KrohstS9smTwEx9olyLYppvC0p5i7dAx2deWvM1ZxKNs0BvcXGukR+/g" /usr/lib/beyondcompare/BCompare
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@souhaiebtar
souhaiebtar / jdk_download.sh
Created Mar 10, 2019 — forked from P7h/jdk_download.sh
Script to download JDK / JRE / Java binaries from Oracle website from terminal / shell / command line / command prompt
View jdk_download.sh
##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### #####
### Shell script to download Oracle JDK / JRE / Java binaries from Oracle website using terminal / command / shell prompt using wget.
### You can download all the binaries one-shot by just giving the BASE_URL.
### Script might be useful if you need Oracle JDK on Amazon EC2 env.
### Script is updated for every JDK release.
### Features:-
# 1. Resumes a broken / interrupted [previous] download, if any.
# 2. Renames the file to a proper name with including platform info.
You can’t perform that action at this time.