Skip to content

Instantly share code, notes, and snippets.

View 0-ali's full-sized avatar
🌴
{"^o"=>[{"0"=>"ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy"}]}

Moe Ali 0-ali

🌴
{"^o"=>[{"0"=>"ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy"}]}
  • 127.0.0.1
View GitHub Profile
@monsur
monsur / gist:706839
Created November 19, 2010 17:37
Parses the response from XmlHttpRequest.getAllResponseHeaders() into a key/value pair.
/**
* XmlHttpRequest's getAllResponseHeaders() method returns a string of response
* headers according to the format described here:
* http://www.w3.org/TR/XMLHttpRequest/#the-getallresponseheaders-method
* This method parses that string into a user-friendly key/value pair object.
*/
function parseResponseHeaders(headerStr) {
var headers = {};
if (!headerStr) {
return headers;
@0-ali
0-ali / inline-translator.md
Last active December 16, 2019 20:03
Create real-time/inline translator for VoIP calls.

Create real-time/inline translator for VoIP calls

Hey! Surely everybody tested Skype Translator and liked it,So if you want your own continue.