Skip to content

Instantly share code, notes, and snippets.

View XTechnology-TR's full-sized avatar
:shipit:
Focusing

xtechnology XTechnology-TR

:shipit:
Focusing
View GitHub Profile
@XTechnology-TR
XTechnology-TR / gist:055be110bb5066f6f4a3abdf7494be9e
Last active September 19, 2024 11:35
PHP Uyarısı: Tanımsız dizi anahtarı (seo-by-rank-math-pro)
Şu dosyada ki _/wp-content/plugins/seo-by-rank-math-pro/includes/modules/analytics/class-posts.php_
ranking_keyword_array_sort Fonksiyonu aşağıdakilerle güncelledim:
```
public function ranking_keyword_array_sort( $arr, $arr_order, $arr_orderby ) {
if ( 'DESC' === $arr_order ) {
uasort(
$arr,
function( $a, $b ) use ( $arr_orderby ) {
<?php
/***** WORDPRESS OPTIMIZATION CODE *****/
// REMOVE EMOJIS
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
remove_action( 'wp_print_styles', 'print_emoji_styles' );
remove_action( 'admin_print_styles', 'print_emoji_styles' );
@XTechnology-TR
XTechnology-TR / backend.php
Created April 1, 2024 11:28
WordPress'i optimize edin. Gereksiz kodu wp_head'den kaldırın. Geri izlemeleri ve pingleri devre dışı bırakın. Ön uç ve arka uçtaki yorumları devre dışı bırakın ve kaldırın. oEmbed işlevselliğini kaldırın. Ön uçtaki emojileri devre dışı bırakın ve Tinymce Emoji eklentisini kaldırın. Başlıktaki bağlantı etiketlerini kaldırın. jQuery Migrate'ı kal…
<?php
/**
* Strip `width` & `height` attributes from `img` elements.
*
* @file functions.php
*/
function remove_width_and_height_attribute( $html ) {
return preg_replace( '/(height|width)="\d*"\s/', "", $html );
}
@XTechnology-TR
XTechnology-TR / Responsive-ekran-boyutlari.css
Created February 27, 2024 19:13 — forked from serhanozcan/Responsive-ekran-boyutlari.css
Responsive ekran boyutları ve css media listesi
/*
##Cihaz = Masaüstü
##Ekran = 1281px 'den yüksek çözünürlükler için
*/
@media (min-width: 1281px) {
//CSS
}
@XTechnology-TR
XTechnology-TR / tor-proxy-as-podman-containder.md
Created October 23, 2023 01:20 — forked from valyakuttan/tor-proxy-as-podman-containder.md
Configue tor as a podman container in Fedora Silverblue

Configue tor as a podman container in Fedora Silverblue

Installation

  1. Pull image from dockerhub

         $ podman pull docker.io/osminogin/tor-simple
@XTechnology-TR
XTechnology-TR / privacy_policy.markdown
Created October 21, 2023 11:31 — forked from shinzui/privacy_policy.markdown
Devver Open Source Privacy Policy

Privacy Policy

Last revised on [DATE]

The Gist

[COMPANY] will collect certain non-personally identify information about you as you use our sites. We may use this data to better understand our users. We can also publish this data, but the data will be about a large group of users, not individuals.

We will also ask you to provide personal information, but you'll always be able to opt out. If you give us personal information, we won't do anything evil with it.

@XTechnology-TR
XTechnology-TR / meta-tags.md
Created September 16, 2023 16:01 — forked from whitingx/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@XTechnology-TR
XTechnology-TR / meta.html
Created September 16, 2023 14:59 — forked from rajavijayach/meta.html
Meta Tags for better SEO
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#0095b6" />
<link href="https://cdn.company.com" rel="dns-prefetch" />
<title>Title of the page</title>
<meta name="keywords" content="company name, company category" />
<meta name="description" content="company description" />
@XTechnology-TR
XTechnology-TR / index.html
Created August 29, 2023 04:58
🌌 XTechnology Aura (only CSS)
<div class="content">
<h1 class="title">XTechnology Web Tasarım Ofisi
<div class="aurora">
<div class="aurora__item"></div>
<div class="aurora__item"></div>
<div class="aurora__item"></div>
<div class="aurora__item"></div>
</div>
</h1>
<p class="subtitle">Made with love and only the CSS.</p>
@XTechnology-TR
XTechnology-TR / index.pug
Created July 9, 2023 15:48
Newton's Light Bulbs 💡😎
input(type='checkbox')
input(type='checkbox')
input(type='checkbox')
input(type='checkbox')
.wrapper
svg(xmlns='http://www.w3.org/2000/svg' viewbox='0 0 98.138617 90.336713')
g.light-bulb.light-bulb--3
path.light-bulb__chord(d='M45.1005633.00870392v68.74491' fill='none' stroke-width='.5291667')
g.light-bulb__bulb(transform='translate(2.5955317 -211.35093658)')
circle.light-bulb__glass(r='3.8407259' cy='286.7189' cx='42.372742' stroke-width='.25604835' stroke-linecap='round' stroke-linejoin='round')