Fulltext results:
- Wordpress Snippets @computers:websites:wordpress
- Useful Code Snippets for WordPress]] ===== Deny script access ===== Add to the top of a script (after <?php) <code php> if ( !defined('ABSPATH') ) { die("<!--... s. Possible tool: http://generatewp.com/register_script/ <code php> function custom_replace_css() { //... t look in the plugin code) wp_deregister_style('script-tag'); } add_action('wp_enqueue_scripts','custom
- Zombie Slayer @computers:linux
- ====== Zombie Slayer ====== Just a cool little script to slay zombie processes. Or those dumb things that... ******************************************** This script will terminate all zombie process. Press [ENTER] ... ************************************************* Script complete." *********************************************************** </code> The script: <code bash zombie-slayer> #!/bin/bash #########
- Arpon @computers:linux
- n/service arpon'' to the path of your arpon start script, and make sure you can run ''/path/to/arpon-script start/stop <interface>''.// First, in ''/etc/defaults... from NM. Here it is: <code bash> #!/bin/sh -e # Script to dispatch NetworkManager events # # Runs ifupdo
- Dokuwiki @computers:web-engines
- ku.php?id=computers:filesystems&do= RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*):(.*)$ $1/$2 [R=301,L] </code> Make se
- PHP Notes @computers:websites
- efined.php __FILE__ //The path of the current script. __DIR__ //The directory of the current script. ==== Dump vars ==== Use print_r() and var_dump() to
- Custom Login Page @computers:websites:wordpress
- _filter( 'login_footer',function() { echo "<script>document.getElementById('rememberme').checked = true;</script>"; }); }); </code> ===== Display a Custom
- HTML notes @computers:websites
- eaName" cols="40" rows="5"></textarea> </form> <script type="text/javascript"> function changeHeight() { document.FormName.TextareaName.rows = document.FormName.RowsInputName.value; } </script> </code>
- Javascript Scriptlets @computers:websites
- rogramming/javascript/onloads/index.html <code> <script type="text/javascript"> // from http://simonwilli... oldonload(); } func(); } } } addLoadEvent( function_to_run() ); </script> </code>
- Wordpress tracking @computers:websites:wordpress
- code> add_action( 'admin_head', 'synth_admin_head_script' ); function synth_admin_head_script() { if ( !is_super_admin() || !is_admin() ) { ?> <!-- Your Ana
- Wordpress Plugins @computers:websites:wordpress
- ThickBox Plus]]** automatically applies ThickBox script that overlays linked image, inline, iFramed and A
- Vagrant @computers:virtualization
- reshing it's cache of software. So I wrote a bash script to setup the server, which was much faster. How
- Google Forms @computers:websites
- ime-monitor/21060/ http://ctrlq.org/code/19319-website-monitor-script http://www.labnol.org/tag/guide/
- Fix Audio Volume @computers:linux
- volume to 0%, muting it. So I wrote a quick bash script to fix that. Uses amixer to fix the audio. You'l
- Robots.txt Hints @computers:websites
- low: /index.php # separate directive for the main script file of WP Disallow: /*? # search results Disallo