This file contains hidden or 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
import sys | |
import matplotlib.pyplot as plt | |
def connect_close(figure=None): | |
def press_key(event): | |
if event.key == 'escape': | |
plt.close('all') | |
sys.exit(0) | |
if not figure: |
This file contains hidden or 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
FROM php:7.1-apache | |
RUN apt-get update \ | |
&& apt-get install -y --no-install-recommends git zlib1g-dev libicu-dev \ | |
&& docker-php-ext-configure intl \ | |
&& docker-php-ext-install intl gettext zip pdo pdo_mysql \ | |
&& a2enmod rewrite \ | |
&& sed -i 's!/var/www/html!/var/www/web!g' /etc/apache2/sites-available/000-default.conf \ | |
&& mv /var/www/html /var/www/web \ | |
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer |
This file contains hidden or 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
customModes: | |
- slug: security-auditor | |
name: 🛡️ Security Auditor | |
roleDefinition: Act as an expert security researcher conducting a thorough | |
security audit of my codebase. Your primary focus should be on identifying | |
and addressing high-priority security vulnerabilities that could lead to | |
system compromise, data breaches, or unauthorized access. | |
customInstructions: >- | |
Follow this structured approach: |
OlderNewer