I hereby claim:
- I am aldolat on github.
- I am aldolat (https://keybase.io/aldolat) on keybase.
- I have a public key ASCRvGuTwKF-vIDlCotTDdWV3iZL5z7EXGf1sOjdeaRTTwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| $args = array( | |
| 'post_type' => 'post', | |
| //'category_name' => 'markup', | |
| 'meta_query' => array( | |
| array( | |
| 'key' => 'rating', | |
| 'value' => array( 2.42, 2.47 ), | |
| 'compare' => 'BETWEEN', | |
| //'type' => 'NUMERIC', |
| <?php | |
| /** | |
| * Show the current user role. | |
| */ | |
| function ubn_show_current_user_role( $text ) { | |
| $user = wp_get_current_user(); | |
| $roles = ''; | |
| foreach ( $user->roles as $role ) { | |
| $roles .= $role . ', '; | |
| } |
| <?php | |
| /* | |
| * Plugin Name: Simple Footnotes | |
| * Plugin URI: http://wordpress.org/extend/plugins/simple-footnotes/ | |
| * Plugin Description: Create simple, elegant footnotes on your site. Use the <code>[ref]</code> shortcode ([ref]My note.[/ref]) and the plugin takes care of the rest. There's also a <a href="options-reading.php">setting</a> that enables you to move the footnotes below your page links, for those who paginate posts. | |
| * Version: 0.3 | |
| * Author: Andrew Nacin | |
| * Author URI: http://andrewnacin.com/ | |
| */ | |
| class nacin_footnotes { |
| #### START ORIGINAL VERSION | |
| #if [ "$color_prompt" = yes ]; then | |
| # PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' | |
| #else | |
| # PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' | |
| #fi | |
| #unset color_prompt force_color_prompt | |
| #### END ORIGINAL VERSION | |
| #### START MY VERSION |
| # uncomment for a colored prompt, if the terminal has the capability; turned | |
| # off by default to not distract the user: the focus in a terminal window | |
| # should be on the output of commands, not on the prompt | |
| force_color_prompt=yes | |
| if [ -n "$force_color_prompt" ]; then | |
| if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then | |
| # We have color support; assume it's compliant with Ecma-48 | |
| # (ISO/IEC-6429). (Lack of such support is extremely rare, and such | |
| # a case would tend to support setf rather than setaf.) |
| <?php | |
| /** | |
| * Removes Javascript and styles of Contact Form 7 plugin. | |
| * Put this function in your theme's functions.php file. | |
| * | |
| * @see https://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/ | |
| */ | |
| function my_theme_setup() { | |
| add_filter( 'wpcf7_load_js', '__return_false' ); | |
| add_filter( 'wpcf7_load_css', '__return_false' ); |
| ## INSTRUCTIONS | |
| ## - Save the file in your home folder as .playlistradio | |
| ## - Install mplayer from repository | |
| ## - Launch the following command | |
| ## mplayer -playlist ~/.playlistradio | |
| ## | |
| ## To step backward/forward in playlist use < or > | |
| ## | |
| ## You can use even with a single station: | |
| ## mplayer http://icestreaming.rai.it/1.mp3 |