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.

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.

La Méthode R.A.C.H.E - International Institute of La RACHE 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 Hello World The Hello World project is a time-honored tradition in computer programming. It is a simple exercise that gets you started when learning something new. Let’s get started with GitHub! You’ll learn how to: Create and use a repository Start and manage a new branch Make changes to a file and push them to GitHub as commits Open and merge a pull request What is GitHub? GitHub is a code hosting platform for version control and collaboration. This tutorial teaches you GitHub essentials like repositories, branches, commits, and Pull Requests. No coding necessary To complete this tutorial, you need a GitHub.com account and Internet access. Tip: Open this guide in a separate browser window (or tab) so you can see it while you complete the steps in the tutorial. Step 1. A repository is usually used to organize a single project. Your hello-world repository can be a place where you store ideas, resources, or even share and discuss things with others. To create a new repository Click Create repository.

Related: