This file contains hidden or 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
#use bitbucket development variables where you see in the yaml script ---> ${VARIABLE} or $VARIABLE | |
prepare-docker-image-for-laravel: &prepare-docker-image-for-laravel | |
name: prepare docker image | |
artifacts: | |
- vendor/** | |
- composer | |
#services: | |
# - mysql | |
script: |
This file contains hidden or 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
UPDATE users | |
INNER JOIN ( | |
SELECT sk.username, sk.name, sk.surname, sk.last_access, TO_DAYS(CURDATE()) - TO_DAYS(LEFT(last_access,10)) AS passive_days | |
FROM users AS sk | |
WHERE ( TO_DAYS(CURDATE()) - TO_DAYS(LEFT(last_access,10)) >= 8 OR (last_access='0000-00-00 00:00:00' AND TO_DAYS(CURDATE()) - TO_DAYS(LEFT(created_at,10)) >= 8) ) | |
AND sk.id > 0 | |
AND status NOT IN (0,-1) | |
) AS SQL1 ON SQL1.username = users.username | |
SET sys_kullanici.status = -30 |
This file contains hidden or 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
defaults write com.apple.dock autohide-delay -float 1000; killall Dock | |
To restore the default behavior: | |
defaults delete com.apple.dock autohide-delay; killall Dock |
This file contains hidden or 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 | |
/** | |
* @param $sayi | |
* @param string $seperator | |
* @return float|int | |
* | |
* Fiyat gösteriminde son haneyi sürekli 5 ya da 0 olacak şekilde yukarı yuvarlıyor. | |
* 99.99 => 100 | |
* 10.02 => 10.05 |