Skip to content

Instantly share code, notes, and snippets.

View calganaygun's full-sized avatar

Çalgan Aygün calganaygun

View GitHub Profile
export UPLOAD_FROM_SHELL_URL="https://creative-stack-pak0y.cloud.serverless.com/"
upload(){
echo "Uploading to $UPLOAD_FROM_SHELL_URL"
curl -T $1 $UPLOAD_FROM_SHELL_URL
}
@calganaygun
calganaygun / .bashrc
Created July 27, 2021 18:12
My awesome .bashrc file
# dotenv file loader
envup() {
local file=$([ -z "$1" ] && echo ".env" || echo ".env.$1")
if [ -f $file ]; then
set -a
source $file
set +a
else
echo "No $file file found" 1>&2
return 1
@calganaygun
calganaygun / git-io-custom-url.md
Created April 29, 2021 17:44 — forked from dikiaap/git-io-custom-url.md
git.io custom URL

Command:

curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"

URLs that can be created is from:

  • https://github.com/*
  • https://*.github.com
  • https://*.github.com/*
  • https://*.github.io
@calganaygun
calganaygun / Tradingview Technical Analysis.py
Last active January 31, 2021 16:35
Python Technical Analysis Crawler for Tradingview
from requests_html import HTMLSession
# interval: one of "1m","5m","15m","1h","4h","1D","1W","1M"
# market : stock/exchange marketplace name ex. : "BINANCE", "NASDAQ"
# stock : stock or trading pair ex. : "BTCUSDT", "AAPL"
# returns "Strong Sell","Sell","Neutral","Buy","Strong Buy","Timeout"
def get_stock_technical_analysis(interval="1D", market="BINANCE", stock="BTCUSDT"):
session = HTMLSession()
echo "Kapatıyorum baba"
docker stop magical_margulis
@calganaygun
calganaygun / rtw88.sh
Last active July 24, 2020 21:23
rtw88
echo "Auto RTW88 Driver Installer"
echo "by calganaygun"
sudo yum install mokutil -y && mokutil --sb-state
sudo yum install git build-essential linux-headers-$(uname -r) -y
git clone https://github.com/lwfinger/rtw88.git
cd rtw88
make
sudo make install
rm -v -R --interactive=never ~/rtw88
echo "Finished: Please reboot your PC"

Keybase proof

I hereby claim:

  • I am calganaygun on github.
  • I am calganaygun (https://keybase.io/calganaygun) on keybase.
  • I have a public key whose fingerprint is B024 407A 87E5 3891 104C 7A4E FB15 A8F8 E2A4 6B3B

To claim this, I am signing this object:

@calganaygun
calganaygun / rootdns.csv
Created May 18, 2020 17:53
Root DNS Server List
DNSRS Harfi IPv4 adresi IPv6 adresi Operator
A 198.41.0.4 2001:503:ba3e::2:30 VeriSign
B 192.228.79.201 2001:478:65::53 USC-ISI
C 192.33.4.12 2001:500:2::c Cogent Communications
D 199.7.91.13 2001:500:2d::d University of Maryland
E 192.203.230.10 NASA
F 192.5.5.241 2001:500:2f::f ISC
G 192.112.36.4 U.S. DoD NIC
H 128.63.2.53 2001:500:1::803f:235 US Army Research Lab
I 192.36.148.17 2001:7FE::53 Autonomica