Good Video: https://www.youtube.com/watch?v=MRpVO2dZ_ks
#wsl --unregister DistributionName
wsl --unregister kali-linux
<?php | |
/* Sum Arrays | |
Write a function that takes an array of numbers and returns the sum of the numbers. The numbers can be negative or non-integer. If the array does not contain any numbers then you should return 0. | |
#### Examples | |
Input: [-2.398] Output: -2.398 | |
Input: [1, 5.2, 4, 0, -1] Output: 9.2 | |
Input: [] Output: 0 |
# linux | |
rm -rf ~/.config/JetBrains/PhpStorm*/eval/*.evaluation.key ~/.config/JetBrains/PhpStorm*/options/other.xml ~/.java/.userPrefs/jetbrains |
Good Video: https://www.youtube.com/watch?v=MRpVO2dZ_ks
#wsl --unregister DistributionName
wsl --unregister kali-linux
<?php | |
return [ | |
'5WHTFyqSii0lmT9R21abT8' => [ | |
['Mabel', "Don't Call Me Up"], | |
], | |
'5Jt9LBya59lo2T9qQ7jfH3' => [ | |
['Katarzyna Nosowska', 'Sobie i Wam'], | |
['Nosowska/Organek/Zalewski/Igo', 'Sobie i Wam'], | |
], |
docker exec teamcity_agent1 /bin/sh -c 'apt-get update && apt-get install -y wget docker-compose unzip' | |
docker exec teamcity_agent2 /bin/sh -c 'apt-get update && apt-get install -y wget docker-compose unzip' | |
docker exec teamcity_agent3 /bin/sh -c 'apt-get update && apt-get install -y wget docker-compose unzip' |
# Alias for Windows folder | |
alias winhome="cd /mnt/c/Users/wesolowski/Desktop/" | |
alias work="cd ~/workspace" | |
alias workspace=work | |
alias nexus="cd ~/workspace/nexus" | |
phpunit() { |
<?php | |
public function _execute(array $params = null) | |
{ | |
try { | |
$start = microtime(true); | |
if ($params !== null) { | |
$ret = $this->_stmt->execute($params); | |
} else { | |
$ret = $this->_stmt->execute(); |
[ | |
{ "keys": ["f1"], "command": "goto_documentation" }, | |
{ "keys": ["ctrl+shift+7"], "command": "toggle_comment", "args": { "block": false } }, | |
{ "keys": ["ctrl+shift+y"], "command": "upper_case" }, | |
{ "keys": ["ctrl+shift+x"], "command": "lower_case" }, | |
{ "keys": ["ctrl+shift+c"], "command": "show_panel", "args": {"panel": "console", "toggle": true} }, | |
{ "keys": ["ctrl+alt+a"], "command": "alignment" }, | |
{ "keys": ["ctrl+b"], "command": "toggle_side_bar" }, | |
{ "keys": ["ctrl+shift+d"], "command": "goto_definition" }, | |
{ "keys": ["ctrl+shift+r"], "command": "goto_symbol_in_project" }, |
curl -L https://github.com/docker/compose/releases/download/1.16.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose | |
chmod +x /usr/local/bin/docker-compose | |
pip uninstall docker-py; pip uninstall docker; pip install docker; |
<?php | |
namespace FirstPlugin; | |
use Shopware\Components\Plugin; | |
/** | |
* Class FirstPlugin | |
* @package FirstPlugin | |
*/ | |
class FirstPlugin extends Plugin | |
{ |