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 'oauth' | |
require 'xmlsimple' | |
# Create an OAuth Consumer with the appropriate API key and secret. | |
@consumer = OAuth::Consumer.new("api_key_EUNzNgVkrpFUFg", "api_secret_KBq6hTvjjvqAWOPz6c4WnQHN6jvkU8", { :site=>"https://my-domain.haikulearning.com" }) | |
# Create an OAuth Access Token using your personal key and secret. | |
@access_token = OAuth::AccessToken.new(@consumer, "token_959b3659b65ddbb6f8552c3401", "secret_40ec1d3617e7f58811c2f1e4416dcf2f7") | |
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
<!-- Big Purple --> | |
<!-- The way StatCounter suggested --> | |
<div style="font-size:32px;"> | |
<font face="Verdana" color="#800080"><b> | |
<!-- Start of StatCounter Code --> | |
<script type="text/javascript"> | |
var sc_project=4296912; ... | |
...</a></div></noscript> | |
<!-- End of StatCounter Code --> | |
</b></font></div> |
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
#!/usr/bin/env ruby | |
# In it's current state, this script is not meant as a catch-all converter | |
# but should give you a good start. | |
# Requirements: | |
# * Textmate <http://macromates.com/> | |
# Know issues: | |
# * Changes all [] => [[]] - even inside code blocks. |
NewerOlder