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
[{"id":1523186208,"type":"suggestion","weight":0.001,"suggested":{"type":"user","id":1523186208,"name":"rianne","state":"active","full_name":"Rianne","job_title":null,"network_id":1724945,"mugshot_url":"https://mug0.assets-yammer.com/mugshot/images/48x48/no_photo.png","mugshot_url_template":"https://mug0.assets-yammer.com/mugshot/images/{width}x{height}/no_photo.png","url":"https://www.yammer.com/api/v1/users/1523186208","web_url":"https://www.yammer.com/yam.usa.cc/users/rianne","activated_at":"2014/08/11 11:53:26 +0000","stats":{"following":0,"followers":0,"updates":0},"contact":{"email_addresses":[{"type":"primary","address":"rianne@yam.usa.cc"}]}}},{"id":1517241393,"type":"suggestion","weight":0.001,"suggested":{"type":"user","id":1517241393,"name":"esosa","state":"active","full_name":"Keyser Soze","job_title":"Head honch","network_id":1724945,"mugshot_url":"https://mug0.assets-yammer.com/mugshot/images/48x48/no_photo.png","mugshot_url_template":"https://mug0.assets-yammer.com/mugshot/images/{width}x{heigh |
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
#Modification of Alex's script to use SAML_SUBJECT instead | |
Add-ADFSRelyingPartyTrust -Name Yammer -MetadataFile C:\metadata.xml -IssuanceTransformRules '@RuleTemplate = "LdapClaims" @RuleName = "Get attributes" c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"] => issue(store = "Active Directory", types = ("SAML_SUBJECT"), query = ";mail;{0}", param = c.Value);' -IssuanceAuthorizationRules '@RuleTemplate = "AllowAllAuthzRule" => issue(Type = "http://schemas.microsoft.com/authorization/claims/permit", Value = "true");' |
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
<html> | |
<head> | |
<script type="text/javascript" data-app-id="INSERT-Your-ID" src="https://assets.yammer.com/assets/platform_js_sdk.js"></script> | |
<script> | |
function SearchForIsrael() { | |
yam.getLoginStatus( | |
function(response) { | |
if (response.authResponse) { |
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
<DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
</head> | |
<body> | |
<script type="text/javascript" data-app-id="CLIENT_ID_HERE" src="https://c64.assets-yammer.com/assets/platform_js_sdk.js"></script> | |
<script type="text/javascript"> |
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
{"chipid":"101","location":"GB","description":"GbRGZ1","temperature":"10","humidity":"56","heat_index":"11"} | |
{"chipid":"102","location":"GB","description":"Tango 2","temperature":"6","humidity":"47","heat_index":"4"} |
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
// main method | |
int send_event () { | |
SERVICE_NAMESPACE = 'ioteh-ns' | |
EVENT_HUB_NAME = 'ioteh' | |
PUBLISHER_NAME = 'dhtxx' | |
EVENT_HUB_SIGNATURE = 'change_me' | |
API_ENDPOINT = "https://#{SERVICE_NAMESPACE}.servicebus.windows.net/#{EVENT_HUB_NAME}/publishers/#{PUBLISHER_NAME}/messages" | |
// define headers | |
HTTP.Headers.ConnectionTimeout = 60 |
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
<%# views/layouts/external_pages.html.erb %> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>GentelellaOnRails</title> | |
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> | |
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> |
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
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-3.1.0.min.js" ></script> | |
<style> | |
.this_should_be_embed_div { display:none;} | |
</style> | |
</head> | |
<body> | |
<div class="this_should_be_embed_div"> |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha256-cCueBR6CsyA4/9szpPfrX3s49M9vUU5BgtiJj06wt/s=" crossorigin="anonymous"></script> | |
<script> | |
$(document).ready(function(){ | |
$("#yamframe").hide(); | |
}); | |
</script> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>A Yammer App</title> | |
<script type="text/javascript" data-app-id="lMBUSLNpqydFteLeZPU1GA" src="https://assets.yammer.com/assets/platform_js_sdk.js"></script> | |
<script type="text/javascript"> | |
function FollowUser() { | |
yam.getLoginStatus(function(response) { | |
if (response.authResponse) { |
OlderNewer