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 characters
| [Desktop Entry] | |
| Name=Android Studio | |
| Version=0.8.0 | |
| Exec=/opt/android-studio/bin/studio.sh | |
| Icon=/opt/android-studio/bin/idea.png | |
| Terminal=false | |
| Type=Application | |
| Categories=IDE;Development | |
| Action=New | |
| Keywords=Android;Studio;Java;Cordova |
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 characters
| [Desktop Entry] | |
| Name=Eclipse IDE | |
| Version=4.4 | |
| Exec=/opt/eclipse/eclipse | |
| Icon=eclipse | |
| Terminal=False | |
| Type=Application | |
| Categories=IDE;Development;Java | |
| Action=New | |
| Keywords=Eclipse;IDE;Java;Development |
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 characters
| [Desktop Entry] | |
| Name=Sublime Text 2 | |
| Version=2.02 | |
| Exec=/usr/bin/sublime | |
| Icon=sublime-text-2 | |
| Terminal=False | |
| Type=Application | |
| Categories=TextEditor;Development | |
| MimeType=text/plain | |
| Action=New |
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 characters
| $(document).ready(function() { | |
| // Show or hide the sticky footer button | |
| $(window).scroll(function() { | |
| if ($(this).scrollTop() > 200) {$('.scrollup').fadeIn(200); } | |
| else { $('.scrollup').fadeOut(200);} | |
| }); | |
| // Animate the scroll to top | |
| $('.scrollup').click(function(event) { event.preventDefault(); $('html, body').animate({scrollTop: 0}, 800); | |
| }) | |
| }); |
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 characters
| #!/usr/bin/python3 | |
| # rock-paper-scissors-lizard-spock | |
| # 0 - rock | |
| # 1 - spock | |
| # 2 - paper | |
| # 3 - lizard | |
| # 4 - scissors | |
| PLAYER_SCORE=0 |
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 characters
| #!/usr/bin/python3 | |
| from PyQt4 import QtCore, QtGui | |
| try: | |
| _fromUtf8 = QtCore.QString.fromUtf8 | |
| except AttributeError: | |
| def _fromUtf8(s): | |
| return s |
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 characters
| #!/usr/bin/python3 | |
| import random | |
| num=random.randint(1,100) | |
| print("Guess!! A number between 1 and 100.\nYou get 5 shots at it.\n") | |
| ch=0 | |
| while ch<5: | |
| ans=input("Enter a number: ") | |
| if int(ans)<num: | |
| print("Too low...\n") | |
| if int(ans)>num: |