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
bla bla |
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
import React from 'react'; | |
/** | |
* Method container for React. Very helpful to avoid boilerplate code. | |
* | |
* export default methodContainer((props) => { method, param }, Component) | |
* Will send {error, data, ready} as props to the specified Component | |
* | |
* On behalf of www.drivindu.com | |
* |
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
root@datati [~]# pecl install zip | |
downloading zip-1.10.2.tgz ... | |
Starting to download zip-1.10.2.tgz (236,912 bytes) | |
.................................................done: 236,912 bytes | |
61 source files, building | |
running: phpize | |
Configuring for: | |
PHP Api Version: 20100412 | |
Zend Module Api No: 20100525 | |
Zend Extension Api No: 220100525 |
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
<script> | |
$(function(){ // functie care e rulata odata ce este incarcata pagina | |
$(".datepicker").datepicker(); // va atasa evenimentul pe toate inputurile care au clasa datepicker | |
}); | |
</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
<?php | |
public function findNewTasksForUser($id) | |
{ | |
return | |
$this->createQueryBuilder('t') | |
->where('t.taskAdmin = :id AND t.properties & :admin_new_message = :admin_new_message | |
AND t.properties & :admin_new_task = :admin_new_task') | |
->orWhere('t.taskDuer = :id AND t.properties & :duer_new_message = :duer_new_message | |
AND t.properties & :duer_new_message = :duer_new_message') |