I hereby claim:
- I am deviodigital on github.
- I am deviodigital (https://keybase.io/deviodigital) on keybase.
- I have a public key whose fingerprint is C51A D40B 9A89 E85C AA79 5604 C5D7 F97A 5C33 1878
To claim this, I am signing this object:
| # source https://www.reddit.com/r/technology/comments/43fi39/i_set_up_my_raspberry_pi_to_automatically_tweet/ | |
| #!/usr/bin/python | |
| import os | |
| import sys | |
| import csv | |
| import datetime | |
| import time | |
| import twitter | |
| <? | |
| /** | |
| * By default, WP Dispensary has options for dispensary owners | |
| * to add in THC mg per serving and serving count to each edible added. | |
| * | |
| * The below code snippet finds the THC mg and Servings numbers, multiplies | |
| * them together and then spits out the total THC mg per unit | |
| */ | |
| add_action( 'wpd_dataoutput_bottom', 'thc_mg_per_package', 10 ); | |
| function thc_mg_per_package() { |
| <?php | |
| /** | |
| * Enqueue scripts and styles. | |
| */ | |
| function bliss_theme_scripts() { | |
| wp_enqueue_style( 'bliss-theme-style', get_stylesheet_uri() ); | |
| wp_enqueue_style( 'bliss-theme-bootstrap-style', get_template_directory_uri() . '/css/bootstrap.min.css' ); | |
| wp_enqueue_script( 'bliss-theme-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20160921', true ); |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| /** | |
| * http://wordpress.stackexchange.com/a/137578 | |
| */ | |
| $post = array( | |
| 'post_author' => $user_id, | |
| 'post_content' => '', | |
| 'post_status' => "publish", | |
| 'post_title' => $product->part_num, | |
| 'post_parent' => '', |
| <?php | |
| add_action( 'wpd_dataoutput_bottom', 'your_function_name' ); | |
| function your_function_name() { | |
| echo 'example'; | |
| } | |
| ?> |
| <?php | |
| add_action( 'wpd_pricingoutput_bottom', 'your_function_name' ); | |
| function your_function_name() { | |
| echo 'example'; | |
| } | |
| ?> |
| <?php | |
| /** | |
| * Forums Loop | |
| * | |
| * @package bbPress | |
| * @subpackage Theme | |
| * | |
| * Original code via: https://bbpress.org/forums/topic/forums-index-in-the-same-layout-as-other-bb-software/ | |
| */ | |
| ?> |
| <?php | |
| $redirect_to = ''; | |
| ?> | |
| <form name="loginform" id="loginform" action="<?php echo site_url( '/wp-login.php' ); ?>" method="post"> | |
| <p>Username: <input id="user_login" type="text" size="20" value="" name="log"></p> | |
| <p>Password: <input id="user_pass" type="password" size="20" value="" name="pwd"></p> | |
| <p><input id="rememberme" type="checkbox" value="forever" name="rememberme"></p> | |
| <p><input id="wp-submit" type="submit" value="Login" name="wp-submit"></p> |