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
// Script to issue an ACS user token via HMAC auth as described in this doc: | |
// https://docs.microsoft.com/en-us/azure/communication-services/concepts/authentication?tabs=csharp#sign-an-http-request | |
import UIKit | |
import Foundation | |
import CryptoKit | |
struct FetchTokenResult: Codable { | |
var identity:String | |
var token:String | |
var expiresIn: Int |
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
curl --header "Content-Type: application/json" --header "Authorization: SpoolSAS qGmX/SF1OmX81jLQVYrJ61xX9tE3Gq7JnRchs/eDfkaaJwdiIL/kUW8hQnGdwdtcJeHxQlvibyfM3i8r9WwwLg==" --request POST --data '{"senderId": "+17086676628", "recipientId": "+12126712234", "contents": "Hi, this is a test message."}' -v -k https://localhost:9998/rtc/telephony/sms | |
curl --header "Content-Type: application/json" \ | |
--header "Authorization: SpoolSAS eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJydW5uZXItZGV2LWV1cyIsInJlczpyZ24iOiJlYXN0dXMiLCJzYXM6YXJlYXMiOiJhZG1pbiJ9.dbEbZdJKKPqLzwitDvHg-mDDtvRQXhy-TXSK1wQyiSY" \ | |
--header "X-Forwarded-Host: runner-dev-eus.eastus.dev.spool.azure-int.net" \ | |
--header "accept: application/json" \ | |
-d "{\"senderId\":\"+17086676628\",\"recipientId\":\"+12126712234\",\"contents\":\"test\"}" \ | |
--request POST -v -k https://localhost:9998/rtc/telephony/sms | |
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
require 'oauth' | |
require 'forwardable' | |
module Sredder | |
WRIKE_OAUTH_OPTIONS = { | |
:site => 'https://www.wrike.com', | |
:authorize_path => '/rest/auth/authorize', | |
:access_token_path => '/rest/auth/access_token', | |
:request_token_path => '/rest/auth/request_token' |
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
# An abstract base class used to create simple serializers | |
# for ActiveRecord objects | |
class BaseSerializer | |
include Rails.application.routes.url_helpers | |
attr_reader :serialized_object | |
def initialize(serialized_object) | |
@serialized_object = serialized_object | |
end |
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
File.expand_path("../../config/application.yml", __FILE__) |
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
(function() { | |
'use strict'; | |
angular.module('medeo.services'). | |
factory('DesktopVidyoApi', ['$rootScope', | |
function ($rootScope) { | |
} | |
]); |
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
(function() { | |
"use strict"; | |
angular.module('medeo.controllers'). | |
controller('ControllerCtl', ['$scope', | |
function ($scope) { | |
} | |
]); |
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
(function() { | |
"use strict"; | |
angular.module('caseShow') | |
.directive('timeAgo', function($timeout) { | |
var directiveDefinitionObject = { | |
priority: 0, | |
template: '<div></div>', | |
templateUrl: 'directive.html', | |
replace: false, |
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
(function() { | |
"use strict"; | |
})(); |
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
git branch --merged | grep -v 'master$' | xargs git branch -d |
NewerOlder