show dbs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Smartphones (portrait and landscape) ----------- */ | |
@media only screen | |
and (min-device-width : 320px) | |
and (max-device-width : 480px) { | |
/* Styles */ | |
} | |
/* Smartphones (landscape) ----------- */ | |
@media only screen | |
and (min-width : 321px) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String.prototype.turkishtoEnglish = function () { | |
return this.replace('Ğ','g') | |
.replace('Ü','u') | |
.replace('Ş','s') | |
.replace('I','i') | |
.replace('İ','i') | |
.replace('Ö','o') | |
.replace('Ç','c') | |
.replace('ğ','g') | |
.replace('ü','u') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const createCloudinary = (cloudName, unsignedUploadPreset) => ({ | |
process: (fieldName, file, metadata, load, error, progress, abort) => { | |
// `fieldName` and `meta` are not used for now | |
const url = `https://api.cloudinary.com/v1_1/${cloudName}/upload`; | |
const xhr = new XMLHttpRequest(); | |
const formData = new FormData(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>MultiLingual</title> | |
<style> | |
button { |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Ödeme ekranına geldiğinde 2 tane checkbox olacak. Biri "TC Kimlik No" opsiyonel diğeri "Kurumsal Fautra" opsiyonel. | |
* Müşteri bu alanlara 10 haneden az bir T.C. yada Vergi No yazarsa hata verecek. | |
* Kurumsal Fatura Checkbox'ı işaretlenirse Vergi Dairesi ve Vergi No alanı belirecek. | |
* TC Kimlik No Checkbox'ı işaretlenirse sadece TC Kimlik No alanı belirecek. | |
* Soyad şirket ünvanı girişinin doğru çalışabilmesi için gerekli değil opsiyonel olarak ayarlandı. | |
* Kurumsal Fatura seçildiğinde Ad Soyad ve Şirket Ünvanı billing_first_name alanında birleştirip tek bir Input olarak bıraklılmış | |
billing_last_name ve billing_company gizlenmiştir. TC Kimlik No seçildiğinde yada hiçbir şey seçilmediğinde Ad ve Soyad | |
iki farklı input olarak duruyor. billing_first_name,billing_last_name |