$ openssl genrsa -out private.key 4096openssl req -new -sha256 \| import pandas as pd | |
| from pyxirr import xirr, xnpv | |
| from typing import List, Dict | |
| # Esta função já estava correta, pois usa a taxa anual para o XNPV. | |
| # Nenhuma alteração é necessária aqui. | |
| def get_inferred_principal( | |
| proposed_schedule: List[Dict], | |
| loan_monthly_rate: float, | |
| disbursement_date_str: str, |
| import starkinfra | |
| ###################### | |
| ###### CCB DATA ###### | |
| ###################### | |
| INTEREST_RATE_MULTIPLIER = 100 | |
| borrower_tax_id = "239.413.720-76" | |
| borrower_name = "Plinio Naves" | |
| disbursement_date = "2025-02-19" | |
| net_amount = 10 |
| // response in the CustomerData structure (see types.ts) | |
| bytes memory payload = abi.encode(response); | |
| inputBox.addInput(L2_DAPP, payload); |
| /* eslint-disable @typescript-eslint/no-var-requires */ | |
| import { terser } from 'rollup-plugin-terser' | |
| import alias from '@rollup/plugin-alias' | |
| import babel from '@rollup/plugin-babel' | |
| import commonjs from '@rollup/plugin-commonjs' | |
| import minimist from 'minimist' | |
| import postcss from 'rollup-plugin-postcss' | |
| import replace from '@rollup/plugin-replace' | |
| import resolve from '@rollup/plugin-node-resolve' | |
| import typescript from 'rollup-plugin-typescript2' |
| { | |
| "presets": ["es2015"], | |
| "plugins": ["transform-async-to-generator"] | |
| } |
| all: pdf epub kindle html examples | |
| BOOK_TITLE = A\ React\ Developer’s\ Guide\ to\ Hooks\ -\ Sebastien\ Castiel | |
| dist: | |
| @mkdir -p dist | |
| pdf: dist/${BOOK_TITLE}.pdf | |
| @echo '✅ PDF' |
| // Add any other logic here as needed. | |
| import { CacheableResponsePlugin } from 'workbox-cacheable-response/CacheableResponsePlugin'; | |
| import { CacheFirst } from 'workbox-strategies/CacheFirst'; | |
| import { createHandlerForURL } from 'workbox-precaching/createHandlerForURL'; | |
| import { ExpirationPlugin } from 'workbox-expiration/ExpirationPlugin'; | |
| import { NavigationRoute } from 'workbox-routing/NavigationRoute'; | |
| import { precacheAndRoute } from 'workbox-precaching/precacheAndRoute'; | |
| import { registerRoute } from 'workbox-routing/registerRoute'; |
| // http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
| // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
| // requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel | |
| // MIT license | |
| (function() { | |
| var lastTime = 0; | |
| var vendors = ['ms', 'moz', 'webkit', 'o']; |