How To Support Panel Image Rendering in Grafana Server
To render a panel image, you must install the Grafana Image Renderer plugin.
1 2 |
sudo grafana-cli plugins install grafana-image-renderer sudo service grafana-server restart |
To render a panel image, you must install the Grafana Image Renderer plugin.
1 2 |
sudo grafana-cli plugins install grafana-image-renderer sudo service grafana-server restart |
As a non-root user:
1 2 3 4 5 6 7 |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" brew install cmake brew install openssl brew install mysql@5.6 brew services start mysql@5.6 brew link mysql@5.6 --force mysql |
Make sure your PATH contains /usr/local/bin
Simple Link
1 2 3 4 5 6 7 |
$redirect = ( is_home() ) ? false : get_permalink(); if ( is_user_logged_in() ) { $link = '<a href="' . wp_logout_url( $redirect ) . '" title="Log Out">Log Out</a>'; } else { $link = '<a href="' . wp_login_url( $redirect ) . '" title="Log In">Log In</a>'; } echo $link; |
Complex Menu Link
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
// Add login/logout links to a menu add_filter( 'wp_nav_menu_items', 'add_login_logout_to_menu', 50, 2 ); function add_login_logout_to_menu( $items, $args ){ // change theme location with your them location name $myMenu = 'secondary'; // or primary, etc. if( is_admin() || $args->theme_location != $myMenu ) { return $items; } $redirect = ( is_home() ) ? false : get_permalink(); if ( is_user_logged_in() ) { $link = '<a href="' . wp_logout_url( $redirect ) . '" title="' . __( 'Logout' ) .'">' . __( 'Logout' ) . '</a>'; } else { $link = '<a href="' . wp_login_url( $redirect ) . '" title="' . __( 'Login' ) .'">' . __( 'Login' ) . '</a>'; } $items .= '<li id="log-in-out-link" class="menu-item menu-type-link">'. $link . '</li>'; return $items; } |
Some example HTML:
1 2 |
<div class="edit" id="unique_id">Editable text</div> <a href="#" class="edit_trigger">Edit me!!</a> |
The jQuery:
1 2 3 4 5 6 7 8 |
/* Bind Jeditable instances to "edit" event. */ $(".edit").editable("http://www.example.com/save.php", { event : "edit" }); /* Find and trigger "edit" event on correct Jeditable instance. */ $(".edit_trigger").bind("click", function() { $(this).prev().trigger("edit"); }); |
Here is the original post: http://groups.google.com/group/jquery-en/browse_thread/thread/33c18dcf32276c89/7711363c7496fcb3?hide_quotes=no
Display Cart Link [code] https://www.paypal.com/cgi-bin/webscr?business=you@yourdomain.com&cmd=_cart&display=1 [/code] Add To Cart Link [code] https://www.paypal.com/cgi-bin/webscr?business=you@yourdomain.com&cmd=_cart&add=1&amount=16&item_name=Dishwasher&item_number=10437-72 [/code] Payal API Ref Paypal Form Basics
How To Make “AIM Links” for AOL Instant Messenger
1 2 |
<a href="aim:GoIm?screenname=myscreenname&message=hello">send an instant message</a> <a href="aim:GoIm?screenname=sn2">Bug me on my other screen name</a> |
examples of an aim url:
1 |
aim:AddBuddy?listofscreennames=sn1,sn2&groupname=myfriends |
GoIM (Send Message) aim:GoIM arguments: message = message+to+send (replace spaces with +) screenname = screenName of AIM member aim:goim aim:goim?screenname=screen+name aim:goim?screenname=screen+name&message=message+to+send Add someone to your buddy list: aim:AddBuddy arguments listofscreennames=comma separated list of screennames(replaces “screenname”) groupname=name of the group to […]