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
Mostly from https://aur.archlinux.org/packages/chrome-remote-desktop/?comments=all but with some of my changes. | |
1. I manually created the chrome-remote-desktop group, and added myself to it. | |
2. I manually created the ~/.chrome-remote-desktop-session file with "exec startxfce4" in it. | |
3. I manually created the ~/.config/chrome-remote-desktop directory. | |
4. mkdir /etc/chromium-browser/native-messaging-hosts | |
4. ln -s /etc/opt/chrome/native-messaging-hosts/* /etc/chromium-browser/native-messaging-hosts/ | |
You should now have a 'Enable Remote Connection' button on the CRD extension page. |
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 | |
add_action('woocommerce_product_options_pricing', 'atlantean_coming_soon'); | |
function atlantean_coming_soon() { | |
woocommerce_wp_checkbox( array( | |
'id' => '_coming_soon', | |
'wrapper_class' => 'show_if_simple show_if_variable', | |
'label' => __( 'Coming soon', 'woocommerce' ), | |
'description' => __( 'Enable coming soon label', 'woocommerce' ) |
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
if(!$scope.$$phase) { | |
// $digest or $apply; | |
$scope.$apply(); | |
} |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
let docClient = new AWS.DynamoDB.DocumentClient(); | |
let params = { | |
TableName : "customer", | |
Key : { | |
"customerId": "customer_001" | |
}, | |
UpdateExpression : "REMOVE address.street3", | |
ReturnValues : "UPDATED_NEW" | |
}; |
OlderNewer