After installing wsl you wont have curl or git so i guess you can figure out and i guess you know about hyper.is.
sudo apt-get install zsh
/** | |
* Cogu dogrulama kosullari saglayip saglamadigina bakar. | |
* burada ise bize verilen girdi ile algoritmaya gore | |
* yeni bir deger uretilir ve son olarak bu deger ile | |
* girdi karsilastirilir. | |
* Acikcasi bu yontemin daha performansli oldugu kanaatinde degilim | |
* ama es6 fonksiyonlariyla biraz oynamak istedim. | |
*/ | |
const validateTcKimlik = (tc) => { |
require 'json' | |
require 'rest-client' | |
url = 'http://api.bulutfon.com/v2/sms/messages?apikey=APIKEY' | |
payload = { | |
title: "FIRMA", | |
content: "Hesabınıza girişte kullanacağınız kod: xxxx", | |
"receivers": ["905xxxxxxxx"], |
{ | |
"createdBy": "Redirector v3.2", | |
"createdAt": "2019-09-01T18:25:22.996Z", | |
"redirects": [ | |
{ | |
"description": "stackoverflow", | |
"exampleUrl": "https://i.stack.imgur.com/EdUwb.png", | |
"exampleResult": "https://proxy.duckduckgo.com/iu/?u=https://i.stack.imgur.com/EdUwb.png", | |
"error": null, | |
"includePattern": "https://i.stack.imgur.com/*", |
# Nginx symlink problemi otomatik deploymentlarda yasana problemin cozumu ve guzel bir aciklamasi. | |
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; | |
fastcgi_param DOCUMENT_ROOT $realpath_root; | |
## https://github.com/zendtech/ZendOptimizerPlus/issues/126#issuecomment-24020445 |
function ydl() | |
{ | |
youtube-dl --extract-audio --audio-format mp3 "$@" --ignore-errors | |
} | |
# youtube-dl: https://rg3.github.io/youtube-dl/ | |
# ornek: ydl "https://www.youtube.com/playlist?list=PL55713C70BA91BD6E" |