Skip to content

Instantly share code, notes, and snippets.

View behram's full-sized avatar
🎧
Focusing

Behram ÇELEN behram

🎧
Focusing
View GitHub Profile
#!/usr/bin/env php
<?php
function executing($cmd) {
echo $cmd.PHP_EOL;
system($cmd);
}
function runInit($env) {
Index: app/config/config_test.yml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- app/config/config_test.yml (date 1468412236000)
+++ app/config/config_test.yml (revision )
@@ -1,6 +1,9 @@
imports:
- { resource: config_dev.yml }
server {
listen 80;
server_name ojs.dev *.ojs.dev 14bc8056.ngrok.io;
client_max_body_size 1024M;
proxy_intercept_errors on;
fastcgi_intercept_errors on;
error_page 404 /;
root /var/www/ojs/web ;
sendfile off;
expires off;
[2016-06-09 13:38:52] request.INFO: Matched route "bulut_yazilim_workflow_flow_timeline". {"route_parameters":{"_controller":"BulutYazilim\\WorkflowBundle\\Controller\\FlowController::timelineAction","journalId":"58","flow":"6a551a67-b8e2-427f-a31a-267d39bf8ba5","_route":"bulut_yazilim_workflow_flow_timeline"},"request_uri":"http://ojs.dev/journal/58/workflow/flow/6a551a67-b8e2-427f-a31a-267d39bf8ba5"} []
[2016-06-09 13:38:52] security.DEBUG: Read existing security token from the session. {"key":"_security_main"} []
[2016-06-09 13:38:53] doctrine.DEBUG: SELECT t0.username AS username_1, t0.username_canonical AS username_canonical_2, t0.email AS email_3, t0.email_canonical AS email_canonical_4, t0.enabled AS enabled_5, t0.salt AS salt_6, t0.password AS password_7, t0.last_login AS last_login_8, t0.locked AS locked_9, t0.expired AS expired_10, t0.expires_at AS expires_at_11, t0.confirmation_token AS confirmation_token_12, t0.password_requested_at AS password_requested_at_13, t0.roles AS roles_14, t0.credentials
cd /private/var/www/ojs/;
php app/console d:s:d --force;
php app/console ojs:install;
php app/console ojs:install:samples;
php app/console h4cc_alice_fixtures:load:sets;
php app/console ojs:normalize:translatable:objects;
#php app/console ojs:mail:events:sync;
php app/console ojs:mail:events:sync --sync-desc
php app/console dergipark:journal:application:migration
-='cd -'
...=../..
....=../../..
.....=../../../..
......=../../../../..
1='cd -'
2='cd -2'
3='cd -3'
4='cd -4'
5='cd -5'
http POST http://yuvido.dev/api/oauth/v2/token \
grant_type=password \
client_id=1_3bcbxd9e24g0gk4swg0kwgcwg4o8k8g4g888kwc44gcc0gwwk4 \
client_secret=4ok2x70rlfokc8g0wws8c8kwcokw80k44sg48goc0ok4w0so0k \
username=admin \
password=admin
GET /search/_search
{
"query": {
"bool": {
"should": [
{
"bool": {
"must": [
{
"match": {
mail_address[;name][;surname]
mail_address[;name][;surname]
mail_address[;name][;surname]
mail_address[;name][;surname]
mail_address[;name][;surname]
mail_address[;name][;surname]
mail_address[;name][;surname]
hakan@gmail.com;hakan;salem
selim@gmail.com;selim;solar
kerem@gmail.com;kerem;solmaz
emre@gmail.com;sdfsd;kazim
ali@gmail.com;ali;
yusuf@gmail.com;sdfsd;sdfgsd
berkan@gmail.com;berkan;sdfgsd
kadir@gmail.com;sdfsd;sdfgsd