Skip to content

Instantly share code, notes, and snippets.

STEPS

  • Click on Help menu

  • Select Enter License

  • Then paste given KEY given at bottom

  • Finally click on Use License

@unknownuser88
unknownuser88 / Revert sublime text 3 to a fresh state.md
Created May 24, 2017 10:59 — forked from math2001/Revert sublime text 3 to a fresh state.md
Revert Sublime Text 3 to a fresh state step by step ๐Ÿ™‚

How do I revert Sublime Text 3 to a fresh state

This little gist will walk you through the process of reverting your Sublime Text installation to a fresh state.

This simply means to get Sublime Text to exactly as it was by default.

Hum... Will I lose all my setup?

No. You can go back to how you were really easily, and it's explained at the bottom. ๐Ÿ˜‰

@unknownuser88
unknownuser88 / lostfilm.py
Created January 26, 2017 18:55 — forked from kstep/lostfilm.py
lostfilm download script
#!/usr/bin/env python2
# -*- encoding: utf-8 -*-
import re
import os
import sys
import json
import argparse
import yaml
from logging import getLogger
// encode(decode) html text into html entity
var decodeHtmlEntity = function(str) {
return str.replace(/&#(\d+);/g, function(match, dec) {
return String.fromCharCode(dec);
});
};
var encodeHtmlEntity = function(str) {
var buf = [];
for (var i=str.length-1;i>=0;i--) {
### Install OpenJDK
cd ~
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
### Download and Install ElasticSearch
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch and replace wget link below
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.1.deb
sudo dpkg -i elasticsearch-1.3.1.deb
-- MySQL dump 10.13 Distrib 5.1.51, for pc-linux-gnu (i686)
--
-- Host: 127.0.0.1 Database: world
-- ------------------------------------------------------
-- Server version 5.1.51-debug-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;