HOME | EDIT | RSS | ABOUT | GITHUB

About fonts antialias

Add this code to `/etc/fonts/fonts.conf` <match target="font" > <edit mode="assign" name="antialias" > <bool>false</bool> </edit> </match>

function eink_page (I) {
var styles=
    '* { background: white !important; color: black !important; font-family: Caecilia !important; font-size: 23pt !important; line-height: 45px !important; }'+
    ':link, :link * { color: #333333 !important; }'+
    ':visited, :visited * { color: #d75047 !important; }';
    var document = I.buffer.document;
    var newSS=document.createElement('link');
    newSS.rel='stylesheet';
    newSS.href='data:text/css,'+escape(styles);
    document.getElementsByTagName("head")[0].appendChild(newSS);
}
interactive("eink-page",
"Eink the page in an attempt to save your eyes.", eink_page);
define_key(content_buffer_normal_keymap, "p", "eink-page");

function eink_page (I) {
var styles=
    '* { background: white !important; color: black !important; font-family: Caecilia !important; font-size: 23pt !important; line-height: 45px !important; }'+
    ':link, :link * { color: #333333 !important; }'+
    ':visited, :visited * { color: #d75047 !important; }';
    var document = I.buffer.document;
    var newSS=document.createElement('link');
    newSS.rel='stylesheet';
    newSS.href='data:text/css,'+escape(styles);
    document.getElementsByTagName("head")[0].appendChild(newSS);
}
interactive("eink-page",
"Eink the page in an attempt to save your eyes.", eink_page);
define_key(content_buffer_normal_keymap, "p", "eink-page");

function eink_page (I) {
var styles=
    '* { background: white !important; color: black !important; font-family: Caecilia !important; font-size: 23pt !important; line-height: 45px !important; }'+
    ':link, :link * { color: #333333 !important; }'+
    ':visited, :visited * { color: #d75047 !important; }';
    var document = I.buffer.document;
    var newSS=document.createElement('link');
    newSS.rel='stylesheet';
    newSS.href='data:text/css,'+escape(styles);
    document.getElementsByTagName("head")[0].appendChild(newSS);
}
interactive("eink-page",
        "Eink the page in an attempt to save your eyes.", eink_page);
define_key(content_buffer_normal_keymap, "p", "eink-page");

;;s #+beginsrc … #+endsrc


FROM starefossen/ruby-node

RUN apt-get update && \
    apt-get -y install apt-utils sudo && \
    useradd -d /home/xx -m -s /bin/bash xx && \
    echo xx:xx | chpasswd && \
    adduser xx sudo && \
    npm install -g bower grunt-cli
USER xx
RUN mkdir /home/xx/.ssh/ && \
    mkdir /home/xx/mt/ && \
    mkdir -p /home/xx/gh/yefeiyu.github.io/
COPY .bash_aliases /home/xx/
COPY Gemfile /home/xx/gh/yefeiyu.github.io/
COPY package.json /home/xx/gh/yefeiyu.github.io/
WORKDIR /home/xx/gh/yefeiyu.github.io/
RUN bundle install && \
    rm *

FROM starefossen/ruby-node

RUN apt-get update && \
    apt-get -y install apt-utils sudo && \
    useradd -d /home/xx -m -s /bin/bash xx && \
    echo xx:xx | chpasswd && \
    adduser xx sudo && \
    npm install -g bower grunt-cli
USER xx
RUN mkdir /home/xx/.ssh/ && \
    mkdir /home/xx/mt/ && \
    mkdir -p /home/xx/gh/yefeiyu.github.io/
COPY .bash_aliases /home/xx/
COPY Gemfile /home/xx/gh/yefeiyu.github.io/
COPY package.json /home/xx/gh/yefeiyu.github.io/
WORKDIR /home/xx/gh/yefeiyu.github.io/
RUN bundle install && \
    rm *

FROM starefossen/ruby-node

RUN apt-get update && \
    apt-get -y install apt-utils sudo && \
    useradd -d /home/xx -m -s /bin/bash xx && \
    echo xx:xx | chpasswd && \
    adduser xx sudo && \
    npm install -g bower grunt-cli
USER xx
RUN mkdir /home/xx/.ssh/ && \
    mkdir /home/xx/mt/ && \
    mkdir -p /home/xx/gh/yefeiyu.github.io/
COPY .bash_aliases /home/xx/
COPY Gemfile /home/xx/gh/yefeiyu.github.io/
COPY package.json /home/xx/gh/yefeiyu.github.io/
WORKDIR /home/xx/gh/yefeiyu.github.io/
RUN bundle install && \
    rm *

;;e #+beginexample … #+endexample


FROM starefossen/ruby-node

RUN apt-get update && \
    apt-get -y install apt-utils sudo && \
    useradd -d /home/xx -m -s /bin/bash xx && \
    echo xx:xx | chpasswd && \
    adduser xx sudo && \
    npm install -g bower grunt-cli
USER xx
RUN mkdir /home/xx/.ssh/ && \
    mkdir /home/xx/mt/ && \
    mkdir -p /home/xx/gh/yefeiyu.github.io/
COPY .bash_aliases /home/xx/
COPY Gemfile /home/xx/gh/yefeiyu.github.io/
COPY package.json /home/xx/gh/yefeiyu.github.io/
WORKDIR /home/xx/gh/yefeiyu.github.io/
RUN bundle install && \
    rm *

;;q #+beginquote … #+endquote

FROM starefossen/ruby-node

RUN apt-get update && \ apt-get -y install apt-utils sudo && \ useradd -d /home/xx -m -s /bin/bash xx && \ echo xx:xx | chpasswd && \ adduser xx sudo && \ npm install -g bower grunt-cli USER xx RUN mkdir home/xx.ssh/ && \ mkdir home/xx/mt && \ mkdir -p home/xx/gh/yefeiyu.github.io COPY .bash_aliases home/xx COPY Gemfile home/xx/gh/yefeiyu.github.io COPY package.json home/xx/gh/yefeiyu.github.io WORKDIR home/xx/gh/yefeiyu.github.io RUN bundle install && \ rm *

;;v #+beginverse … #+endverse


FROM starefossen/ruby-node

RUN apt-get update && \
    apt-get -y install apt-utils sudo && \
    useradd -d /home/xx -m -s /bin/bash xx && \
    echo xx:xx | chpasswd && \
    adduser xx sudo && \
    npm install -g bower grunt-cli
USER xx
RUN mkdir home/xx.ssh/ && \
    mkdir home/xx/mt && \
    mkdir -p home/xx/gh/yefeiyu.github.io
COPY .bash_aliases home/xx
COPY Gemfile home/xx/gh/yefeiyu.github.io
COPY package.json home/xx/gh/yefeiyu.github.io
WORKDIR home/xx/gh/yefeiyu.github.io
RUN bundle install && \
    rm *

;;c #+begincenter … #+endcenter

FROM starefossen/ruby-node

RUN apt-get update && \ apt-get -y install apt-utils sudo && \ useradd -d /home/xx -m -s /bin/bash xx && \ echo xx:xx | chpasswd && \ adduser xx sudo && \ npm install -g bower grunt-cli USER xx RUN mkdir home/xx.ssh/ && \ mkdir home/xx/mt && \ mkdir -p home/xx/gh/yefeiyu.github.io COPY .bash_aliases home/xx COPY Gemfile home/xx/gh/yefeiyu.github.io COPY package.json home/xx/gh/yefeiyu.github.io WORKDIR home/xx/gh/yefeiyu.github.io RUN bundle install && \ rm *

;;l #+beginlatex … #+endlatex

FROM starefossen/ruby-node

RUN apt-get update && \ apt-get -y install apt-utils sudo && \ useradd -d /home/xx -m -s /bin/bash xx && \ echo xx:xx | chpasswd && \ adduser xx sudo && \ npm install -g bower grunt-cli USER xx RUN mkdir home/xx.ssh/ && \ mkdir home/xx/mt && \ mkdir -p home/xx/gh/yefeiyu.github.io COPY .bash_aliases home/xx COPY Gemfile home/xx/gh/yefeiyu.github.io COPY package.json home/xx/gh/yefeiyu.github.io WORKDIR home/xx/gh/yefeiyu.github.io RUN bundle install && \ rm *

;;L #+latex:

FROM starefossen/ruby-node

RUN apt-get update && \ apt-get -y install apt-utils sudo && \ useradd -d /home/xx -m -s /bin/bash xx && \ echo xx:xx | chpasswd && \ adduser xx sudo && \ npm install -g bower grunt-cli USER xx RUN mkdir home/xx.ssh/ && \ mkdir home/xx/mt && \ mkdir -p home/xx/gh/yefeiyu.github.io COPY .bash_aliases home/xx COPY Gemfile home/xx/gh/yefeiyu.github.io COPY package.json home/xx/gh/yefeiyu.github.io WORKDIR home/xx/gh/yefeiyu.github.io RUN bundle install && \ rm *

;;h #+beginhtml … #+endhtml

FROM starefossen/ruby-node

RUN apt-get update && \ apt-get -y install apt-utils sudo && \ useradd -d /home/xx -m -s /bin/bash xx && \ echo xx:xx | chpasswd && \ adduser xx sudo && \ npm install -g bower grunt-cli USER xx RUN mkdir home/xx.ssh/ && \ mkdir home/xx/mt && \ mkdir -p home/xx/gh/yefeiyu.github.io COPY .bash_aliases home/xx COPY Gemfile home/xx/gh/yefeiyu.github.io COPY package.json home/xx/gh/yefeiyu.github.io WORKDIR home/xx/gh/yefeiyu.github.io RUN bundle install && \ rm *

;;H #+html:

FROM starefossen/ruby-node

RUN apt-get update && \ apt-get -y install apt-utils sudo && \ useradd -d /home/xx -m -s /bin/bash xx && \ echo xx:xx | chpasswd && \ adduser xx sudo && \ npm install -g bower grunt-cli USER xx RUN mkdir home/xx.ssh/ && \ mkdir home/xx/mt && \ mkdir -p home/xx/gh/yefeiyu.github.io COPY .bash_aliases home/xx COPY Gemfile home/xx/gh/yefeiyu.github.io COPY package.json home/xx/gh/yefeiyu.github.io WORKDIR home/xx/gh/yefeiyu.github.io RUN bundle install && \ rm * ;;a #+beginascii … #+endascii

FROM starefossen/ruby-node

RUN apt-get update && \ apt-get -y install apt-utils sudo && \ useradd -d /home/xx -m -s /bin/bash xx && \ echo xx:xx | chpasswd && \ adduser xx sudo && \ npm install -g bower grunt-cli USER xx RUN mkdir home/xx.ssh/ && \ mkdir home/xx/mt && \ mkdir -p home/xx/gh/yefeiyu.github.io COPY .bash_aliases home/xx COPY Gemfile home/xx/gh/yefeiyu.github.io COPY package.json home/xx/gh/yefeiyu.github.io WORKDIR home/xx/gh/yefeiyu.github.io RUN bundle install && \ rm *

;;A #+ascii:

FROM starefossen/ruby-node

RUN apt-get update && \ apt-get -y install apt-utils sudo && \ useradd -d /home/xx -m -s /bin/bash xx && \ echo xx:xx | chpasswd && \ adduser xx sudo && \ npm install -g bower grunt-cli USER xx RUN mkdir home/xx.ssh/ && \ mkdir home/xx/mt && \ mkdir -p home/xx/gh/yefeiyu.github.io COPY .bash_aliases home/xx COPY Gemfile home/xx/gh/yefeiyu.github.io COPY package.json home/xx/gh/yefeiyu.github.io WORKDIR home/xx/gh/yefeiyu.github.io RUN bundle install && \ rm * ;;i #+index: line

FROM starefossen/ruby-node

RUN apt-get update && \ apt-get -y install apt-utils sudo && \ useradd -d /home/xx -m -s /bin/bash xx && \ echo xx:xx | chpasswd && \ adduser xx sudo && \ npm install -g bower grunt-cli USER xx RUN mkdir home/xx.ssh/ && \ mkdir home/xx/mt && \ mkdir -p home/xx/gh/yefeiyu.github.io COPY .bash_aliases home/xx COPY Gemfile home/xx/gh/yefeiyu.github.io COPY package.json home/xx/gh/yefeiyu.github.io WORKDIR home/xx/gh/yefeiyu.github.io RUN bundle install && \ rm * ;;I #+include: line <I

FROM starefossen/ruby-node

RUN apt-get update && \ apt-get -y install apt-utils sudo && \ useradd -d /home/xx -m -s /bin/bash xx && \ echo xx:xx | chpasswd && \ adduser xx sudo && \ npm install -g bower grunt-cli USER xx RUN mkdir home/xx.ssh/ && \ mkdir home/xx/mt && \ mkdir -p home/xx/gh/yefeiyu.github.io COPY .bash_aliases home/xx COPY Gemfile home/xx/gh/yefeiyu.github.io COPY package.json home/xx/gh/yefeiyu.github.io WORKDIR home/xx/gh/yefeiyu.github.io RUN bundle install && \ rm * ;;s #+beginsrc … #+endsrc

#+BEGIN_SRC 
COPY package.json /home/xx/gh/yefeiyu.github.io/COPY package.json /home/xx/gh/yefeiyu.github.io/

#+END_SRC ;;e #+beginexample … #+endexample ;;q #+beginquote … #+endquote ;;v #+beginverse … #+endverse ;;c #+begincenter … #+endcenter ;;l #+beginlatex … #+endlatex ;;L #+latex: ;;h #+beginhtml … #+endhtml ;;H #+html: ;;a #+beginascii … #+endascii ;;A #+ascii: ;;i #+index: line ;;I #+include: line

FROM starefossen/ruby-node

RUN apt-get update && \ apt-get -y install apt-utils sudo && \ useradd -d /home/xx -m -s /bin/bash xx && \ echo xx:xx | chpasswd && \ adduser xx sudo && \ npm install -g bower grunt-cli USER xx RUN mkdir home/xx.ssh/ && \ mkdir home/xx/mt && \ mkdir -p home/xx/gh/yefeiyu.github.io COPY .bash_aliases home/xx COPY Gemfile home/xx/gh/yefeiyu.github.io COPY package.json home/xx/gh/yefeiyu.github.io WORKDIR home/xx/gh/yefeiyu.github.io RUN bundle install && \ rm *