Skip to content

Instantly share code, notes, and snippets.

View yahyaerturan's full-sized avatar

Yahya Erturan yahyaerturan

View GitHub Profile
@yahyaerturan
yahyaerturan / info.md
Created November 22, 2023 10:17
Docker yapılandırma
Code $ git clone git@github.com/xxxx:project-net
Code/project-net $ ls
	.docker/
		php/
			DockerFile
		apache/
			vhost.conf
		node/
 DockerFile
javascript:(function()%7Boutput%3D%27<html><head><title>SEO SERP Link Aracı</title><style type%3D%5C%27text/css%5C%27>body,table%7Bfont-family:Tahoma,Verdana,Segoe,sans-serif%3Bfont-size:11px%3Bcolor:%23000%7Dh1,h2,th%7Bcolor:%23405850%7Dth%7Btext-align:left%7Dh2%7Bfont-size:11px%3Bmargin-bottom:3px%7D</style></head><body>%27%3B output%2B%3D%27<table><tbody><tr><td><a href%3D%5C%27https://www.vayes.com.tr%5C%27><img src%3D%5C%27https://media-exp1.licdn.com/dms/image/C4D0BAQGWhCbQlhll-w/company-logo_200_200/0/1530986879454?e=2147483647&v=beta&t=Fcm4kbZO8yd1Y3rhlNT4dZa7YwNduVDfYOxcDhTbSm0%5C%27 width%3D%5C%27200%5C%27 height%3D%5C%27200%5C%27 widthf%3D%5C%27200%5C%27><img src%3D%5C%27https://www.tgbd.org.tr/content/upload/e-bulletins/samsun-teknopark-logo-20190806171833.png%5C%27 width%3D%5C%27200%5C%27 height%3D%5C%27200%5C%27 widthf%3D%5C%27240%5C%27></a></td><td><h1>SEO SERP Link Aracı</h1></td></tr></tbody></table>%27%3B pageAnchors%3Ddocument.getElementsByTagName(%27a%27)%3B divClasses%3Ddocument.getElemen
@yahyaerturan
yahyaerturan / data_types.text
Created January 10, 2022 09:18
Data Representation
Array of Arrays
[
[
'name' => 'Iphone 13',
'stock_code' => '3414124124',
'color' => 'Space Grey',
'price' => '14500',
'currency' => 'TRL',
],
[
@yahyaerturan
yahyaerturan / test.php
Created December 13, 2021 11:40
Zoom Live In Iframe
<?php /** @var $this CodeIgniter\View\View */ ?>
<?php $this->extend('base'); ?>
<?php $this->section('content'); ?>
<main>
<div>
<div>
<span>Hello</span>
</div>
@yahyaerturan
yahyaerturan / site_model_reference.php
Created December 6, 2021 07:21
site_model_reference
<?php
/**
* Site_model::get_page_media()
*
* @param mixed $arguments
* @param int $id_page
* @param string $media_type
* @param int $limit
* @return
*/
@yahyaerturan
yahyaerturan / macos_high_sierra_apache_php_brew_2018.md
Created June 10, 2021 17:33 — forked from karlhillx/macos_high_sierra_apache_php_brew_2018.md
macOS High Sierra Setup: Homebrew + Apache + PHP + MariaDB + SSL

macOS High Sierra Setup: Homebrew + Apache + PHP + MariaDB + SSL

Homebrew Installation

First let's install Homebrew.

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

@yahyaerturan
yahyaerturan / grunt.js
Created January 26, 2021 12:39
grunt.js
const nodeSass = require('node-sass');
module.exports = function(grunt) {
const webPageScripts = {
'./assets_web/build/js/web.min.js': './assets_web/js/web.js'
};
const appScriptsRunBabel = {
<?php
namespace App\EventSubscriber;
use Symfony\Component\Messenger\MessageBusInterface;
use Symfony\Component\Routing\RouterInterface;
use Twig\Environment;
class BaseEventSubscriber
{
@yahyaerturan
yahyaerturan / matter-components.scss
Last active April 5, 2019 07:56
Preliminary Effort on Matter Scss
:root {
--matter-font-family: "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system;
--matter-onprimary: rgba(255, 255, 255, 1.0);
--matter-surface: rgba(255, 255, 255, 1.0);
--matter-surface--34: rgba(255, 255, 255, 0.34);
--matter-onsurface: rgba(0, 0, 0, 1.0);
--matter-onsurface--04: rgba(0, 0, 0, 0.04);
--matter-onsurface--08: rgba(0, 0, 0, 0.08);
--matter-onsurface--12: rgba(0, 0, 0, 0.12);
--matter-onsurface--24: rgba(0, 0, 0, 0.24);
@yahyaerturan
yahyaerturan / VayesRequest.js
Last active March 14, 2019 16:42
VayesRequest.js
'use strict';
class VayesRequest {
constructor(uri, data) {
this.debug(VayesRequest.staticStrings.init);
this.supports();
this.xhrRequest = null;
this.contentType = false;
this.post = null;