import sys
import os
import urllib2, cookielib, Cookie
url = sys.argv[1]
#ref = sys.argv[2]
if url.find("http") != -1:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//array_keys | |
function thisArr($arr){ | |
$a = array(); | |
if(is_array($arr)){ | |
//return array_keys($arr) | |
foreach ($arr as $key => $value) { | |
$a[] = $key; | |
if(is_array($value)){ | |
$a = array_merge($a, thisArr($value)); |
/**
* tam yol ver | klasor var yada yok yazilabilir olsun yeter.
* @param $kaynak
* @param $hedef
* @return bool
*/
public function dosyaKopyala($kaynak,$hedef){
$hata = array();
<div class="row boyutFitle" data-neleri=".textBoxMainInNewsText">
<div class="col-sm-4">
<div class="textBoxMain textBoxMainInNewsText">
<p>Hebele hubele</p>
</div>
</div>
<ul class="iconUlList">
<li class="grup-result">Web Application Icons</li>
<li class="grup-option"><a id="fa fa-adjust"><i class="fa fa-adjust"></i> fa fa-adjust</a></li>
<li class="grup-option"><a id="fa fa-american-sign-language-interpreting"><i class="fa fa-american-sign-language-interpreting"></i> fa fa-american-sign-language-interpreting</a></li>
<li class="grup-option"><a id="fa fa-anchor"><i class="fa fa-anchor"></i> fa fa-anchor</a></li>
<li class="grup-option"><a id="fa fa-archive"><i class="fa fa-archive"></i> fa fa-archive</a></li>
<li class="grup-option"><a id="fa fa-area-chart"><i class="fa fa-area-chart"></i> fa fa-area-chart</a></li>
<li class="grup-option"><a id="fa fa-arrows"><i class="fa fa-arrows"></i> fa fa-arrows</a></li>
<li class="grup-option"><a id="fa fa-arrows-h"><i class="fa fa-arrows-h"></i> fa fa-arrows-h</a></li>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function formKontrol(form) { | |
var hata = 1; | |
$(".zorunlu").removeClass("uyari"); | |
$(".zorunlu", form).each(function (i) { | |
if ( | |
$(this).val() == "" || | |
$(this).val() == 0 || | |
$(this).val() == '0' || | |
$(this).val() == 'undefined' || | |
$(this).val() == null || |
function mybtnClickYap(){ var inputs = document.getElementsByClassName('uiButton _1sm'); for(var i=0; i<inputs.length;i++) { inputs[i].click(); } setTimeout(function(){ mybtnClickYap(); }, 3000); } mybtnClickYap();
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function($,undefined){ | |
"use strict"; | |
$.fn.getAttributes = function () { | |
var elem = this, | |
attr = {}; | |
if(elem && elem.length) { | |
$.each(elem.get(0).attributes, function( v, n ) { | |
n = n.nodeName || n.name; | |
v = elem.attr(n); | |
if( v != undefined && v !== false ) attr[n] = v; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
cms4 < cms4 system entegration illuminate framework | |
// composer.json | |
{ | |
"name": "test/test", | |
"require": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$composer = require ("vendor/autoload.php"); | |
$composerModuleDir = __DIR__.'/vendor/composer/../../modules'; | |
$myPsr4 = [ | |
'services\\models\\' => $composerModuleDir.'/services/models', | |
'services\\controller\\' => $composerModuleDir.'/services/controller', | |
]; | |
foreach ($myPsr4 as $namespace => $path) { | |
$composer->setPsr4($namespace, $path); | |
} |
OlderNewer