Thursday, May 16, 2013

Sublime text for 32 bit Fedora 18 (How to register)

05/16/2013 02:19

This is about installing sublime text editor in Fedora 18(32-bit)

sublime-text-editor.sh

Courtesy: https://gist.github.com/henriquemoody/3288681/raw/46f698baa041b29e40d2448f8f64e7b5cb5ad4c9/sublime-text-2.sh

#!/bin/sh SHORTCUT="[Desktop Entry] Name=Sublime Text 2 Comment=Edit text files Exec=/usr/local/sublime-text-2/sublime_text Icon=/usr/local/sublime-text-2/Icon/128x128/sublime_text.png Terminal=false Type=Application Encoding=UTF-8 Categories=Utility;TextEditor;" SCRIPT="#!/bin/sh if [ \${1} == \"--help\" ]; then /usr/local/sublime-text-2/sublime_text --help else /usr/local/sublime-text-2/sublime_text \$@ > /dev/null 2>&1 & fi" curl -L "http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.1.tar.bz2" -o "/usr/src/Sublime Text 2.tar.bz2" cd /usr/src tar -xvjf "Sublime Text 2.tar.bz2" cd "Sublime Text 2" mkdir -pv "/usr/local/sublime-text-2" mv -fv * "/usr/local/sublime-text-2/" echo "${SCRIPT}" > "/usr/local/bin/subl" chmod +x "/usr/local/bin/subl" echo "${SHORTCUT}" > "/usr/share/applications/sublime-text-2.desktop" echo "Finish!"

Write this shell script in Gedit and save it in the name "sublime-text-editor.sh"

Run this script as follows

sudo sh sublime-text-editor.sh

Once sublime text is installed

License key

—–BEGIN LICENSE—– Patrick Carey Unlimited User License EA7E-18848 4982D83B6313800EBD801600D7E3CC13 F2CD59825E2B4C4A18490C5815DF68D6 A5EFCC8698CFE589E105EA829C5273C0 C5744F0857FAD2169C88620898C3845A 1F4521CFC160EEC7A9B382DE605C2E6D DE84CD0160666D30AA8A0C5492D90BB2 75DEFB9FD0275389F74A59BB0CA2B4EF EA91E646C7F2A688276BCF18E971E372 —–END LICENSE—–

Follow these to fully and effectively register sublime text 2 in Fedora 1.Install ghex editor.(in terminal,enter “sudo yum install ghex”)..without the quotes.
2.In terminal enter “cd /usr/lib/sublime-text-2″
3.In terminal enter “sudo ghex sublime_text” & enter your password
4.In open ghex window,navigate to Edit>Replace.
5.In the find string section enter 33 42
6.In the replace with section enter 32 42
7.Replace all --> save --> exit.
8.run sublime text and regiter with the above license key.
9.Enjoy and Code like a BOSS.

Courtesy: http://codifyme.wordpress.com/2013/02/04/convert-sublime-text-2-to-licensed-version/

1 comment:

  1. For windows 7 x64 build 3059
    do the following:

    1. open the 'sublime_text.exe' using an hex editor
    2. Ctrl+G near offset 0x000DBEC0
    3. find hex string, 85 C0 0F 94 C0
    4. replace with, 90 90 90 90 90
    5. do not replace other "85 C0 0F 94 C0" and save the changes

    ReplyDelete