Skip to content

Instantly share code, notes, and snippets.

View saman's full-sized avatar

Saman Soltani saman

View GitHub Profile

Keybase proof

I hereby claim:

  • I am saman on github.
  • I am samansoltani (https://keybase.io/samansoltani) on keybase.
  • I have a public key ASB7p0VtFuTQPNU4rSfZ0YlBSPErLYU714GkIQlk0NOGZwo

To claim this, I am signing this object:

@saman
saman / camt-to-json.js
Last active June 11, 2018 11:16
Convert CAMT to JSON with Node.js
/**
* Convert CAMT to JSON with Node.js.
* @example
* // return filename.json
* node camt-to-json.js filename.csv
* @author Saman Soltani <@saman>
*/
var fs = require('fs');
var path = require('path');
[
{
"author": "First Author",
"content": "First Quote."
},
{
"author": "Second Author",
"content": "Second Quote."
}
]
@saman
saman / apple-availability-checker.py
Last active October 29, 2021 10:54
Apple Availability Checker
# This script can check apple website for availability of a prodcut in stores close to a zip code
# After finding availability it can send a notification via telegram
import telebot
import requests
# depends on the store this phrase can be different
not_avaliable = "Derzeit nicht verfügbar"
# make a telegram bot and put the token here