One of the best thing about node is that it can be debugged via the Remote Debugging Protocol. Here I would like to show a demo about how to setup a simple debuggable project.
Some requirements of this tutorial:
- Unix-like system environment.
- Some basic knowledge of node, npm and express.
- Some basic knowledge of shell.
Recently, the newly Sublime Text 3 is just around the corner. It has been years I have digged into its creativity world.
The rich API of ST cultivated so many wonderful plugins, but intall lots of plugins won’t make you a superman, we should learn to reduce the noise of this buzzing world. Therefore, my recommendation will focus on the most pure and down-to-earth plugins that just work.
Inspired by this post, I wrote a CoffeeScript implementation. This is a very interesting phenomena that revealed the beautiful philosophy behinds the nature, a slight push to the collection of simplicity can make miracles : D
As you can see, each particle is just moving around on a circle orbit with the same velocity, only the initial position is different. However, when they are made a whole, things begin to be interesting.
There are plenty of tutorials about how to setup a minimum Goagent server and client. I won’t reinvent the wheel here. Who may want to read this post.
- You have already setup the Goagent server and client, and it seems working ok.
- You still can’t visit Google+, Twitter, Facebook, or so on.
- You want to wipe out all the warning information, and make your Goagent work perfectly.
This theme is build on the top of zsh and the famous OH MY ZSHELL. Besides, it has been included in the official OH MY ZSH repo : D
To a compatible theme, I think it’s better not to use special characters like
╭ ➜ ✗ . If you want your theme works fine on both Unix and Windows, a clean format and a simple color scheme are necessary. Therefore, I use only ANSI Character Set and ANSI Colors. The main goal of this theme is to make the *nix servers’ admins happy. This theme is even more robust than the default theme robbyrussell.
I separate each command group with an empty line in front of the “#” prompt. The indicator words are all in a dim color. The most eye-catching color yellow is assigned to the current directory. For other colors’ setting, the same color will be assigned to different location with a long distance. And the more important it is, the more warmer color it is assigned to.
For the purpose of making the beginner to learn the command line easier, I set the dollar symbol “$” as the main command prompt. The “%” or “#“ indicates the current state of the terminal. The “L” indicates current shell level, it can be useful when you are in nested shells. The last “N” indicates the current command number, with the time stamp you it may help you calculate how long a command takes.
The basic theme format:
PRIVILEGES USER @ MACHINE in DIRECTORY on git:BRANCH STATE [TIME] L:SHELL_LEVEL N:LINE_NUM
The G-pen I bought online arrived today. And after watching the movie 「おおかみこどもの雨と雪」, I decided to draw a wolf. Therefore the doodle below came out. Hope my poor sketch skill doesn’t stain the spirit of wolf, sorry >_<
If the space pen is pure physical structured, it can be cycle used with the ink. So why not replace the gas plug by the one way valve based structure, and let the writing pressure itself push the ink out?