This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Paid Memberships Pro - Register Helper Fields | |
Description: Add custom fields to the Member Register page and User Profile | |
Version: 1.0.0 | |
Author: Rumspeed | |
Author URI: http://www.rumspeed.com | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# take a photo every 5 seconds and copy it to another computer | |
while true | |
do | |
raspistill -n -w 1920 -h 1080 -t 3000 -o img4web.jpg | |
scp img4web.jpg [email protected]:/var/www/html | |
sleep 5 | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'network_edit_site_nav_links', 'mercator_add_settings_tab' ); | |
function mercator_add_settings_tab( $tabs ) { | |
// add a new tab to the Edit Site area for Sites | |
$tabs['mercator-aliases-nav-link'] = array( | |
'label' => 'Aliases', | |
'url' => 'admin.php?action=mercator-aliases', | |
'cap' => 'manage_sites' | |
); |