# remove php5 modules
apt-get autoremove --purge php5-*
# add php-7.0 source list by [Ondřej Surý](https://github.com/oerdnj)
add-apt-repository ppa:ondrej/php
# Update index
apt-get update
# Install php7.0-fpm with needed extensions
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
<?php | |
/** | |
* Convert a comma separated file into an associated array. | |
* The first row should contain the array keys. | |
* | |
* Example: | |
* | |
* @param string $filename Path to the CSV file | |
* @param string $delimiter The separator used in the file | |
* @return array |
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
#!/bin/bash | |
LDFLAGS="" CPPFLAGS="" CFLAGS="-g -O2" ./configure \ | |
--with-compiledby="jadson" \ | |
--enable-fail-if-missing \ | |
--enable-cscope \ | |
--enable-gpm \ | |
--enable-selinux \ | |
--disable-smack \ | |
--with-features=huge \ |
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
{ | |
// Visuals. | |
"workbench.colorTheme": "Material Theme", | |
"workbench.iconTheme": "eq-material-theme-icons", | |
"editor.fontSize": 13, | |
// Make it more cleaner. | |
"explorer.openEditors.visible": 0, | |
"workbench.activityBar.visible": true, | |
"editor.minimap.enabled": false, |
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
// Place your key bindings in this file to overwrite the defaults | |
[ | |
// Vim keybindings. | |
{ | |
"key": "alt+1", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "ctrl+b", | |
"command": "-workbench.action.toggleSidebarVisibility" |
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
<?php | |
/* | |
Дана строка текста. | |
Написать программу на рнр, которая определяет является ли строка текста палиндромом (читается с обоих сторон одинаково) | |
и осуществляет вывод строки следующим способом: | |
а) если строка является палиндромом, то она выводится полностью. | |
б) если строка не является палиндромом - выводится самый длинный под-палиндром этой строки, т.е. самая длинная часть строки, | |
являющаяся палиндромом | |
в) если подпалиндромы отсутствуют в строке - выводится первый символ строки. |
I hereby claim:
- I am themy3 on github.
- I am themy3 (https://keybase.io/themy3) on keybase.
- I have a public key ASDR3bNtzAHTcdDrQnPmv4nPlKuQJHazGVB7gp74MF58_wo
To claim this, I am signing this object:
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
{ | |
"updateurl": "https://lolfinder.net/samp/BankHelper.lua", | |
"latest": "7.2", | |
"new": "1.1: Изменил меню, исправил баги. \n\n1.2: Теперь при еде оленины или чипсов, не будет отображаться диалог.\n\n1.3: Изменил названия окон, добавил автохил, добавил новые темы.\n\n1.4: Обновил систему автооплаты налогов, добавил оплату комуналки,\n\n добавил в автоеду и автохил с расстояния,фикс мелких багов.\n\n1.5: Исправил много багов.\n\n1.6: fix маленьких багов.\n\n2.0: Добавил АнтиАфк.\n\n3.0: Теперь скрипт сам понимает, какой строчкой\nвсе расположено, исправил много багов.\n\n3.1: Исправил баги\n\n3.2: Добавил скрытие пароля,восстановление настроек с кфг\n\n4.0: Добавил, что скрипт понимает сколько у вас имущества на оплату!\n\n4.1: Фикс багов\n\n4.2: Добавил проверку обновления.\n\n5.0: Сделал уведомления ВК о разных событиях.\n\n5.1: Провел работу по предложениям, пофиксил баги.\n\n6.0: Работа над дизайном.\n7.0: Изменения:\n\n- Добавлены новые темы оформления\n\n- Максимальный депозит увеличен до 10.000.000$\n |