Skip to content

Instantly share code, notes, and snippets.

@xardit
Created May 25, 2016 21:06
Show Gist options
  • Save xardit/66603f57ac145ad1f480943fc92539a9 to your computer and use it in GitHub Desktop.
Save xardit/66603f57ac145ad1f480943fc92539a9 to your computer and use it in GitHub Desktop.
#Install Sublime v3 build 3059 FULL x32 or x64
x64bit_url=http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3059_amd64.deb
x32bit_url=http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3059_i386.deb
cd /tmp;wget $URL;dpkg -i FILENAME.deb
#act
mv /opt/sublime_text/sublime_text /opt/sublime_text/sublime_text.bak
#for x32#
xxd /opt/sublime_text/sublime_text.bak | sed -e 's/00300d0: ffff 83c4 1085 c00f 94c0 84c0 a268 ce4f/00300d0: ffff 83c4 1085 c090 9090 9090 a268 ce4f/g' | xxd -r > /opt/sublime_text/sublime_text
#for x64#
xxd /opt/sublime_text/sublime_text.bak | sed -e 's/00081e0: 85c0 0f94 c084 c088 05e3 264e 0075 4148/00081e0: 9090 9090 9084 c088 05e3 264e 0075 4148/g' -e 's/007c800: e8ea f7ff ff85 c00f 94c2 84d2 8815 bee0/007c800: e8ea f7ff ff90 900f 94c2 9090 8815 bee0/g' | xxd -r > /opt/sublime_text/sublime_text
chmod 755 /opt/sublime_text/sublime_text
#`subl` to run sublime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment