Skip to content

Instantly share code, notes, and snippets.

View benimprojem's full-sized avatar

D'ssConnecTed benimprojem

  • türkiye
  • 04:44 (UTC +03:00)
View GitHub Profile
@benimprojem
benimprojem / group.
Created September 25, 2025 13:43
Programlama dillerine fonksiyon önerisi.
/* Tüm dillerde kullanılabilir..
belirli bir alan için yazılmış fonksiyonları grouplandırma için fonksiyon.
benzer fonksiyon isimlerini group ismine göre ayırma, akılda kalıcı isimlendir için bir öneri...
file.open(test.txt);
sql.open(test.sql);
.... vb.
*/
@benimprojem
benimprojem / index.html
Created September 14, 2025 18:42
new-html
!DOCTYPE html(lang:"en"){
head{
meta{
browset: "type=text/html, charset=utf-8, ie=edge, chrome=1, http-equiv=x-ua-compatible",
viewport: "width=device-width, initial-scale=1.0, user-scalable=no",
description: "XAMPP is an easy to install Apache distribution containing MariaDB, PHP and Perl.",
keywords: "xampp, apache, php, perl, mariadb, open source distribution"
}
title("Welcome to XAMPP")
link type:text/css, rel:stylesheet{
@benimprojem
benimprojem / S.js
Last active January 1, 2024 19:54
S - Minik bir jQuery tarzı DOM Kütüphanesi
!function (d, e, f, g) {
function i(a) {
e.push.apply(this, a && a.nodeType ? [a] : '' + a === a ? d.querySelectorAll(a) : g)
}
S = function(a) {
return /^f/.test(typeof a) ? /c/.test(d.readyState) ? a() : S(d).on('DOMContentLoaded', a) : new i(a)
}
@benimprojem
benimprojem / myfsql.php
Last active December 18, 2023 11:31
php mysqli prepare ( Select,Insert,Query,Update,Delete) prepare siqud :)
<?php
####-----------------------------------------------------------------------####
# myfsql.php
# 12.07.2023
# ver: 0.1.1
# rev: 0.0.0
# D'ssConnecTed
# cemden@gmail.com
# Referans: https://phpdelusions.net/mysqli
####-----------------------------------------------------------------------####
@benimprojem
benimprojem / language.php
Last active December 23, 2023 18:04
load language by browser
<?php
####---------------------------------------------------------------####
# language.php
# 30.05.2023
# ver: 1.0
# rev: 0
# D'ssConnecTed
#
####---------------------------------------------------------------####
<?
function Search( $ara ){
$result = mysqli_query("SELECT * FROM sites WHERE MATCH(sitename,siteabout) AGAINST('$ara' IN BOOLEAN MODE);");
$context['ara'] = array();
while ($row = mysqli_fetch_assoc($result))
{
$context['ara'][] = array(
'id' => $row['id'],
'name' => $row['name'],
<?php
function is_bot()
{
/* This function will check whether the visitor is a search engine robot */
$botlist = array("Teoma", "alexa", "froogle", "Gigabot", "inktomi",
"looksmart", "URL_Spider_SQL", "Firefly", "NationalDirectory",
"Ask Jeeves", "TECNOSEEK", "InfoSeek", "WebFindBot", "girafabot",
"crawler", "www.galaxy.com", "Googlebot", "Scooter", "Slurp",
"msnbot", "appie", "FAST", "WebBug", "Spade", "ZyBorg", "rabaz",
@benimprojem
benimprojem / NeKadar.php
Last active January 6, 2024 11:10
Ne kadar Zaman
<?Php
// Ne kadar Zaman
$txt['kdakika'] = ' Dakika ';
$txt['ksaat'] = ' Saat ';
$txt['kgun'] = ' Gün ';
$txt['khafta'] = ' Hafta ';
$txt['kay'] = ' Ay ';
$txt['kyil'] = ' Yıl ';
$txt['biraz'] ='Biraz ';
$txt['once'] = 'önce ';