This file contains hidden or 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
Show hidden characters
{ | |
"color_scheme": "Packages/Color Scheme - Default/Sunburst.tmTheme", | |
"detect_indentation": false, | |
"ensure_newline_at_eof_on_save": true, | |
"font_face": "Menlo", | |
"font_size": 11.0, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], |
This file contains hidden or 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
/* | |
Sample Code for Ankoder API called via .NET C# | |
Written by William Yeung @ Gearbox Software (http://www.gearboxsoft.com) | |
*/ | |
const string PrivateKey = "YOUR_ANKODER_KEY"; | |
var ascii = Encoding.ASCII; | |
var date = DateTime.Now.ToUniversalTime().ToString("ddd, dd MMM yyyy HH:mm:ss") + " GMT"; | |
var action_url = "video.xml"; | |
string token=string.Format("-{0}-GET-/{1}-", date, action_url); |
This file contains hidden or 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 "rubygems" | |
require "hmac-sha1" | |
require "base64" | |
ankoder_access_key = ANKODER_ACCESS_KEY | |
private_key = ANKODER_PRIVATE_KEY | |
ankoder_date = Time.now.strftime("%a, %d %b %Y %X GMT") | |
ankoder_action = "GET" | |
ankoder_path = "/video.xml" | |
string = "-#{ankoder_date}-#{ankoder_action}-#{ankoder_path}-" |
This file contains hidden or 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 "rubygems" | |
require "hmac-sha1" | |
require "base64" | |
ankoder_access_key = ANKODER_ACCESS_KEY | |
private_key = ANKODER_PRIVATE_KEY | |
ankoder_date = Time.now.strftime("%a, %d %b %Y %X GMT") | |
ankoder_action = "GET" | |
ankoder_path = "/video.xml" | |
string = "-#{ankoder_date}-#{ankoder_action}-#{ankoder_path}-" |
This file contains hidden or 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 "rubygems" | |
require "hmac-sha1" | |
require "base64" | |
ankoder_access_key = ANKODER_ACCESS_KEY | |
private_key = ANKODER_PRIVATE_KEY | |
ankoder_date = Time.now.strftime("%a, %d %b %Y %X GMT") | |
ankoder_action = "GET" | |
ankoder_path = "/video.xml" | |
string = "-#{ankoder_date}-#{ankoder_action}-#{ankoder_path}-" |