- Assuming that you have already installed php and apache
- Install xDebug php extension
# Ubuntu 16.04, php 7.0
sudo apt-get install php-xdebug
# Ubuntu 14.04, php 5.6
sudo apt-get install php5-xdebug
[user] | |
name = Pavan Kumar Sunkara | |
email = [email protected] | |
username = pksunkara | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
excludesfile = ~/.gitignore | |
[sendemail] | |
smtpencryption = tls |
# Ubuntu 16.04, php 7.0
sudo apt-get install php-xdebug
# Ubuntu 14.04, php 5.6
sudo apt-get install php5-xdebug
selectr: | |
remote: https://github.com/Mobius1/Selectr | |
license: | |
name: MIT | |
url: https://github.com/Mobius1/Selectr/blob/master/LICENSE | |
gpl-compatible: true | |
css: | |
theme: | |
https://cdn.jsdelivr.net/gh/mobius1/selectr@latest/dist/selectr.min.css: { type: external, minified: true } | |
js: |
/** | |
* AJAX process step | |
*/ | |
public function processStep(array &$form, FormStateInterface $form_state) { | |
$ajax_response = new AjaxResponse(); | |
$ajax_response->addCommand(new ReplaceCommand( | |
'h1.page-title', | |
'<h1 class="page-title">' . $this->getTitle() . '</h1>' | |
)); |
i = int(input()) | |
a = [int( input()) for x in range(i)] | |
listDel = [] | |
def delit(n): | |
w = [] | |
for i in range(1,n // 2 + 1): | |
if n % i == 0: | |
w.append(i) |
w = int(input()) | |
a = [int( input()) for x in range(w)] | |
y = [] | |
w = [] | |
def delit(n): | |
for i in range(1,n+1): | |
if n % i == 0: | |
w.append(i) | |
return w | |
print(dilit(min(a)) |
stroka = input() # Мы читаем ВСЮ строку в переменную | |
#stroka = 'bye bye.' | |
mywords = stroka[0:-1].split() # разделяем split() строку без последнего символа '.' | |
min = len(mywords[0]) + len(mywords[1]) | |
res = mywords[0] + ' ' + mywords[1] | |
for i in range(1, len(mywords)-1): | |
cur = len(mywords[i]) + len(mywords[i+1]) | |
if(cur < min): | |
res = mywords[i] + ' ' + mywords[i+1] | |
min = cur |
{ | |
"name": "Drupal 8 Composer Build", | |
"description": "Project json for a Drupal 8 sites", | |
"type": "project", | |
"require": { | |
"composer/installers": "^1.0.20", | |
"drupal-composer/drupal-scaffold": "^2.0.0", | |
"cweagans/composer-patches": "^1.5.0", | |
"drupal/core": "~8", | |
"drupal/lightning": "~8.1", |