MayCoder

Valarmorghulis

Textile Exmpale

(test.js) download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
sample javascript from xui
*/

var undefined,
    xui,
    window     = this,
    string     = new String('string'),
    document   = window.document,
    simpleExpr = /^#?([\w-]+)$/,
    idExpr     = /^#/,
    tagExpr    = /<([\w:]+)/,
    slice      = function (e) { return [].slice.call(e, 0); };
    try { var a = slice(document.documentElement.childNodes)[0].nodeType; }
    catch(e){ slice = function (e) { var ret=[]; for (var i=0; e[i]; i++)
        ret.push(e[i]); return ret; }; }

window.x$ = window.xui = xui = function(q, context) {
    return new xui.fn.find(q, context);
};

Here’s an example .rvmrc file.
1
rvm ruby-1.8.6 # ZOMG, seriously? We still use this version?

install rvm
1
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

    bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
  

echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile
source ~/.bash_profile
# If using Zsh do this instead
echo '[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm' >> ~/.zshrc
source ~/.zshrc

ssh desktop -D 8080 desktop

ssh desktop -D 8080 desktop


ssh desktop -D 8080 desktop

hello rsync

from="10.1.1.1",command="/home/remoteuser/command" ssh-dss AAAA...

1
2
3
_Tweets_ = 1

module.exports = Tweets

  • Separate paragraphs with two newlines.
  • Use one newline only if you need a
    tag, otherwise, no newlines inside the paragraph.
  • When creating a new page, don’t forget the YAML premable at the top (Jekyll needs the page title and layout).
  • The layout uses H1 to render the page title; only use H2 through H4 for the page content.
  • Use H2 headers for the major page sections. Give each H2 header a unique ID so the table of contents can link to it.
  • Separating sentences with two spaces, just a convenience when editing in a text editor using monospaced fonts.
  • If in doubt, ask.

Comments