Saturday links: ClojureBridge Survey
Friday night links:
| <html> | |
| <head> | |
| <title>sample</title> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script> | |
| <style type="text/css"> | |
| #gallery { | |
| display: none; | |
| position: absolute; | |
| top: 10; | |
| left: 30; |
| class Breadcrumb | |
| Crumb = Struct.new(:name, :link) | |
| attr_reader :crumbs | |
| def initialize(name = "Home", link = "/") | |
| @crumbs = [] | |
| self.add(name, link) | |
| end |
| (function( $ ){ | |
| $.fn.blank = function() { | |
| return $(this).val() == "" | |
| }; | |
| })( jQuery ); | |
| Usage | |
| if ($("#old_password").blank()) { | |
| console.log("old passworld is blank"); |
| require 'minitest/autorun' | |
| # Expectations: http://bfts.rubyforge.org/minitest/MiniTest/Expectations.html | |
| # Help create test cases: http://www.cleavebooks.co.uk/scol/calnumba.htm | |
| class Converter | |
| end | |
| describe Converter do | |
| before do |
Saturday links: ClojureBridge Survey
Friday night links:
| Make an account at http://www.codewars.com .... its an easy to use interface that makes it easy to get started and write tests. | |
| Easy one | |
| http://www.codewars.com/kata/square-every-digit | |
| Little bit harder | |
| http://www.codewars.com/kata/sum-of-digits-slash-digital-root |
| Easy: | |
| http://www.codewars.com/kata/highest-and-lowest | |
| Harder: | |
| http://www.codewars.com/kata/breaking-chocolate-problem |
| Easy one, practice having some instance variables and creating methods | |
| http://www.codewars.com/kata/building-blocks/train/ruby | |
| Scrabble Scores, a little more complex | |
| http://www.codewars.com/kata/scrabble-score | |
| or just pick a problem :) |
| Code Katas: | |
| http://www.codewars.com/kata/5467e4d82edf8bbf40000155/train/ruby | |
| http://www.codewars.com/kata/523f5d21c841566fde000009/train/ruby | |
| other sites: | |
| http://exercism.io/ |
| piglatin | |
| https://www.codewars.com/kata/520b9d2ad5c005041100000f/train/ruby | |
| rgb to hex | |
| https://www.codewars.com/kata/513e08acc600c94f01000001/train/ruby |