Skip to content

Instantly share code, notes, and snippets.

View DearRude's full-sized avatar
😴
tired

Ebrahim DearRude

😴
tired
View GitHub Profile
@DearRude
DearRude / findfee.jl
Last active November 26, 2021 11:53
Iranian banks fee calculator
#!julia
shetab_fee(amount) = begin
500 <= amount <= 15e6 || (return Inf)
240(ceil(1e-6amount) - 1) + 600
end
satna_fee(amount) = begin
amount >= 15e6 || (return Inf)
fee = amount * 2e-4
@DearRude
DearRude / OPML.md
Last active January 27, 2021 05:45
Make RSS OPML out of YouTube Subscriptions
  1. Get your YouTube subscribed channels by Google API
  2. Save it locally as youtube.json
  3. Run export_opml.py to generate output.opml
  4. Import generated OPML file in your RSS client
@DearRude
DearRude / keybase.md
Created April 19, 2020 20:11
Approving myself

Keybase proof

I hereby claim:

  • I am dearrude on github.
  • I am dearrude (https://keybase.io/dearrude) on keybase.
  • I have a public key whose fingerprint is 4E35 F2E5 2132 D654 E815 A672 DB2C BC24 2868 6000

To claim this, I am signing this object: