Instantly share code, notes, and snippets.
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 /** @noinspection PhpUnused */ namespace App\DQL; use Doctrine\ORM\Query\AST\Functions\FunctionNode; use Doctrine\ORM\Query\Lexer; use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\QueryException;<?php $s = $container->get('serializer'); $r = $s->normalize($entity); $json = $s->serialize($entity, 'json');
json へのシリアライズも簡単
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 # Postgresqlに接続できなくなった時 ```bash rm /usr/local/var/postgres/postmaster.pid ```UPDATE blog.table_a SET val = B.val FROM blog.table_b AS B WHERE table_a.id = B.id;
Symfony のセキュリティ
Security の指示に従ってインストール
security-bundle も最初から入っている
`Ext.mixin.Mashup’ を使う
mixins: [
'Ext.mixin.Mashup'
],
Sencha の Ext JS を使っていて、「あれ、どうするんだっけ?」と忘れてしまいがちなことをメモしておきます。
Grid の変更マーク (赤い小さな三角形) を表示させないviewConfig: { markDirty: false },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 displayTpl : [ '<tpl for=".">', '{[typeof values === "string" ? values : values["id"]]}', " : ", '{[typeof values === "string" ? values : values["name"]]}', '<tpl if="xindex < xcount">, </tpl>', '</tpl>' ], 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 Ext.define("MyApp.view.edit.Edit",{ extend: "Ext.form.Panel", xtype: 'myedit', viewModel: { type: "edit-edit" }, bodyPadding: 10,
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4