Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
| -- Turkce isimler sozlugu twitter : http://twitter.com/baskindev | |
| CREATE TABLE `isimler` ( | |
| `id` int(11) NOT NULL AUTO_INCREMENT, | |
| `isimler` varchar(255) DEFAULT NULL, | |
| `cinsiyet` varchar(255) DEFAULT NULL COMMENT 'erkek : E , kadın : K , uniseks : U', | |
| PRIMARY KEY (`id`) | |
| ) ENGINE=InnoDB; | |
| -- ---------------------------- |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
This gist assumes:
| DROP TABLE IF EXISTS `pk_il`; | |
| CREATE TABLE `pk_il` ( | |
| `il_id` int(2) NOT NULL COMMENT 'plaka kodu', | |
| `il_adi` varchar(255) NOT NULL, | |
| PRIMARY KEY (`il_id`), | |
| KEY `il_adi` (`il_adi`) USING BTREE | |
| ) ENGINE=MyISAM; | |
| -- ---------------------------- |
* Version: 1.0
* Date: 2012-09-18
* Author: Pádraic <padraic.brady.at.gmail.com>
* Status: Under Discussion
* First Published at: http://wiki.php.net/rfc/escaper
| <?php | |
| use Doctrine\ORM\Mapping as ORM; | |
| use Doctrine\Common\Collections\ArrayCollection; | |
| /** | |
| * @ORM\Entity() | |
| * @ORM\Table(name="user") | |
| */ | |
| class User |
| <?php | |
| namespace Acme\DemoBundle\Form\DataTransformer; | |
| use Doctrine\ORM\EntityManager; | |
| use Doctrine\ORM\PersistentCollection; | |
| use Doctrine\Common\Collections\ArrayCollection; | |
| use Symfony\Component\Form\DataTransformerInterface; | |
| use Symfony\Component\Form\Exception\TransformationFailedException; |
| import { Component } from "React"; | |
| export var Enhance = ComposedComponent => class extends Component { | |
| constructor() { | |
| this.state = { data: null }; | |
| } | |
| componentDidMount() { | |
| this.setState({ data: 'Hello' }); | |
| } | |
| render() { |
| from("timer://scheduler?period=30s") | |
| .log("get access token") | |
| .to("direct:authService"); | |
| from("direct:authService").tracing() | |
| .setHeader(Exchange.HTTP_PATH) | |
| .simple("<auth service context>/oauth2/token") | |
| .setHeader("CamelHttpMethod") | |
| .simple("POST") | |
| .setHeader("Content-Type") |
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/signal" |