Skip to content

Instantly share code, notes, and snippets.

View meowoodie's full-sized avatar

Woody Zhu meowoodie

View GitHub Profile

Set rz and sz on Mac

There are a mess of troubles in sending and receiving files from my macbook to dev server, since I had no permission to excute command scp on dev server. Here is a lightweight, quick, and convenience tools which related with ssh, called lrzsz. lrzsz is a unix communication package providing the XMODEM, YMODEM, ZMODEM file transefer protocol which usually has been already installed in most of servers.

Prerequisites

  • iTerm2 is necessary. [Here][] is the official website.

Change my default shell to zsh

Yesterday, I tried to change my default shell from bash to zsh on my mac. I installed zsh by running:

brew install zsh

Then I installed oh-my-zsh according to the [guide][] from github. It's an open source framework for managing zsh configuration. It would save much of your time in configuring zsh. Here was a problem I have met that I cannot change my default shell after I ran:

My most often vim tips&tricks

Here are some of my favorite tips and tricks about vim. They are useful to me and time-saving. I wrote down here to make notes.

Basic Operation

@meowoodie
meowoodie / pbcopy.md
Last active September 15, 2015 09:09
An amazing tool !

pbcopy

What an amazing tool in MacOSX it is! Today I had a file which I need to copy it's content to my gist editor on web pages. A GUI program would be fine but I prefer to find something cool that can handle this in only one step. And I found a cool thing indeed from [here][].

cat file | pbcopy

vim + ctags

Preliminaries

Here are some tips about using ctags when I code within vim. All resources come from Internet. I'm on a mac OSX Yosemite. First of all, I installed exuberant ctags in homebrew.

brew install ctags
@meowoodie
meowoodie / query_all_leancloud.md
Last active August 29, 2015 14:24
LeanCloud上“一句话”query所有内容

Query all data on LeanEngine

Python

  • Function ahead of codes of dao in Python
def _find(query):

Senz CI 帮助文档

@Authored by: Woodie

@Updated at: Thursday, June 11, 2015

工作环境

  • Jenkins 持续集成系统工具