Turning gears are the logo of co-scripts

I appreciate ...

 

 


I thank you for your kind donation.
Coding is good. 
Be good, take care ;) 

 

PS: Allways ask questions about my scripts, plugins and apps. C U.

co-scripts tag image
ID:280 | Okunma:91


 

WordPress v 4.9.6:17 nav-menu css styles of ul, ol overlaps with Bootstrap v2.2.1 ul,ol style definition overlaps.

WP navigational submenus shifted right by 25px. This will be looking unharmful but not handsome.

Not a good solution but i made the ul, ol margins to a comment line in Bootstrap and bypass the problem.

 

ul,
ol {
  padding: 0;
  /*margin: 0 0 0px 25px;*/
}
co-scripts tag image wordpress v 4.9.6:17bootstrap v2.2.1ul ol conflictwp submenu problemwp nav menu ul ol
ID:279 | Okunma:118


 

In phpstorm, if you are working with multiple databases in same project schemas are cached by PHPStorm. This may cause some confusions when you are writing queries inside your code. Autocompletion may false you. If you want to switch datasource and need autocompletions from this source you need to clear cache.
To do so: Click DataBase tool, Select your last active database (click on the name of it) and right click to open context menu (DataBase Tools) and click "Forget Database Schemas" . 
After that re-sync database and select the schema you choose.

co-scripts tag image phpstormdatasourceautocompletionschematablenamefieldnamedatabase toolsforget cached schemas
ID:278 | Okunma:297


 

PHPExcel, PHPSpreadSheet, Zip->Close(), fopen() etc. and popular "permission denied in" centences. It is very problematic to tune up Linux security configs. If you cannot write a file in PHP.
I am not a system guy, I am a developer.
Any way risky but try (before search) "chcon" . Give your target path with the commands below.

chcon -R -t httpd_sys_rw_content_t /path

Have a look at: https://www.digitalocean.com/community/questions/unable-to-create-a-file-in-php

co-scripts tag image permission denied inchconfopenzip->closephpspreadsheetphpexcel
ID:277 | Okunma:307


 

robocopy ile bir hedefteki klasorleri baska bir hedefe kopyalayabiliyoruz. Üstelik parametreler ile onlarca seçenekle yapabiliyoruz bu işi. Ama Türkçe karakter içeren ve boşluklu hedef yolları sıkıntı çıkartabiliyor. Boşluk varsa hedefin ve kaynağın yol bilgisini çift tırnak içine alıyoruz. TR karakter içeriyorsa da batch dosyasının ilk satırına chcp 1254 şeklinde bir dil karakteri destek kodu ekliyoruz. Kodlardaki ilk tırnak arası yol kaynak, ikinci tırnak arasındaki yol hedef /s ve /e ise iki parametre, /s boş olmayan tüm alt klasörleri, /e de boş olanları da kopyalamasını söylüyor.

 

	chcp 1254

	robocopy "\\filesrv\test için bu klasörü sectik" "c:/x/test2" /s /e
co-scripts tag image robocopyspace in pathbosluk iceren yolturkce karakter iceren dosya aditurkce karakter iceren klasor adichcp 1254
ID:276 | Okunma:318