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
class Organization < ApplicationRecord | |
has_one :subscription | |
end | |
class Subscription < ApplicationRecord | |
has_many :payments | |
# stripe_id | |
# plan_id | |
# last_four |
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
{ | |
"project_type": "Prospect", | |
"project": "2013120B", | |
"start_date": "2017-11-13", | |
"duration": 24, | |
"fee_construction": 25000000, | |
"fee_percent": 6, | |
"fee_total": 1580000, | |
"budget_pm_percentage": 9, | |
"budget_reserve": 10, |
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
// Note this is against Twitter's Terms of Service, so it's just for fun :) | |
const btns = Array.from(document.querySelectorAll('[data-testid]')) | |
const unfollows = btns.filter(btn => btn.textContent == "Following") | |
for (let i = 0; i <= unfollows.length; i++){ | |
setTimeout(function () { | |
unfollows[i].click(); | |
setTimeout(function () { | |
const confirm = document.querySelector('[data-testid="confirmationSheetConfirm"]'); |
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.fonts.ready.then((fonts) => { | |
const fontFaces = Array.from(fonts); | |
console.log(fontFaces); | |
}); |
OlderNewer