Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
JerryLokjianming / Linux
Last active May 18, 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
deyixtan /
Last active Jun 20, 2020
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 Jul 3, 2020
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
estorgio / Mounting VirtualBox shared folders on Ubuntu Server 16.04
Last active Jul 3, 2020
Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS
View Mounting VirtualBox shared folders on Ubuntu Server 16.04

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

Update 23 May 2020: This guide is ALREADY OUTDATED and might no longer work with new versions of Ubuntu and VirtualBox. Please consider switching to the updated guide instead. I will no longer respond to the replies to this gist. Thank you.

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)

jonathanhoskin / reboot-modem.js
Last active Mar 26, 2020
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
You can’t perform that action at this time.