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
### Keybase proof | |
I hereby claim: | |
* I am jeroenmoors on github. | |
* I am jeroenmoors (https://keybase.io/jeroenmoors) on keybase. | |
* I have a public key whose fingerprint is 926F 226F 83E0 0E48 C605 BB9C 3B3C 9241 4641 8549 | |
To claim this, I am signing this object: |
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 | |
include "ring.php"; | |
$username = 'YOUR EMAIL ADDRESS HERE'; | |
$password = 'YOUR RING.COM PASSWORD HERE'; | |
$bell = new Ring(); | |
print "Authenticating...\n"; | |
$bell->authenticate($username, $password); |
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 | |
/* | |
Step 1: Initiate the authentication | |
*/ | |
// Load the library | |
$this->load->library(array('oauthclient')); | |
// Set the service: facebook, twitter or linkedin | |
$this->oauthclient->setService("facebook"); |
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 | |
// Adapt with your cluster settings | |
$mon_host = "172.16.0.2"; | |
$key = "__YOUR_KEY_GOES_HERE__"; | |
$pool = "mycluster"; | |
// Create a new objectn"; | |
$rados = new Rados(); | |
// Connect to the cluster |
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 | |
// Adapt with your cluster settings | |
$mon_host = "172.16.0.2"; | |
$key = "__YOUR_KEY_GOES_HERE__"; | |
$pool = "mycluster"; | |
// Create a new objectn"; | |
$rados = new Rados(); | |
// Connect to the cluster |
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 setId($userId, $rememberMe = false); ?> |