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
| def euler3 | |
| num=600851475143 | |
| n=num | |
| if n % 2 ==0 | |
| lastFactor = 2 | |
| n = n/2 | |
| while n%2==0 | |
| n = n/2 | |
| end | |
| else |
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
| <snippet> | |
| <content><![CDATA[def initialize | |
| $0 | |
| end]]></content> | |
| <!-- Optional: File should go into: ~/Library/Application Support/Sublime Text 2/Packages/Ruby --> | |
| <tabTrigger>defi</tabTrigger> | |
| <scope>source.ruby</scope> | |
| <description>def initialize .. end</description> | |
| </snippet> |
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
| Name: Kevin Chang | |
| Github: http://github.com/FifthSurprise | |
| Blog: fifthsurprise.wordpress.com | |
| Tagline: "Make nifty things" | |
| Profile Picture: http://imgur.com/LlwHAbL | |
| Treehouse Account: http://teamtreehouse.com/fifthsurprise | |
| CoderWall Account: https://coderwall.com/fifthsurprise | |
| CodeSchool Account: http://www.codeschool.com/users/fifthsurprise | |
| Favorite Websites: | |
NewerOlder