Uncategorized – Kerem ER
22 Ekim 2022, 15:51

How to change URL query parameter with Javascript

1dk okuma süresi
859 görüntüleme
URL query parameters can be easily modified using URLSearchParams and History interfaces: // Construct URLSearchParams object instance from current URL querystring. var queryParams = new URLSearchParams(window.location.search); Set new or modify existing parameter value. queryParams.set("myParam", "myValue"); // Replace current querystring with the new one. history.replaceState(null, null, "?"+queryParams.toString()); Alternatively instead of modifying current history entry using replaceState() we can use pushState() method to create a new one: history.pushState(null, null, "?"+queryParams.toString()); Devamını Oku
22 Şubat 2018, 16:41

Add gag query to BaseChat

1dk okuma süresi
367 görüntüleme
By default, sending a message to the authorities via chat, which is set to the "@" tag, sends it without checking if the sender has found an active gag penalty. This issue can cause the player to still annoy the authorities from the authorized chat, even though the player has received a gag penalty. First step Put it on top line #include <basecomm> Second step Add this instead of "if (IsClientInGame(i) && (from == i || Ch..." in void "SendChatToAdmins" (Line: 363 in version 1.8.0.6015) if (!BaseComm_IsClientGagged(i)) { CPrintToChat(i, "[SM] %s%N: %s", fromAdmin ? "(Admin) " : "(Player) ", from, message); }... Devamını Oku
22 Ekim 2017, 12:04

Programlama için en iyi 5 yazım editörü

3dk okuma süresi
220 görüntüleme
1. Atom.io (atom.io) Atom.io GitHub tarafından geliştirilen açık kaynak kodlu ve genel anlamda ortalama 2 yıllık deneyimlerime göre hem Windows hemde Mac üzerinde gayet stabil çalışan bir yazım editörü. Atom'un Artıları Ücretsiz ve Açık Kaynak Kullanımı Kolay Zengin Eklenti ve Tema Marketi Kişiselleştirmeye Müsait Git Kontrolü Atom'un Eksileri Büyük Dosyaları Okuyamıyor 2. Visual Studio Code (code.visualstudio.com) VS Code Windows tarafından geliştirilen açık kaynak kodlu, kendi içerisinde terminali bulunan ve Git yönetimini çok daha güzel hale getiren eklentilerle dolu bir yazım editörü. Özellikle kullandığı fontlar Mac'lerde harika gözüküyor. Visual Studio Code'un Artıları Ücretsiz ve Açık Kaynak Kullanımı Kolay Geniş Dil Desteği... Devamını Oku