disabled pty mode: Ctrl+Shift+A | Registry | go.run.processes.with.pty
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
[xdebug] | |
#xdebug.discover_client_host = true | |
xdebug.client_host = host.docker.internal | |
xdebug.client_port = 9123 | |
xdebug.idekey = "PHPSTORM" | |
xdebug.max_nesting_level = 250 | |
xdebug.mode = debug | |
xdebug.start_with_request = trigger | |
xdebug.profiler_output_name = cachegrind.out.%p_%s | |
xdebug.output_dir = "/var/www/xxx/local/profiles/" |
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
Удалите все файлы из /local/modules/sale |
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
| Сначала делаем локальный сертификат | |
Create folder | |
```bash | |
mkdir /root/ssl | |
``` | |
1. Generate root authority center | |
```bash |
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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: filebeat-config | |
namespace: ingress-nginx | |
labels: | |
app: filebeat | |
data: | |
filebeat.yml: |- | |
filebeat.autodiscover: |
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
<script> | |
function fnChangeSelect(e) { | |
domain.type_id = e.target.value | |
} | |
$: if (domain.type_id) { | |
document.getElementById('type').value = domain.type_id | |
} | |
</script> |
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
Settings - Terminal | |
Env - CHERE_INVOKING=1 | |
Shell path - "C:\cygwin64\bin\bash.exe" --login -i |
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
for fn in $(docker ps -aqf "name=php"); do | |
docker exec $fn /usr/lib/php/sessionclean | |
done |
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
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
var chExit chan struct{} | |
const TimeSleepRecover = 10 |
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
-- Create a group | |
CREATE ROLE readaccess; | |
-- Grant access to existing tables | |
GRANT USAGE ON SCHEMA public TO readaccess; | |
GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess; | |
-- Grant access to future tables | |
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess; |
NewerOlder