Skip to content

Instantly share code, notes, and snippets.

@yasinkuyu
yasinkuyu / search.exclude
Created Jan 16, 2021
vscode nuxt search exclude
View search.exclude
"search.exclude": {
"**/.github": true,
"**/.nuxt": true,
"**/dist": true,
"package-lock.json": true,
"yarn.lock": true
}
@yasinkuyu
yasinkuyu / jquery-cron-tr.js
Last active Nov 7, 2020
jQuery Cron Job Turkish (TR)
View jquery-cron-tr.js
/*
* jQuery gentleSelect plugin (version 0.1.4.1)
* http://shawnchin.github.com/jquery-cron
*
* Copyright (c) 2010-2013 Shawn Chin.
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* @yasinkuyu
*
* Requires:
@yasinkuyu
yasinkuyu / cloudflare_bypass.php
Created Nov 2, 2020
PHP CURL function which bypasses the Cloudflare
View cloudflare_bypass.php
<?php
/*
PHP CURL function which bypasses the Cloudflare
@yasinkuyu
*/
function cloudFlareBypass($url){
$useragent = "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z‡ Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)";
@yasinkuyu
yasinkuyu / xtensions_bestCheckout_turkish
Last active Aug 5, 2020
Opencart XtensionsTurkish (BestCheckout2.0.x.x-2.1.x.xVersion5.0.1.7.ocmod)
View xtensions_bestCheckout_turkish
<?php
//Entry Variables - overrides
$_['entry_customer_group'] = 'Müşteri Grubu';
$_['entry_firstname'] = 'Ad';
$_['entry_lastname'] = 'Soyad';
$_['entry_email'] = 'E-Mail';
$_['entry_confirm_email'] = 'E-Mail Tekrar';
$_['entry_telephone'] = 'Telefon';
$_['entry_fax'] = 'Faks';
$_['entry_company'] = 'Firma Adı';
@yasinkuyu
yasinkuyu / insya_yurtici
Last active Aug 5, 2020
Opencart Yurtiçi (ocmod) 2.0.x
View insya_yurtici
<?xml version="1.0" encoding="utf-8"?>
<modification>
<name>insya_yurtici</name>
<code>insya_yurtici</code>
<version>1.0</version>
<author>Yasin Kuyu | bilgi@insya.com</author>
<link>http://insya.com</link>
<file path="admin/controller/setting/setting.php">
<operation>
<search position="before"><![CDATA[
@yasinkuyu
yasinkuyu / payu_taksit
Last active Aug 5, 2020
Opencart Payu Taksit Tabı 1.5.x (ocmod)
View payu_taksit
<modification>
<id>Payu Modülü Taksit Tabı</id>
<version>1.0 - OC 1.5.X</version>
<vqmver>2.1.7</vqmver>
<author>Payu site içi</author>
<file name="catalog/controller/product/product.php">
<operation error="skip">
<search position="after"><![CDATA[$data['points'] = $product_info['points'];]]></search>
@yasinkuyu
yasinkuyu / insya_removedomain
Last active Aug 5, 2020
Opencart Remove Domain (ocmod) 2.0.x
View insya_removedomain
<?xml version="1.0" encoding="utf-8"?>
<modification>
<name>insya_removedomain</name>
<code>insya_removedomain</code>
<description>Linklerden domaini silmek için eklendi. (@yasinkuyu)</description>
<version>1.0</version>
<author>bilgi@insya.com</author>
<link>http://insya.com</link>
<file path="system/library/url.php">
<operation>
@yasinkuyu
yasinkuyu / custom_field_mail
Last active Aug 5, 2020
Opencart Custom Field view Invoice/Mail (2.0.x) (ocmod) 2.0.x
View custom_field_mail
<?xml version="1.0" encoding="UTF-8"?>
<modification>
<name>Custom Field view Invoice/Mail (2.0.x)</name>
<code>custom_field_invoice</code>
<version>3.0</version>
<author>Yasin Kuyu</author>
<link>http://insya.com</link>
<file path="admin/view/template/sale/custom_field_list.tpl">
<operation>
<search><![CDATA[<td style="width: 1px;" class="text-center"><input type="checkbox" onclick="$('input[name*=\'selected\']').prop('checked', this.checked);" /></td>]]></search>
@yasinkuyu
yasinkuyu / insya.whatsapp_siparis_modulu.ocmod.xml
Created Jul 2, 2020
Opencart WhatsApp Sipariş Modülü
View insya.whatsapp_siparis_modulu.ocmod.xml
<?xml version="1.0" encoding="utf-8"?>
<modification>
<name>Opencart WhatsApp Sipariş Modülü</name>
<code>whatsapp_siparis_modulu</code>
<version>1.0</version>
<author>Yasin</author>
<link>http://yasinkuyu.net</link>
<file path="catalog/controller/product/product.php">
<operation error="log">
@yasinkuyu
yasinkuyu / OpencartJournal2ProductSize.xml
Created Mar 12, 2020
Opencart Journal2 ProductSize
View OpencartJournal2ProductSize.xml
<?xml version="1.0" encoding="UTF-8"?>
<modification>
<name>Journal2ProductSize (insya)</name>
<version>1</version>
<author>yasinkuyu</author>
<code>Journal2ProductSize</code>
<file path="catalog/view/theme/journal2/template/common/header.twig">
<operation>
<search position="before"><![CDATA[</head>]]></search>