background preloader

Gitignore - GitHub

Gitignore - GitHub

Azure On GitHub - GitHub Ctags and Taglist: Convert Vim Editor to Beautiful Source Code Browser for Any Programming Language This article is part of the on-going Vi / Vim Tips and Tricks series. As a programmer or system administrator, you will be constantly browsing source codes and shell scripts. Following are some typical activities that you may perform while browsing a source code file: Navigating to the function definition by specifying the function name. Navigating to the function definition from ‘function call’. In this article, let us review how to perform the above activities efficiently in Vim editor using ctags and taglist plugin. I. Step 1: Installing ctags Package # apt-get install exuberant-ctags (or) # rpm -ivh ctags-5.5.4-1.i386.rpm warning: ctags-5.5.4-1.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e Preparing... ########################################### [100%] 1:ctags ########################################### [100%] Step 2: Generating ctags on your source code Go to the directory where your source code is located. # cd ~/src # ctags *.c II. 4 Powerful Ctags Usages inside Vim Editor 1.

UltimateVimPythonSetup - Launchpad Development Did you come here by mistake? If so, check out our EmacsTips. Here's a complete vimrc file that you can use. To call it add these lines to your ~/.vimrc: if ! And then create the ~/.vim/python file as below. Set indent to 4 spaces with no tabs and wrapping at 78 columns. Finally, there's a great pyflakes plugin here: Follow its setup instructions. Most of the configs on this page are included in this branch, and it includes a macro for sorting and formatting a from/import statement and a plugin for pocketlint checking, which is not found elsewhere.

La Méthode R.A.C.H.E - International Institute of La RACHE Hey git, please .keep those folders – Kinduff Hola! I gave a ProTip® today to one of my peers regarding keeping folders checked-in in git but avoiding to push new files inside of it. I find it very useful and I want to share it. This method is useful for the following cases: You want to push a directory structure to git before having files.You want to check-in a directory but not the files.You just want to push an empty folder — lol. Remember that this is not a git feature or anything like that, this is done using an undocumented file name convention (keep or gitkeep) and the prefix to negate a pattern. Just create an empty folder and create a 0kb file called .keep $ mkdir logs$ touch logs/.keep You can call it .keep or .gitkeep, they are useful for the exact same thing and the name of it its just a convention (Rails and some Node generators). If you want to ignore everything inside the foo directory but you also want to check-in this folder, add the following lines in your .gitignore # ignore all logs fileslogs/* That’s it.

Introducing GitHub Enterprise - GitHub Vim Essential Plugin: SnipMate The SnipMate plugin aims to mimic the popular snippets feature in TextMate, which allows you to type a sequence of characters, and then automatically expand to a full block of code or html by pressing Tab. It's incredibly helpful. Once installed, you only need to type the desired snippet trigger, and then press Tab. Keep in mind, though, that the available snippets are limited to the extension of the file you're working on. Try visiting your ~.vim/snippets directory for an overview of all the available shortcut keys. If the above snippet is placed within the HTML.snippets file, you'll then be able to create a bla element by typing the shortcut, mysnippet. Note: When creating new snippets, you'll need to either restart Vim, or open a new window before testing.

Stephen Roberts' Blog The Code of the Geeks v3.1 Generator Last updated: July 12, 1995 Instructions The geek code consists of several categories. Some of the qualifiers will very probably not match with you exactly. Variables Geeks can seldom be strictly quantified. In each category, there will be four buttons right after the category description. for this variable, said trait is not very rigid, may change with time or with individual interaction. Indicates that this particular category is done for a living. Unless stated otherwise within the specific category, the ? Placed BEFORE the category. For each qualifier in a category, there are three buttons. for indicating "cross-overs" or ranges. for 'wannabe' ratings. The Geek Code is copyright (C) 1993, 1994, 1995 by Robert A. The The Geek Code Generator has been developed by Dylan Northrup.

Related: