Skip to content

Instantly share code, notes, and snippets.



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
JerryLokjianming / Linux
Last active Nov 13, 2019
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
deyixtan /
Last active Nov 11, 2019
Sublime Text Patching Guide

Automated Patching

Download python script (supports multiple build) from this repository.


python <"sublime_text file path">

Manual Patching

mfalkvidd / nginx-thingsboard
Last active Sep 12, 2019
Thingsboard nginx reverse proxy with websocket and HTTPS support (Let's Encrypt)
View nginx-thingsboard
server {
listen 80;
if ($scheme != "https") {
return 301 https://$host$request_uri;
} # managed by Certbot
server {
paul-nelson-baker /
Last active Aug 14, 2019
HomeBrew Revert to Java8 from Java9
#!/usr/bin/env bash
set -e
# Uninstall Java 9 off the bat, so we can fix our local installation
if brew cask ls --versions "java" &>/dev/null; then
echo "Uninstalling Java"
brew cask uninstall java
# Install jenv, java8 and java9
brew install jenv
brew cask install caskroom/versions/java8
jonathanhoskin / reboot-modem.js
Last active Oct 28, 2019
Huawei B315 Modem Reboot Script
View reboot-modem.js
// PhantomJS script to reboot a Huawei B315 modem
// Author: Jonathan Hoskin / 2017-09-02
// Twitter: @jhossnz
// Github:
// Requires PhantomJS ~ 2.1.1
// Enter your own modem details here
var username = 'admin';
C-Duv /
Created Aug 1, 2017
Example for Docker Swarm, Let's Encrypt and Nginx setup with no Nginx down time (answer to
View install-parallels-tools-debian
$ su
$ umount /media/cdrom
$ mount /dev/sr0 /media/cdrom
$ cd /media/cdrom
$ ./install
mowings /
Last active Nov 4, 2019
Set up xhyve with Ubuntu 16.04


Setting up an OS to work with xhyve can be a bit tricky, but it's not impossible. These intructions should be generally applicable to most versions of Linux.

Create a disk image file

Xhyve will use a file as a logical disk. Be sure you have the filesize you need, because growing the file later is tricky to impossible (you could try to use qcow or similar to get around this, but qcow volumes can be tricky to mount).

dd if=/dev/zero of=hdd.img bs=1g count=32 # Create a 32 gig disk. Raise 'count' as desired
charlietran / TerminalVim.scpt
Last active Oct 31, 2019
Open file in iTerm vim for MacOS Sierra
View TerminalVim.scpt
-- This creates a shim Application that will enable you to open files from the Finder in vim using iTerm
-- To use this script:
-- 1. Open Automator and create a new Application
-- 2. Add the "Run Applescript" action
-- 3. Paste this script into the Run Applescript section
-- 4. Save the application as in your Applications folder
-- 5. In the Finder, right click on a file and select "Open With". In that window you can set TerminalVim as a default
nknapp / Dockerfile
Created Oct 30, 2016
Traefik setup as reverse-proxy with docker and letsencrypt
View Dockerfile
FROM traefik:camembert
ADD traefik.toml .
You can’t perform that action at this time.