Def6BR2HfIbLhdNyYmXteGoqINyMLI6nl14Mfbr2
dATiLnoda7htrrQkWSC5pjmTQkV6jVMGFQu2ACJG
Gl3bgiUDi8VYKjgEj7MzFncpTf8SxOD3PEPepOD6
| {"status": | |
| {"http":"Fetched (late) 200 86400 and parsed 0/1 entries", | |
| "code":200, | |
| "nextFetch":1430191514, | |
| "lastFetch":1430191514, | |
| "lastParse":1430105114, | |
| "lastMaintenanceAt":1430105114, | |
| "period":86400, | |
| "feed":"http://techcrunch.com/tag/techlist/feed/"}, | |
| "title":"TechCrunch » techlist", |
| { | |
| "bold_folder_labels": true, | |
| "font_size": 13, | |
| "highlight_line": true, | |
| "ignored_packages": | |
| [ | |
| "Vintage" | |
| ], | |
| "line_padding_bottom": 1, | |
| "line_padding_top": 1, |
| { | |
| "result": { | |
| "userid": "2072019", | |
| "username": "kimcuongtim", | |
| "avatarurl": "http://img.webtretho.com/forum/customavatars/avatar2072019_1.gif", | |
| "profileurl": "http://www.webtretho.com/forum/member.php?u=2072019", | |
| "joindate": "24/08/2014", | |
| "posts": "120", | |
| "thankedcount": "5" | |
| }, |
| When /^I drag the file "([^\"]*)" to "([^\"]*)"$/ do |file, field| | |
| # make an input field be visible | |
| page.execute_script("document.getElementsByName('#{field}')[0].className = '';") # remove class .hidden | |
| page.execute_script("document.getElementsByName('#{field}')[0].setAttribute('style', 'display:block;')") # remove style="display: none;" | |
| patiently do | |
| attach_file(field, File.expand_path(file)) # attach file to input | |
| end | |
| draggable = page.find(".topMenu") # whatever | |
| droppable = page.find("##{field}") # an input where we'll drag file into |
| var MortgageCalculatorMixin = { | |
| monthlyPayment: function(amount, rate, numOfPeriods) { | |
| var ratePerPeriod = rate / 12; | |
| var numerator = ratePerPeriod * Math.pow((1 + ratePerPeriod), numOfPeriods); | |
| var denominator = Math.pow((1 + ratePerPeriod), numOfPeriods) - 1; | |
| var am = amount * (numerator / denominator); | |
| return Math.round(am * 100) / 100; | |
| }, | |
| totalInterestPaid: function(amount, rate, numOfPeriods, monthlyPayment) { |
| inherit_from: .rubocop_todo.yml | |
| AllCops: | |
| RunRailsCops: true | |
| Include: | |
| - '**/Rakefile' | |
| - '**/config.ru' | |
| Exclude: | |
| - 'db/**/*' | |
| - 'config/**/*' |
| # This configuration was generated by `rubocop --auto-gen-config` | |
| # on 2015-08-12 15:11:20 +0700 using RuboCop version 0.32.1. | |
| # The point is for the user to remove these configuration records | |
| # one by one as the offenses are removed from the code base. | |
| # Note that changes in the inspected code, or installation of new | |
| # versions of RuboCop, may require this file to be generated again. | |
| # Offense count: 2 | |
| Lint/AmbiguousOperator: | |
| Enabled: false |