Usage:
Mike runs: ssh mikes_tunnels
Mark runs: ssh marks_tunnels
| return "<script type=\"text/javascript\" src=\"/bmfsweb/"+lower(_system_company_name)+"/image/Directory/FILENAME.js\"></script>"; |
| return "<script type=\"text/javascript\" src=\"/bmfsweb/"+lower(_system_company_name)+"/image/Directory/FILENAME.js\"></script>"; |
| set nocompatible | |
| call pathogen#infect() | |
| call vundle#rc() | |
| " let Vundle manage Vundle | |
| " required! | |
| Bundle 'gmarik/vundle' | |
| " My Bundles |
| /** | |
| * param {String} sessionId | |
| * param {String} bs_id | |
| * param {String} sitename | |
| * param {String} action_var_name | |
| * param {String [][] } attr sets of attributes to set. Format: [[docnum, varname, value], [docnum, varname, value]...] | |
| * param {String} error_string | |
| * | |
| * return {String} the soap response | |
| */ |
| /** | |
| * Poll until a test passes. | |
| * When the test returns something, (not false) pass its value to and_then | |
| * | |
| * Example: | |
| * repeat_until(function() { | |
| * return "some value"; | |
| * }).and_then(function(result) { | |
| * console.log(result); // "some value" | |
| * }).timeout(function() { |
| function keyValuePairs(callback) { | |
| [1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6].forEach(function (i) { | |
| callback(i); | |
| }); | |
| } | |
| function numbers(callback) { | |
| for(var i = 0; i < 3; i++) { | |
| callback([1,2,3]); | |
| } |
| // Google analytics for screen dimensions, resizing | |
| // http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html | |
| (function () { | |
| var w, h, str, log; | |
| if(typeof _gaq === "object" && _gaq.push) { | |
| w = $(window).width(); | |
| h = $(window).height(); | |
| str = w + "x" + h; | |
| log = function (action, label, value) { |
| def process_paragraphs(paragraphs_attrs) | |
| paragraphs_attrs.select do |key, value| | |
| # make changes and filter out existing attributes | |
| end | |
| end | |
| def assign_attributes(attr, options = {}) | |
| paragraphs_attrs = attr.delete :paragraphs_attributes | |
| # manually update any existing paragraphs here | |
| paragraphs_attrs = process_paragraphs(paragraphs_attrs) |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description} | |
| <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' /> | |
| <title>{Title}</title> | |
| <link rel="shortcut icon" href="{Favicon}" /> | |
| <link rel="apple-touch-icon" href="{PortraitURL-128}"/> |