Skip to content

Instantly share code, notes, and snippets.

View yedincisenol's full-sized avatar
🎯
Focusing

İbrahim Ş. Örencik yedincisenol

🎯
Focusing
View GitHub Profile
@yedincisenol
yedincisenol / server.sh
Created May 9, 2019 15:35
For ubuntu, nginx, supervisor, docker install scripts
#!/usr/bin/env bash
command=$1
if [ "$command" = "" ]; then
echo "Please enter a module in: nginx,supervisor,docker"
read command -f
fi
if [ "$command" = "nginx" ]; then
echo "Nginx installing"
apt -y install nginx
fi
@yasinkuyu
yasinkuyu / paribu_api
Last active November 15, 2022 20:02
Paribu Bitcoin Rates
Paribu.com - Türkiye'nin Bitcoin Borsası
2021 (update)
Api endpoint
https://v3.paribu.com/app/markets/btc-tl?interval=1000
Ticker
@muratcorlu
muratcorlu / slugify_tr.js
Created September 11, 2012 12:46
Javascript Türkçe karakter destekli slugify (url metni oluşturucu)
/**
* Metni url'de kullanılabilir hale çevirir. Boşluklar tireye çevrilir,
* alfanumerik olmayan katakterler silinir.
*
* Transform text into a URL path slug(with Turkish support).
* Spaces turned into dashes, remove non alnum
*
* @param string text
*/
slugify = function(text) {