-
-
Save liyu1981/2a08aadba7ae0f9e18ee to your computer and use it in GitHub Desktop.
Revisions
-
simonewebdesign revised this gist
Feb 23, 2014 . 1 changed file with 10 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,7 +21,16 @@ sudo mv ~/Package\ Control.sublime-package /opt/sublime_text_3/Packages/ # Add to applications list cat << EOF > ~/.local/share/applications/sublime.desktop [Desktop Entry] Name=Sublime Text Exec=subl %F MimeType=text/plain; Terminal=false Type=Application Icon=/opt/sublime_text_3/Icon/128x128/sublime-text.png Categories=Utility;TextEditor;Development; EOF echo "" -
simonewebdesign revised this gist
Feb 23, 2014 . 1 changed file with 1 addition and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,16 +21,7 @@ sudo mv ~/Package\ Control.sublime-package /opt/sublime_text_3/Packages/ # Add to applications list mv /opt/sublime_text_3/sublime.desktop ~/.local/share/applications/ echo "" -
simonewebdesign revised this gist
Feb 23, 2014 . 1 changed file with 16 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,11 @@ #!/bin/sh # Sublime Text 3 install with Package Control # http://simonewebdesign.it/blog/install-sublime-text-3-on-fedora-20/ # Run this script with: # $ curl LINK_TO_THIS_SCRIPT | sh curl -o ~/st3.tar.bz2 http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3059_x64.tar.bz2 if tar -xf ~/st3.tar.bz2 --directory=$HOME; then @@ -12,25 +14,25 @@ if tar -xf ~/st3.tar.bz2 --directory=$HOME; then fi rm ~/st3.tar.bz2 # Package Control - The Sublime Text Package Manager: https://sublime.wbond.net curl -o ~/Package\ Control.sublime-package https://sublime.wbond.net/Package%20Control.sublime-package sudo mv ~/Package\ Control.sublime-package /opt/sublime_text_3/Packages/ # Add to applications list cat << EOF > ~/.local/share/applications/sublime.desktop [Desktop Entry] Name=Sublime Text Exec=subl %F MimeType=text/plain; Terminal=false Type=Application Icon=/opt/sublime_text_3/Icon/128x128/sublime-text.png Categories=Utility;TextEditor;Development; EOF echo "" echo "Sublime Text 3 installed successfully!" echo "Run with: subl" -
simonewebdesign revised this gist
Feb 23, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,11 +24,11 @@ touch ~/.local/share/applications/sublime.desktop #Name=Sublime Text #GenericName=Text Editor #Comment=Edit source code #Exec=subl %U #Terminal=false #Type=Application #MimeType=text/plain; #Icon=/opt/sublime_text_3/[ICON_PATH] #Categories=TextEditor;Development;Utility; -
simonewebdesign revised this gist
Feb 22, 2014 . 1 changed file with 16 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,5 +16,21 @@ rm ~/st3.tar.bz2 curl -o ~/Package\ Control.sublime-package https://sublime.wbond.net/Package%20Control.sublime-package sudo mv ~/Package\ Control.sublime-package /opt/sublime_text_3/Packages/ # Add to applications list touch ~/.local/share/applications/sublime.desktop # TODO write something like this to the file: #!/usr/bin/env xdg-open #[Desktop Entry] #Name=Sublime Text #GenericName=Text Editor #Comment=Edit source code #Exec=sublime_text %U #Terminal=false #Type=Application #MimeType=text/plain; #Icon=/home/jalaziz/opt/sublime/sublime128.png #Categories=TextEditor;Development;Utility; echo "Sublime Text 3 installed successfully!" echo "Run with: subl" -
simonewebdesign revised this gist
Jan 28, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ # $ curl <link> | sh curl -o ~/st3.tar.bz2 http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3059_x64.tar.bz2 if tar -xf ~/st3.tar.bz2 --directory=$HOME; then sudo mv ~/sublime_text_3/ /opt/ sudo ln -s /opt/sublime_text_3/sublime_text /bin/subl fi -
simonewebdesign revised this gist
Jan 28, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ # $ curl <link> | sh curl -o ~/st3.tar.bz2 http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3059_x64.tar.bz2 if tar -xf ~/st3.tar.bz2 --directory=~; then sudo mv ~/sublime_text_3/ /opt/ sudo ln -s /opt/sublime_text_3/sublime_text /bin/subl fi -
simonewebdesign revised this gist
Jan 28, 2014 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,9 +6,10 @@ # $ curl <link> | sh curl -o ~/st3.tar.bz2 http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3059_x64.tar.bz2 if tar -xf ~/st3.tar.bz2; then sudo mv ~/sublime_text_3/ /opt/ sudo ln -s /opt/sublime_text_3/sublime_text /bin/subl fi rm ~/st3.tar.bz2 # Package Control - The Sublime Text Package Manager: https://sublime.wbond.net -
simonewebdesign revised this gist
Jan 28, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ curl -o ~/st3.tar.bz2 http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3059_x64.tar.bz2 tar -xf ~/st3.tar.bz2 sudo mv ~/sublime_text_3/ /opt/ sudo ln -s /opt/sublime_text_3/sublime_text /bin/subl rm ~/st3.tar.bz2 # Package Control - The Sublime Text Package Manager: https://sublime.wbond.net -
simonewebdesign revised this gist
Jan 28, 2014 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,15 +5,15 @@ # Run this script with: # $ curl <link> | sh curl -o ~/st3.tar.bz2 http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3059_x64.tar.bz2 tar -xf ~/st3.tar.bz2 sudo mv ~/sublime_text_3/ /opt/ ln -s /opt/sublime_text_3/sublime_text /bin/subl rm ~/st3.tar.bz2 # Package Control - The Sublime Text Package Manager: https://sublime.wbond.net curl -o ~/Package\ Control.sublime-package https://sublime.wbond.net/Package%20Control.sublime-package sudo mv ~/Package\ Control.sublime-package /opt/sublime_text_3/Packages/ echo "Sublime Text 3 installed successfully!" echo "Run with: subl" -
simonewebdesign revised this gist
Jan 28, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,14 +5,14 @@ # Run this script with: # $ curl <link> | sh curl -o ~/st3.tar.bz2 http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3059_x64.tar.bz2 -sS tar -xf ~/st3.tar.bz2 mv ~/sublime_text_3/ /opt/ ln -s /opt/sublime_text_3/sublime_text /bin/subl rm ~/st3.tar.bz2 # Package Control - The Sublime Text Package Manager: https://sublime.wbond.net curl -o ~/Package\ Control.sublime-package https://sublime.wbond.net/Package%20Control.sublime-package -sS mv ~/Package\ Control.sublime-package /opt/sublime_text_3/Packages/ echo "Sublime Text 3 installed successfully!" -
simonewebdesign renamed this gist
Jan 28, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
simonewebdesign revised this gist
Jan 28, 2014 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,8 @@ #!/bin/sh # Sublime Text 3 install with Package Control # Run this script with: # $ curl <link> | sh curl -osS ~/st3.tar.bz2 http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3059_x64.tar.bz2 -
simonewebdesign revised this gist
Jan 28, 2014 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,15 @@ # Run this gist with: # $ curl <link> | sh curl -osS ~/st3.tar.bz2 http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3059_x64.tar.bz2 tar -xf ~/st3.tar.bz2 mv ~/sublime_text_3/ /opt/ ln -s /opt/sublime_text_3/sublime_text /bin/subl rm ~/st3.tar.bz2 # Package Control - The Sublime Text Package Manager: https://sublime.wbond.net curl -osS ~/Package\ Control.sublime-package https://sublime.wbond.net/Package%20Control.sublime-package mv ~/Package\ Control.sublime-package /opt/sublime_text_3/Packages/ echo "Sublime Text 3 installed successfully!" echo "Run with: subl" -
simonewebdesign revised this gist
Jan 28, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ curl -o ~/st3.tar.bz2 http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_30 tar -xf ~/st3.tar.bz2 mv ~/sublime_text_3/ /opt/ ln -s /opt/sublime_text_3/sublime_text /bin/subl rm ~/st3.tar.bz2 # Package Control - The Sublime Text Package Manager: https://sublime.wbond.net curl -o ~/Package\ Control.sublime-package https://sublime.wbond.net/Package%20Control.sublime-package -
simonewebdesign revised this gist
Jan 28, 2014 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,7 @@ rm -rf ~/st3.tar.bz2 # Package Control - The Sublime Text Package Manager: https://sublime.wbond.net curl -o ~/Package\ Control.sublime-package https://sublime.wbond.net/Package%20Control.sublime-package mv ~/Package\ Control.sublime-package /opt/sublime_text_3/Packages/ print "Sublime Text 3 installed successfully!" print "Run with: subl" -
simonewebdesign revised this gist
Jan 28, 2014 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,4 +3,10 @@ curl -o ~/st3.tar.bz2 http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3059_x64.tar.bz2 tar -xf ~/st3.tar.bz2 mv ~/sublime_text_3/ /opt/ ln -s /opt/sublime_text_3/sublime_text /bin/subl rm -rf ~/st3.tar.bz2 # Package Control - The Sublime Text Package Manager: https://sublime.wbond.net curl -o ~/Package\ Control.sublime-package https://sublime.wbond.net/Package%20Control.sublime-package mv ~ -
simonewebdesign revised this gist
Jan 19, 2014 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ # Run this gist with: # $ curl <link> | sh curl -o ~/st3.tar.bz2 http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3059_x64.tar.bz2 tar -xf ~/st3.tar.bz2 ... wip -
simonewebdesign created this gist
Jan 19, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ curl -o ~/st3.tar.bz2 http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3059_x64.tar.bz2 tar -xf ~/st3.tar.bz2 ... wip