Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
1,google.com,216.58.217.14 | |
2,youtube.com,216.58.217.46 | |
3,facebook.com,31.13.66.36 | |
4,baidu.com,180.149.132.47 | |
5,wikipedia.org,208.80.153.224 | |
6,yahoo.com,206.190.36.45 | |
7,google.co.in,216.58.217.35 | |
8,twitter.com,104.244.42.129 | |
9,amazon.com,54.239.26.128 | |
10,qq.com,125.39.240.113 |
<?php | |
namespace App\Http\Livewire; | |
use App\Product; | |
use Livewire\Component; | |
use Livewire\WithPagination; | |
class Datatable extends Component | |
{ |
<?PHP | |
/** | |
* Spintax - A helper class to process Spintax strings. | |
* | |
* @author Jason Davis - https://www.codedevelopr.com/ | |
* | |
* Tutorial: https://www.codedevelopr.com/articles/php-spintax-class/ | |
* | |
* Updated with suggested performance improvement by @PhiSYS. |
// Highcharts CheatSheet Part 1. | |
// Create interactive charts easily for your web projects. | |
// Download: http://www.highcharts.com/download | |
// More: http://api.highcharts.com/highcharts | |
// 1. Installation. | |
// Highcharts requires two files to run, highcharts.js and either jQuery, MooTools or Prototype or the Highcharts Standalone Framework which are used for some common JavaScript tasks. | |
// <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
// <script src="https://code.highcharts.com/highcharts.js"></script> |
/* -------------------------- | |
Utility classes | |
-------------------------- */ | |
.clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;} | |
.flush-c {text-align:center;} | |
.flush-l {text-align:left;} | |
.flush-r {text-align:right;} | |
.inlineList li {display:inline;list-style-type:none;} |
function richwp_scripts_styles() { | |
wp_enqueue_style( 'richwp-style', get_stylesheet_uri(), '', '1.0', false ); | |
wp_enqueue_script( 'modernizr', get_template_directory_uri() . '/js/modernizr-2.6.1.min.js', '', '1.0', false); | |
wp_enqueue_script( 'jquery' ); | |
wp_enqueue_script( 'plugins', get_template_directory_uri() . '/js/plugins.js', array('jquery'), '1.0', true); | |
} | |
add_action( 'wp_enqueue_scripts', 'richwp_scripts_styles' ); |
<?php | |
/** | |
* Enable shortcodes in widgets | |
*/ | |
add_filter('widget_text', 'do_shortcode'); | |
/** |