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
<?php | |
/** | |
* | |
* @author Paulo Silva(Exadra37) exadra37 in gmail point com | |
* @package exadra37/PDO | |
* @version 0.0.1 | |
* @since 24/01/2014 | |
* | |
*/ |
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
<?php | |
/** | |
* getAllColumnsNamesFromMysqlTable.php | |
* | |
* @author Paulo Silva(Exadra37) exadra37 in gmail point com | |
* @package exadra37/PDO | |
* @version 0.0.2 | |
* @since 24/01/2014 - v.0.0.1 | |
* 25/01/2014 - v.0.0.2 |
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
/** | |
* | |
* @author Paulo Silva(Exadra37) exadra37 in gmail point com | |
* @package Exadra37/Mysql-Examples | |
* @version 0.0.1 | |
* @since 28/01/2014 - v.0.0.1 | |
* | |
*/ | |
INSERT INTO stores (storeName, address, phone) |
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
/** | |
* - Securing PhpMyAdmin instalation in Ubuntu server | |
* | |
* @author Paulo Silva(Exadra37) <exadra37ingmailpointcom> | |
* @package Exadra37/SecurePhpMyAdmin | |
* @version 1.0.1 | |
* @since 30/01/2014 - v.1.0.0 | |
* 05/06/2014 - v.1.0.1 | |
* | |
*/ |
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
<?php | |
/** | |
* Converts a CamelCase word into snake_case | |
* - improved version of http://stackoverflow.com/a/19533226 | |
* - this version avoid failing when using the $input = "_ThisIsATest_To_check_this" | |
* . stack overlow answer will output "__this_is_atest__to_check_this" | |
* . this improved version will output "this_is_a_test_to_check_this" | |
* | |
* @author Exadra37 exadra37 in gmail point 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
<?php | |
/** | |
* UserAgentDetector | |
* | |
* @author Exadra37 | |
* @license Free to use at your own risk. Provided as it is, without any warranty that will work for you. | |
* @link http://presta-hosting.com | |
* @version 1.0.1 | |
* @since v.1.0.0 - 09/03/2014 |
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
<!-- http://silviomoreto.github.io/bootstrap-select/ --> | |
<select id="compare" class="selectpicker" data-style="btn-success" data-max-options="2" title="Compare Settings" data-width="25em" multiple> | |
<optgroup class="multiple-options" label="Compare" data-max-options="1"> | |
<option class="exadra37-1-selection-by-group exadra37-group-compare" title="Compare Daily" selected>Daily</option> | |
<option class="exadra37-1-selection-by-group exadra37-group-compare" title="Compare Weekly">Weekly</option> | |
<option class="exadra37-1-selection-by-group exadra37-group-compare" title="Compare Monthly">Monthly</option> | |
</optgroup> | |
<optgroup class="multiple-options" label="Against" data-max-options="1"> | |
<option class="exadra37-1-selection-by-group exadra37-group-against" title="Against Previous Week" selected>Previous Week</option> | |
<option class="exadra37-1-selection-by-group exadra37-group-against" title="Against Last Year">Last Year</option> |
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
<?php | |
/** | |
* | |
* @author Exadra37 | |
* @package exadra37/tools | |
* @version 1.0.0 | |
* @since 1.0.3 - 19/09/2014 | |
* 1.0.2 - 15/09/2014 | |
* 1.0.1 - 15/09/2014 |
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 | |
# | |
# Will uninstall / remove completely mysql from your system | |
# This script was done to work in Ubuntu 13.10, but can be easily modified to work in other distributions | |
# | |
# @author Exadra37 | |
# @version 1.0.0 | |
# @since 14/10/2014 | |
# @see http://askubuntu.com/a/172516 | |
# http://stackoverflow.com/a/16178696 |
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 | |
# @author Paulo Silva <exadra37atgmailpointcom> | |
# @since 2014/08/20 | |
echo -e "\n Import CSV File to Database \n"; | |
error=0; | |
if [ "$1" != "-h" ] || [ "$1" != "--help" ] | |
then |
OlderNewer