#Useful Wordpress plugins
- Admin Bar
- Debug Bar
- Disable User Gravatar
- TinyMCE Advanced
- WP Minify
- W3 Total Cache
- Geo Redirect
- Widget Context
| function show_my_videos(data){ | |
| html = ['<ul id="videos">']; | |
| $(data.data.items).each(function(item) { | |
| id = item.id; | |
| description = item.title; | |
| html.push('<iframe width="560" height="315" src="//www.youtube.com/embed/'+ id +'" frameborder="0" allowfullscreen></iframe>'); | |
| }); | |
| $("#videos").html(html.join('')); | |
| } | |
| // Replace [YOUTUBE_CHANNEL] with the channel you want |
| /*! | |
| * Datepicker for Bootstrap | |
| * | |
| * Copyright 2012 Stefan Petre | |
| * Licensed under the Apache License v2.0 | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| */ | |
| .datepicker { | |
| top: 0; |
| /** | |
| * Dumping a variable surrounded with <pre> tag. | |
| * @param object $var the variable to dump | |
| * @param boolean $die wether to die() after printing the output | |
| * @return null | |
| */ | |
| function d($var, $exit = false) { | |
| echo "<pre dir='ltr'>"; | |
| ob_start(); | |
| if(is_array($var)) { |
| #!/bin/bash | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "This script must be run as root" 1>&2 | |
| exit 1 | |
| fi | |
| if [ $# -lt 2 ]; then | |
| echo "No arguments supplied!" | |
| echo "Usage: sudo scriptname directory_name server_name" |
| { | |
| "auto_match_enabled": true, | |
| "bold_folder_labels": true, | |
| "caret_extra_bottom": 2, | |
| "caret_extra_top": 2, | |
| "caret_style": "phase", | |
| "color_inactive_tabs": true, | |
| "color_scheme": "Packages/Predawn/predawn.tmTheme", | |
| "detect_slow_plugins": false, | |
| "fade_fold_buttons": true, |
#Useful Wordpress plugins
##Performance
powertop via apt-get, then run it as root (via sudo), go to Tunables tab, and change all items to be Good instead of Bad.Power Saver or Power On Demand.##Basics
##General: