- Grunt - The JavaScript Task Runner
- Bower - A package manager for the web
- Component - Component package manager for building a better web.
- AngularJS - MVC Javascript framework
- Sencha, Dojo...
Kinohled.cz za 2 týdny Vojtěch Semecký
node { | |
wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'XTerm', 'defaultFg': 1, 'defaultBg': 2]) { | |
wrap([$class: 'TimestamperBuildWrapper']) { | |
... steps... and other stuff | |
} | |
} | |
} |
<?php | |
class AcceptanceTester extends \Codeception\Actor | |
{ | |
use _generated\AcceptanceTesterActions; | |
public function retryOnFailure(callable $callback, int $times = 3) | |
{ | |
while ($times > 0) { | |
try { | |
$callback($this); |
<?php | |
class User | |
{ | |
public function getThis() | |
{ | |
return $this; | |
} | |
public function setThis($that) | |
{ |
<?php | |
class UserType extends \Symfony\Component\Form\AbstractType | |
{ | |
public function buildForm(\Symfony\Component\Form\FormBuilderInterface $builder, array $options) | |
{ | |
$builder->add('name', CompoundType::class, [ | |
'inherit_data' => true, | |
]); | |
$builder->addEventListener(\Symfony\Component\Form\FormEvents::POST_SET_DATA, function (\Symfony\Component\Form\FormEvent $event) { |
<?php | |
class NameType extends \Symfony\Component\Form\AbstractType | |
{ | |
public function buildForm(\Symfony\Component\Form\FormBuilderInterface $builder, array $options) | |
{ | |
$builder->add('firstName', 'text'); | |
$builder->add('lastName', 'text'); | |
} | |
} |
#!/bin/sh | |
if [ `id -u` -ne '0' ]; then | |
echo "This script must be run as root" >&2 | |
exit 1 | |
fi | |
drive=$1 | |
volume_group=$2 | |
volume_group_location=$3 |
<?php | |
namespace Example; | |
class Example | |
{ | |
public function doSomething() | |
{ | |
eval('ls -la'); | |
} | |
} |
Kinohled.cz za 2 týdny Vojtěch Semecký
joind.in: http://joind.in/talk/view/8040 slides: https://speakerdeck.com/ianbarber/event-stream-processing-in-php
clc | |
clear all | |
valuesCount = 10; | |
values = []; | |
valuesFound = 0; | |
highestInterval = input('Zadej horni interval: '); | |
lowestInterval = input('Zadej dolni interval: '); | |
for x = 1:valuesCount |