This file contains 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
document.getElementsByTagName("BUTTON")[0]; |
This file contains 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
@media all and (min-width: 480px) and (max-width: 900px) { | |
td.col_1{ | |
display:none; | |
width:0; | |
height:0; | |
opacity:0; | |
visibility: collapse; | |
} |
This file contains 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
{# src/DMW/DemoBundle/Resources/views/Notice/index.html.twig #} | |
{% extends 'DMWDemoBundle::layout.html.twig' %} | |
{% block content %} | |
<div> | |
<p>Noticias recientes</p> | |
<ol> | |
{% for index,notice in notices %} | |
<li><a href="{{ path('DMWDemoBundle_noticeView', {'notice_id': index}) }}">{{notice.title}}</a></li> | |
{% endfor %} |
This file contains 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
Example especific download commit with bitbucket , writing sha commit. | |
https://bitbucket.org/maccevedor/educampbackup/get/0512644.zip |
This file contains 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
Github Tree View If the repo is in github, you can navigate to the tree view of the repo at https://github.com/<repo_name>/tree/<commit_sha> Then clicking on the Download ZIP button on the right-hand navigation bar will download the codes of that repo up to the specified commit. | |
Clone The Repo And Checkout The Specific Commit This will set the HEAD of your master to point to commit_sha. git clone -n <repo_name> git checkout <commit_sha> | |
Clone The Repo And Checkout The Specific Commit Into A Branch This will set the HEAD of your new_branch to point to commit_sha. git clone -n <repo_name> git checkout -b <new_branch> <commit_sha> |
This file contains 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
Sudo rm -Rf file |
This file contains 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
sudo chmod -R 777 app/*.* |
This file contains 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
/** | |
* @var string $title | |
* | |
* @ORM\Column(name="title", type="string", length=255) | |
* @Assert\NotNull(message="Debe escribir un titulo") | |
*/ | |
private $title; |
This file contains 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
echo "Mauricio Acevedo|" >> contributors.txt | |
git add contributors.txt | |
git commit -m 'Initial commit with contributors'git push -u origin master |
This file contains 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
$em = $this->getDoctrine()->getEntityManager(); | |
$dql = "select a from MDWDemoBundle:Articles a"; | |
$query = $em->createQuery($dql); | |
$articulos = $query->getResult(); |