background preloader

Gitignore - GitHub

Gitignore - GitHub

Azure On GitHub - GitHub 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.

Introducing GitHub Enterprise - GitHub 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 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.

GitPad: Write your commits in Notepad - GitHub A Visual Explanation of SQL Joins I love the concept, though, so let's see if we can make it work. Assume we have the following two tables. Table A is on the left, and Table B is on the right. We'll populate them with four records each. id name id name -- ---- -- ---- 1 Pirate 1 Rutabaga 2 Monkey 2 Pirate 3 Ninja 3 Darth Vader 4 Spaghetti 4 Ninja Let's join these tables by the name field in a few different ways and see if we can get a conceptual match to those nifty Venn diagrams. There's also a cartesian product or cross join, which as far as I can tell, can't be expressed as a Venn diagram: SELECT * FROM TableA CROSS JOIN TableB This joins "everything to everything", resulting in 4 x 4 = 16 rows, far more than we had in the original sets.

Fix a Git detached head?