I hereby claim:
- I am itzsaga on github.
- I am setha (https://keybase.io/setha) on keybase.
- I have a public key whose fingerprint is 3F1A 1D8D 3533 F0AF EDE9 4042 1D20 E84A 8069 F2E4
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| var regularFunction = function() { | |
| console.log('I was called!') | |
| } | |
| var arrowFunction = () => { | |
| console.log('I was called, too!') | |
| } | |
| regularFunction() // 'I was called!' | |
| arrowFunction() // 'I was called, too!' |
| (1..10).detect { |i| i % 5 == 0 and i % 7 == 0 } #=> nil | |
| (1..100).find { |i| i % 5 == 0 and i % 7 == 0 } #=> 35 |
| # This is passing tests | |
| if draw?(board) | |
| puts "Cats Game!" | |
| else | |
| puts "Congratulations #{winner(board)}!" | |
| end | |
| # This is not passing tests | |
| draw?(board) ? puts "Cats Game!" : puts "Congratulations #{winner(board)}!" |
| puts draw?(board) ? "Cats Game!" : "Congratulations #{winner(board)}!" |
| img, table, form, input, video, audio, iframe { | |
| width: 100%; | |
| max-width: 100%; | |
| } |
| .wrapper { | |
| width: 90%; | |
| } | |
| @media only screen and (min-width: 980px) { | |
| .wrapper { | |
| width: 960px; | |
| } | |
| } |
| .column { | |
| width: 100%; | |
| float: none; | |
| } | |
| @media only screen and (min-width: 600px) { | |
| .column { | |
| width: 33.333%; | |
| float: left; | |
| } |
| var katzDeliLine = []; | |
| function currentLine(x) { | |
| var line = [] | |
| if (x.length === 0) { | |
| return "The line is currently empty." | |
| } else { | |
| for(var i = 0; i < x.length; i++) { | |
| line += (i + 1) + ". " + x[i] + ", " | |
| } |
| katz_deli = [] | |
| def line(x) | |
| line_array = [] | |
| if x.length == 0 | |
| puts "The line is currently empty." | |
| else | |
| x.each.with_index(1) do |name, index| | |
| line_array.push("#{index}. #{name}") | |
| end |