Just some notes and references for myself.
- In bash, you can access your
C:\drive via/mnt/c/ ~=C:\Users\MLM\AppData\Local\lxss\home\mlmand is different from your Windows user directoryC:\Users\MLM
| Takes a long time to load project folders running in a VM and the sublime console shows: | |
| inotify_add_watch failed: No space left on device (path: /some/project/location/...) | |
| https://github.com/google/cadvisor/issues/1581#issuecomment-367616070 | |
| sudo cat /proc/sys/fs/inotify/max_user_watches # default is 8192 | |
| sudo sysctl fs.inotify.max_user_watches=1048576 # increase to 1048576 | |
| https://github.com/google/cadvisor/issues/1581#issuecomment-436405681 |
| <?php | |
| $args = array( | |
| 'post_type' => 'location', | |
| 'posts_per_page' => -1, | |
| 'order' => 'ASC', | |
| 'orderby' => 'title', | |
| 'facetwp' => true, | |
| 'tax_query' => array( | |
| array( | |
| 'taxonomy' => 'advertiser-level', |
| /** | |
| * Custom Hook: Points based on taxonomy | |
| * Register the hook so myCRED can load it. | |
| * @since 1.0 | |
| * @version 1.1 | |
| */ | |
| add_action( 'mycred_setup_hooks', 'mycredpro_register_custom_taxonomy_hook' ); | |
| function mycredpro_register_custom_taxonomy_hook( $installed ) { | |
| $installed['publishing_ct_content'] = array( |