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/env php | |
<?php | |
/** | |
* A very simple and basic utility that can be used to pipe phpmd errors and format | |
* in a cleaner way. This suits MY requirements and you will probably want line numbers | |
* etc so edit as you see fit. | |
* | |
* Example use: | |
* vendor/bin/phpmd ./src xml ./ruleset.xml | bin/phpmd-pretty |
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 | |
# A simple bash script which will generate 2 csv files; database sizes and | |
# table sizes for all databases. | |
# | |
# This does use performance_schema so ya know... take it with a pinch of salt. | |
CLUSTER_HOST=$1 | |
CLUSTER_PORT=3306 | |
CLUSTER_REF=$2 |
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 | |
include('vendor/autoload.php'); | |
$sprint = $argv[1]; | |
$email = ''; | |
$token = ''; | |
$domain = ''; | |
$project = ''; | |
$type = ''; |
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 | |
########################################################################### | |
# | |
# Very very rough script! Does not work well! | |
# | |
# Will monitor a slack channel (has to be public unless you give it special | |
# permissions) for a specific user and if there is a message in the last 30 | |
# seconds will play a sound file of your choosing. Obviously not great | |
# for conversational channels. | |
# |
OlderNewer