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
pushd `pwd` | |
# install soloist | |
if rvm --version 2>/dev/null; then | |
gem install soloist --no-rdoc --no-ri | |
else | |
sudo gem install soloist --no-rdoc --no-ri | |
fi | |
# create the cookbooks dir and write the soloistrc in it |
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 |
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
(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"; | |
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('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
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
# 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
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
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 | |
OlderNewer