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
@JerryLokjianming
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
deyixtan / sublime_text_patch.md
Last active Nov 11, 2019
Sublime Text Patching Guide
View sublime_text_patch.md

Automated Patching

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

Usage

python slt.py <"sublime_text file path">


Manual Patching

@mfalkvidd
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;
server_name EXTERNAL_THINGSBOARD_DOMAIN.com;
if ($scheme != "https") {
return 301 https://$host$request_uri;
} # managed by Certbot
}
server {
@paul-nelson-baker
paul-nelson-baker / install-java.sh
Last active Aug 14, 2019
HomeBrew Revert to Java8 from Java9
View install-java.sh
#!/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
fi
# Install jenv, java8 and java9
brew install jenv
brew cask install caskroom/versions/java8
@jonathanhoskin
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: https://github.com/jonathanhoskin
//
// Requires PhantomJS ~ 2.1.1
//
// Enter your own modem details here
var username = 'admin';
@C-Duv
C-Duv / 0.Notes.md
Created Aug 1, 2017
Example for Docker Swarm, Let's Encrypt and Nginx setup with no Nginx down time (answer to https://twitter.com/developius/status/892470102632923136)
View 0.Notes.md
View install-parallels-tools-debian
$ su
$ umount /media/cdrom
$ mount /dev/sr0 /media/cdrom
$ cd /media/cdrom
$ ./install
@mowings
mowings / README.md
Last active Nov 4, 2019
Set up xhyve with Ubuntu 16.04
View README.md

Introduction

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
charlietran / TerminalVim.scpt
Last active Oct 31, 2019
Open file in iTerm vim for MacOS Sierra
View TerminalVim.scpt
-- TerminalVim.app
-- 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 TerminalVim.app 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
nknapp / Dockerfile
Created Oct 30, 2016
Traefik setup as reverse-proxy with docker and letsencrypt
View Dockerfile
FROM traefik:camembert
ADD traefik.toml .
EXPOSE 80
EXPOSE 8080
EXPOSE 443
You can’t perform that action at this time.