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
# ~/.bashrc | |
# Spusti php built-in server a otevre prohlizec | |
function psrv() { | |
PORT=8888 | |
ADDRESS='localhost' | |
BROWSER="chromium-browser" | |
[[ -n "$1" ]] && PORT=$1 | |
[[ -n "$2" ]] && ADDRESS=$2 | |
[[ -n "$3" ]] && BROWSER=$3 |
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
class CTable { | |
public: | |
CTable(); | |
~CTable(); | |
void insert(std::vector<std::pair<std::string,CColumn*> > params); | |
void select(std::string column); | |
void deleteRows(std::vector<int> rows); | |
void printRows(std::vector<int> rows, std::vector<std::string> columns); | |
void insertRows(std::vector<std::string> values); | |
std::vector<int> findBy(std::string column, std::string value); |
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
/** | |
* @Route("/{room}/new", name="model_new") | |
* @Template() | |
*/ | |
public function newAction(Request $request,$room) | |
{ | |
$form = $this->createForm(new RoomModelType(), new RoomModel()); | |
if($request->isMethod('POST')) | |
{ |
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
/** | |
* @Route("/{model}", name="model_view") | |
* @Template() | |
*/ | |
public function viewAction($model) | |
{ | |
/** @var EntityManager $entityManager */ | |
$entityManager = $this->getDoctrine()->getManager(); | |
/** @var RoomModel $model */ | |
$model = $entityManager |
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
1. Jakými instrukcemi v jazyce symbolických instrukcí (asembleru) můžete měnit pořadí provádění instrukcí? | |
Podmíněný skok | |
Nepodmíněný skok | |
Skok do podprogramu (typicky call) |
NewerOlder