Skip to content

Instantly share code, notes, and snippets.

View itsXactlY's full-sized avatar
😶

aLca itsXactlY

😶
  • Hell's Gate 7 inhabitant
View GitHub Profile
@itsXactlY
itsXactlY / BinanceMarketCapPairList.py
Last active May 13, 2024 02:51 — forked from bzed/BinanceMarketCapPairList.py
MarketCap pairlist filter for freqtrade
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# --- ↑↓ Do not remove these libs ↑↓ -----------------------------------------------------------------------------------
import argparse
import json
import time
import re
import requests
# ---- ↑ Do not remove these libs ↑ ------------------------------------------------------------------------------------
@itsXactlY
itsXactlY / 0_python_email.md
Created May 22, 2022 23:17 — forked from nickoala/0_python_email.md
Use Python to send and receive emails

Use Python to:

  • send a plain text email
  • send an email with attachment
  • receive and filter emails according to some criteria
@itsXactlY
itsXactlY / price-regexp.txt
Created May 9, 2022 22:18 — forked from wischweh/price-regexp.txt
This Regexp tries to grep a price from a string
// This Regexp tries to grep a price from a string.
// 1. The number must makes sense. it may contain "." or "," i.e 1 1.000,99 10,0 etc
// 2. The String must conatin a currency identifier like EUR,USD,€ or $.
// 2a) The currency identifer may be at the begining or at the end of the matching string
// 2b) There may be a space between value and currency identifier
// This regexp is based upon http://stackoverflow.com/questions/1547574/regex-for-prices
(USD|EUR|€|\$|£)\s?(\d{1,}(?:[.,]\d{3})*(?:[.,]\d{2}))|(\d{1,3}(?:[.,]\d{3})*(?:[.,]\d{2})?)\s?(USD|EUR)
updated Version (also matches numbers without delimiters in between like $2 $34 thx PepsiX for pointing out this issue:
@itsXactlY
itsXactlY / README.md
Created April 24, 2022 20:45 — forked from tg44/README.md
Cheap IP camera video converter

install nodejs 12

run with node app.js cameraRootDir

Almost works with Blitzwolf BW-SHC2 (no audio for me).

Not tested on windows, but probably changing the ffmpeg in the first two function-returns to something like ffmpeg.exe will make this work.

The script will recursively walk on every sudir, group the files ased on parent dir,

@itsXactlY
itsXactlY / example.ps1
Created February 13, 2021 01:09 — forked from magnetikonline/example.ps1
PowerShell push message to Slack incoming webhook.
Set-StrictMode -Version Latest
$payload = @{
"channel" = "#my-channel"
"icon_emoji" = ":bomb:"
"text" = "This is my message. Hello there!"
"username" = "Mr. Robot"
}
Invoke-WebRequest `
@itsXactlY
itsXactlY / visualstudio2019Key.txt
Created November 27, 2020 17:54
Visual Studio 2019 Product Key
Visual Studio 2019 Product Key
[Please Star this gist]
Follow My GitHub Account --> https://github.com/ch-kashif @ch-kashif
**Follow Me On Instagram -->> https://www.instagram.com/ch.kashif602/ **
Lets do a code together
Join Cloud Disk repository --> https://github.com/ch-kashif/CloudDisk
@itsXactlY
itsXactlY / godmode_indicator
Created October 4, 2020 00:44 — forked from iUmarov/godmode_indicator
GodMode Indicator in Python
# This is a non-multiexchange version of GODMODE indicator
# If you want the multi exchange version of GODMODE indicator, you need to implement willy and csi calculations too
# Original source of god mode indicator:
# https://www.tradingview.com/script/oA3U7pok-GODMODE-OSCILLATOR-FRESH-BREAD-GENERATOR-FREE-TO-USE/
import pandas as pd
import talib
channel_length = 9
average_length = 26