I hereby claim:
- I am rakhmanov on github.
- I am rakhmanov (https://keybase.io/rakhmanov) on keybase.
- I have a public key ASCJH9PMmq-zu7TJ1pBGFTFHOOjJsbvNefrZ_h28fwuz_go
To claim this, I am signing this object:
#!/bin/bash | |
#list_disk=/dev/ada* | |
# can be | |
list_disk="/dev/ada0 /dev/ada1" | |
highest_temp=000; | |
for disk in $list_disk; do |
{ | |
"data": [ | |
{ | |
"id": "1", | |
"sessionNumber": "1", | |
"date": "1/7/2019", | |
"note": "", | |
"topic": "Introduction", | |
"reminders": "Quiz #0 on Prerequisite Math (does not count towards grade)" | |
}, |
I hereby claim:
To claim this, I am signing this object:
$startMemory = memory_get_usage(); | |
$array = range(1, 100000); | |
echo memory_get_usage() - $startMemory, " bytes\n"; |
add_filter('wp_nav_menu_items', 'add_login_logout_link', 10, 2); | |
function add_login_logout_link($items, $args) { | |
ob_start(); | |
wp_loginout('index.php'); | |
$loginoutlink = ob_get_contents(); | |
ob_end_clean(); | |
$items .= '<li>'. $loginoutlink .'</li>'; | |
return $items; | |
} |
add_filter( 'wp_nav_menu_items', 'wti_loginout_menu_link', 10, 2 ); | |
function wti_loginout_menu_link( $items, $args ) { | |
if ($args->theme_location == 'primary') { | |
if (is_user_logged_in()) { | |
$items .= '<li><a href="'. wp_logout_url() .'">Log Out</a></li>'; | |
} else { | |
$items .= '<li><a href="'. wp_login_url(get_permalink()) .'">Log In</a></li>'; | |
} | |
} |