- un chan à connecter.
- un compte utilisateur qui servira de bot (un seul bot peut servir pour tous les scripts)
##instance 1:
""" | |
API Client used to make requests from Open edX | |
Originally created by OpenCraft for LabXchange, www.labxchange.org | |
You may use this under the terms of the Apache 2 license, | |
https://www.apache.org/licenses/LICENSE-2.0 | |
""" | |
import logging |
var CLIENT_ID = '...'; // Get from Quickbooks Developer Console | |
var CLIENT_SECRET = '...'; // Get from Quickbooks Developer Console | |
var BASE_AUTH_URL = 'https://appcenter.intuit.com/connect/oauth2'; | |
var TOKEN_URL = 'https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer'; | |
var API_SCOPE = 'com.intuit.quickbooks.accounting'; | |
var REDIRECT_URI = '...'; // Generate using the logRedirectUri() function mentioned at the end of this script | |
var RESPONSE_TYPE = 'code'; | |
/** | |
* Authorizes and makes a request to the Quickbooks API using OAuth 2. |
Convolutional neural networks for emotion classification from facial images as described in the following work:
Gil Levi and Tal Hassner, Emotion Recognition in the Wild via Convolutional Neural Networks and Mapped Binary Patterns, Proc. ACM International Conference on Multimodal Interaction (ICMI), Seattle, Nov. 2015
Project page: http://www.openu.ac.il/home/hassner/projects/cnn_emotions/
If you find our models useful, please add suitable reference to our paper in your work.
<?php | |
/*** beginning of the code to paste in your functions.php ***/ | |
function imath_pm_button_only_if_friends( $button ) { | |
if( is_super_admin() ) | |
return $button; | |
if( 'is_friend' != friends_check_friendship_status( bp_displayed_user_id(), bp_loggedin_user_id() ) ) | |
return false; |
Icon_Length ID | |
Name Quickinfo | |
ICON_2 ICON_DUMMY '@00@'." PlaceholderIcon | |
ICON_2 ICON_CHECKED '@01@'." Checked; OK | |
ICON_2 ICON_INCOMPLETE '@02@'." Incomplete | |
ICON_2 ICON_FAILURE '@03@'." Failed | |
ICON_2 ICON_POSITIVE '@04@'." Positive | |
ICON_2 ICON_NEGATIVE '@05@'." Negative | |
ICON_2 ICON_LOCKED '@06@'." Locked | |
ICON_2 ICON_UNLOCKED '@07@'." Free; unlock |
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
var FORMAT_ONELINE = 'One-line'; | |
var FORMAT_MULTILINE = 'Multi-line'; | |
var FORMAT_PRETTY = 'Pretty'; | |
var LANGUAGE_JS = 'JavaScript'; | |
var LANGUAGE_PYTHON = 'Python'; |