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
| rules: | |
| # CRITICAL - SECURITY | |
| # Projects must not depend on dependencies with known security issues | |
| composer.security_issue_in_composer: | |
| enabled: true | |
| # Database queries should use parameter binding | |
| doctrine.database_query_contains_string_and_variable_concatenation: | |
| enabled: true | |
| # PHP debug statements found | |
| php.debug_statements: |
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
| <html> | |
| <head> | |
| <script> | |
| $(document).ready(function() { | |
| $("form").submit(function(){ | |
| $("#demo").autolink(); | |
| $("#demo").mailto(); | |
| $("#demo").highlight("defeated", '<span style="background-color:#FFFF7F;">$1</span>'); | |
| $("input[type='submit']").attr('disabled', 'disabled').val('Done'); | |
| return false; |
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
| #!/bin/bash | |
| TEMP_FILE=/tmp/available-updates.log | |
| apt-get update | |
| sleep 5 | |
| dpkg --get-selections | xargs apt-cache policy {} | grep -1 Installed | sed -r 's/(:|Installed: |Candidate: )//' | uniq -u | tac | sed '/--/I,+1 d' | tac | sed '$d' | sed -n 1~2p > $TEMP_FILE |
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
| #!/bin/bash | |
| # **************************************************************** | |
| # IPTables path | |
| # **************************************************************** | |
| IPT=/sbin/iptables | |
| # **************************************************************** | |
| # Remove/Erase old rules |
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
| #!/bin/bash | |
| # | |
| # Program: SSL Certificate Check <ssl-cert-check> | |
| # | |
| # Source code home: http://prefetch.net/code/ssl-cert-check | |
| # | |
| # Documentation: http://prefetch.net/articles/checkcertificate.html | |
| # | |
| # Author: Matty < matty91 at gmail dot com > | |
| # |
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
| #!/bin/bash | |
| PO_TOKEN="" | |
| PO_USER="" | |
| PO_BIN=/usr/local/bin/pushover | |
| ZB_TO=$1 | |
| ZB_SUBJECT=$2 | |
| ZB_BODY=$3 |
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
| #!/bin/sh | |
| if [ ! -d /mnt/fio_test ]; then mkdir /mnt/fio_test; fi | |
| for RUN in 1 2; do | |
| rm -f /mnt/fio_test/* | |
| fio --directory=/mnt/fio_test \ | |
| --name fio_test_file --direct=1 --rw=randread --bs=16k --size=1G \ | |
| --numjobs=2 --time_based --runtime=180 --group_reporting --norandommap | |
| sleep 5 |
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
| curl -sS https://getcomposer.org/installer | sudo 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
| # In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env | |
| # variable pointing GPG to the gpg-agent socket. This little script, which must be sourced | |
| # in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start | |
| # gpg-agent or set up the GPG_AGENT_INFO variable if it's already running. | |
| # Add the following to your shell init to set up gpg-agent automatically for every shell | |
| if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then | |
| source ~/.gnupg/.gpg-agent-info | |
| export GPG_AGENT_INFO | |
| else |
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
| function urlObject(options) { | |
| "use strict"; | |
| /*global window, document*/ | |
| var url_search_arr, | |
| option_key, | |
| i, | |
| urlObj, | |
| get_param, | |
| key, |
OlderNewer