Skip to content

Instantly share code, notes, and snippets.

View behram's full-sized avatar
🎧
Focusing

Behram ÇELEN behram

🎧
Focusing
View GitHub Profile
<?php
namespace BulutYazilim\OjsDoiBundle\EventListener;
use BulutYazilim\OjsDoiBundle\Entity\CrossrefConfig;
use BulutYazilim\OjsDoiBundle\Service\DoiGenerator;
use Doctrine\Common\Persistence\ObjectManager;
use Ojs\CoreBundle\Events\TwigEvent;
use Ojs\AdminBundle\Events\StatEvent;
use Ojs\CoreBundle\Params\DoiStatuses;
{
"name": "ojs/workflow-bundle",
"description": "Ojs Workflow Plugin",
"repositories": [
{
"type": "vcs",
"url": "git@github.com:ojs/WorkflowBundle.git"
}
],
"require": {
{
"name": "Endorsement",
"description": "Ojs Endorsement Plugin",
"repositories": [
{
"type": "vcs",
"url": "git@github.com:ojs/EndorsementBundle.git"
}
],
"require": {
{
"name": "OjsTRDizinBundle",
"description": "TRDizin bundle for OJS",
"repositories": [
{
"type": "vcs",
"url": "https://behramcelen@bitbucket.org/bulutyazilim/ojstrdizinbundle.git"
}
],
"require": {
(function ( $ ) {
"use strict";
$.fn.jbFileUpload = function( options ) {
return this.each(function() {
// Find parent div to allow select of all important children element
var $parentTag = $(this).closest('.file-upload'),
$resultError = $parentTag.find('.jb_result_error'),
#!/usr/bin/env bash
git pull origin master &&
rm -rf app/cache/* &&
rm -rf app/logs/* &&
composer update &&
php app/console cache:clear &&
php app/console assetic:dump
@behram
behram / clone-fields-normalize.js
Created August 13, 2016 08:23
jquery clone method not support on-the-fly changes. This snippet basicly get on-the-fly value and re-set to field. I know silly but Reality.
function normalizeFormFields(){
$('#form-render-div-wrap input').each(function(){
$(this).attr('value',$(this).val());
});
$('#form-render-div-wrap input[type="checkbox"]').each(function(){
if(this.checked){
$(this).attr('checked', 'checked');
}else{
$(this).removeAttr('checked');
}
title
Kullandığım üretken Chrome Eklentileri

Zamanı verimli kullanmak önemli mesele. Bazı araçlar efsane derecede zaman kazandırabiliyor veya işinizi fazlasıyla kolaylaştırabiliyor. Benim kullandığım bazı Chrome eklentileri. En sağlam olanlarını yazacağım çünkü totalde 150 ye yakın extension var Chrome da :)


Bilgisayarda benim gibi günde ortalama 13 saat geçiriyorsanız zamanınızı nasıl kullandığınız önemli olmaya başlıyor bu tool sayesinde efsane istatislikler alabiliyorsunuz. Hangi uygulama ,sitede ne kadar vakit geçirdiğiniz. Üretkenlik ve eğlence için geçirdiğiniz zamanlar vs. Filtreleme vs. birçok güzel özelliği mevcut. Üstelik android, chrome ve desktop client ları mevcut 7/24 neler yaptığınızı track edebilirsiniz. image

<?php
namespace Ojs\JournalBundle\Entity;
use APY\DataGridBundle\Grid\Mapping as GRID;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use JMS\Serializer\Annotation as JMS;
use JMS\Serializer\Annotation\ExclusionPolicy;
use JMS\Serializer\Annotation\Expose;
find src/* -name "*Test.php" | bin/fastest --before="bin/initORM.php test" --verbose --preserve-order --process=4 "bin/phpunit -c app {};"