Install watchdog
# pacman -S watchdog
>
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
def loadVectorFromFile( archiveName ): | |
vector = [] | |
with open( archiveName, "r") as archive: | |
for line in archive: | |
vector.append(line) |
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
Show hidden characters
{ | |
"always_show_minimap_viewport": true, | |
"color_scheme": "Packages/User/SublimeLinter/Agila Oceanic Next (SL).tmTheme", | |
"dictionary": "Packages/Language - English/en_US.dic", | |
"font_size": 12, | |
"gutter": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], |
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
g++ m.cpp -o app `pkg-config --cflags --libs opencv` |
<?php
print( '<pre>'.print_r($var,true).'</pre>' );
Written with StackEdit.
Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
Put this function on the main php file of your dependent plugin and call it with the rigth parameters.
/**
* Verify if a plugin is active, if not deactivate the actual plugin an show an error
* @param [string] $my_plugin_name
* The plugin name trying to activate. The name of this plugin
* Ex:
Do you wonder why some users at WooCommerce enabled site have access to the top admin bar and WordPress admin dashboard, but some users don’t?
It is by design: WooCommerce plugin developers decided for us for whom they allow access to WordPress admin dashboard and for whom they prohibit it. But thanks them for the professionalism – it is possible to change that default WooCommerce logic via special filters.
Garagulya, V., (2015) Woocommerce Admin Bar Access
OlderNewer