Rather have some interesting in depth articles? Head over to my official blog at www.fieg.nl.
“ function get_facebook_cookie() { $CI =& get_instance(); $app_id = $CI->config->item(‘facebook_app_id’); $application_secret = $CI->config->item(‘facebook_app_secret’); if(isset($_COOKIE[‘fbsr_’ . $app_id])){ list($encoded_sig, $payload) = explode(‘.’, $_COOKIE[‘fbsr_’ . $app_id], 2); $sig = base64_decode(strtr($encoded_sig, ‘-_’, ’ /’)); $data = json_decode(base64_decode(strtr($payload, ‘-_’, ’ /’)), true); if (strtoupper($data[‘algorithm’]) !== ‘HMAC-SHA256’) { return null; } $expected_sig = hash_hmac(‘sha256’, $payload, $application_secret, $raw = true); if ($sig !== $expected_sig) { return null; } $token_url = “https://graph.facebook.com/oauth/access_token?” . “client_id=” . $app_id . “&client_secret=” . $application_secret. “&redirect_uri=” . “&code=” . $data[‘code’]; $response = @file_get_contents($token_url); $params = null; parse_str($response, $params); $data[‘access_token’] = $params[‘access_token’]; return $data; }else{ return null; } } ”
How to update your iPhone Contact with Facebook profile pictures.
Damnit, we just bought a new thermostat a few months ago. I like this one way more!
(Source: nest.com)
T(ether) is a novel spatially aware display that supports intuitive interaction with volumetric data. The display acts as a window affording users a perspective view of three- dimensional data through tracking of head position and orientation. T(ether) creates a 1:1 mapping between real and virtual coordinate space allowing immersive exploration of the joint domain. Our system creates a shared workspace in which co-located or remote users can collaborate in both the real and virtual worlds. The system allows input through capacitive touch on the display and a motion-tracked glove. When placed behind the display, the user’s hand extends into the virtual world, enabling the user to interact with objects directly.
Instead of selecting LPD/LPR Host or Printer, I selected AppSocket/HP JetDirect, then the address I entered was: “socket://ip.address”; after that, the rest was straightforward and that got the printer working.