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
#!/usr/bin/php | |
<?php | |
/** | |
* create a bin directory in your symfony application | |
* save this script into this bin directory "config_parameters | |
* create a token file like prod.ini | |
* add your token like this: __MYSQL_DB__="foobar" | |
* rename your parameters.yml to parameters.yml.dist | |
* replace your values with tokens like this |
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
sudo strace -e open,access,write,signal -p $(pidof php) |
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
#!/usr/bin/python | |
# | |
# this script will add / remove the ip for a list of users | |
# author: gazari | |
# | |
# create a file : ~/.glftpd/user-ip-config.yml | |
# | |
# enter user/host like this: | |
#user: | |
# - host1 |