Skip to content

Instantly share code, notes, and snippets.

View iamvee's full-sized avatar
🐝
let it 🐝

Vahid Naeini iamvee

🐝
let it 🐝
  • Texas, USA
  • 10:37 (UTC -05:00)
View GitHub Profile
@iamvee
iamvee / cruptocurrencies_prices.py
Last active June 8, 2020 10:50
BTC and ETH prices
import urllib.request
import json
import pprint
currencies = ["USD","EUR","IRR"]
coins = ["BTC","ETH"]
coins_str = ",".join(coins)
currencies_str = ",".join(currencies)
خورشت کلم پلو کوکو دم‌پخت ماهی‌پلو قلیه ماهی آش کوفته خورشت کرفس دلمه سوپ آش غوره آش ماست آش شلغم ترش‌تره
برگ چغندر TRUE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE
ترخون FALSE TRUE FALSE TRUE FALSE FALSE FALSE TRUE FALSE TRUE FALSE FALSE FALSE FALSE FALSE
تره TRUE TRUE TRUE TRUE FALSE FALSE TRUE TRUE FALSE TRUE TRUE TRUE TRUE TRUE FALSE
جعفری TRUE FALSE TRUE FALSE TRUE FALSE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
ریحان FALSE TRUE FALSE TRUE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE
سیر FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
شاهی FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE
شلغم FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE
شملیز TRUE FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
@iamvee
iamvee / info.md
Last active May 23, 2020 09:45
info.md
@iamvee
iamvee / khalil.v1.svg
Last active May 21, 2020 15:33
لوگو آشپزی خلیل عقاب Khalil Oghab Cooking Logo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iamvee
iamvee / course.scripts.sh
Created March 27, 2020 19:40
search course subtitles to find the videos
function course-find-word() {
egrep -i $1 ./**/*.vtt -B1
egrep -i $1 ./**/*.vtt -B1 | grep -o '.*[0-9][0-9][0-9] - ' | sort | uniq | wc
}
@iamvee
iamvee / covid_19.ipynb
Last active March 14, 2020 19:40
COVID-19 timeseries by country
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iamvee
iamvee / developer_persian_dance.py
Created March 7, 2020 06:38
رقص کامندلاینی مخصوص دولوپر‌ها
import time
import os
frames = [
" \n \n uj))===~===9 \n |==))===~===))2 \n |========~======i \n 7=)%)f====~=======! \n GhhO)(|1~i~~~~~||(|~ \n hhhh)((|~~~~~~~|(|x)I \n n+lh))(g~~~~~~~((che4n \n ~~~~))f&{~~~~~~()rheZh< \n w4% ()))v)}7eh7~===()?hehhf
@iamvee
iamvee / big_O.ipynb
Last active February 15, 2020 01:35
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iamvee
iamvee / keybindings.json
Last active February 14, 2020 00:27
markdown details click snippet: snippet generator for visual studio code
[
{
"key": "ctrl+. alt+.",
"command": "editor.action.insertSnippet",
"args": { "name": "markdown_collapse_details_code" }
}
]
@iamvee
iamvee / x.js
Last active April 21, 2020 05:06
x_Svg
var x = $$('.sparkline')[4]
.attributes[1].nodeValue.replace('M','').split('L')
.map(x => +x.split(',')[1])
var foll = $$(".DataPoint-info")[4].childNodes
var info = {"df": +foll[1].innerHTML, "va": +foll[0].data}
var w = info['df'] / (x[27] - x[0])
var initial = info['va'] - info['df']
var res = [initial]
var diff = [];