Skip to content

Instantly share code, notes, and snippets.

declare global {
interface String {
turkishToLower(): string;
turkishToUpper(): string;
}
}
String.prototype.turkishToLower = function () {
var string = this;
var letters = { "İ": "i", "I": "ı", "Ş": "ş", "Ğ": "ğ", "Ü": "ü", "Ö": "ö", "Ç": "ç" };
# changed to windows scripts credits to: https://gist.github.com/beeman/aca41f3ebd2bf5efbd9d7fef09eac54d
# Stop all containers
docker stop $(docker ps -qa)
# Remove all containers
docker rm $(docker ps -qa)
# Remove all images
docker rmi -f $(docker images -qa)
@cahitbeyaz
cahitbeyaz / aggrid.tr.js
Created November 4, 2020 16:47
AgGrid localeText i18n Turkish Türkçe
var AG_GRID_LOCALE_TR = {
// Set Filter
selectAll: '(Hepsini Seç)',
selectAllSearchResults: '(Tüm Arama Sonuçlarını Seç)',
searchOoo: 'Ara...',
blanks: '(Boş)',
noMatches: 'Eşleşme yok',
// Number Filter & Text Filter
filterOoo: 'Filtrele...',
@cahitbeyaz
cahitbeyaz / generate-certificate-chain.sh
Created June 25, 2021 09:24 — forked from granella/generate-certificate-chain.sh
Create self-signed certificate with root and ca for development
#!/bin/bash
rm *.jks 2> /dev/null
rm *.pem 2> /dev/null
echo "===================================================="
echo "Creating fake third-party chain root -> ca"
echo "===================================================="
# generate private keys (for root and ca)