Tag Info

Hot answers tagged

7

Github uses content-disposition: attachment for PDFs, which downloads the file automatically on github.com. You can host the file on a static page provided by GitHub which can link to this file and update as you update the PDF. For that, you can see github pages. Summary Create a repo named USERNAME.github.io. In that repo, click Settings then click ...


7

GitHub uses a strategy that involves the date-time-offset pattern. When you make a commit, the timestamp includes your offset from UTC. You can see this in the API docs for the Commits. The sample they show there uses a commit timestamp of "2010-04-10T14:10:01-07:00". This is a valid ISO8601 representation of a date-time-offset. For the person ...


7

According to the GitHub Terms of Service, under section G. General Conditions, you'll find this: You may use GitHub subdomains (e.g., yourname.github.io) solely as permitted and intended by the GitHub Pages tool to host your company pages, personal pages, or open source project pages, and for no other purpose. You may not use GitHub subdomains in ...


6

It's just for fun. It's much the same as if you vote my answer up 100 times and I get a badge. If you could do that, I'll let you know if that or the gold star gives more virtual satisfaction. The advantage is more for GitHub, it's a very clever way of reducing support requests down to the absolute minimum text. If the same were applied to answers on this ...


5

It's been removed from all profiles. It must have happened around September 2013. It doesn't look like it's coming back. However, if you look at your profile and then view the source of the page you will see in the description meta tag that it is still there. <meta name="description" content="pinkpanther has 58 repositories written in Scala, Ruby, ...


5

This worked for me https://github.com/vbabiy/bitbucket_issue_migration python migrate.py -g username -u username -s reponame -d reponame


5

The accepted answer (as of 18 Sep 2013) is incorrect. GitHub's robots.txt does include a rule disallowing /*/*/blob/*. However, it also includes a rule allowing /*/*/blob/master. Contents of the master branch will be indexed by Google. User-agent: Googlebot Allow: /*/*/tree/master Allow: /*/*/blob/master Disallow: /ekansa/Open-Context-Data Disallow: ...


4

The server at github.io certainly does caching. I have a demo up an running over there and was able to determine that the server sets Last-Modified which allows a client to use If-Modified-Since and get 304 from the server if the data has not been modified since it was last fetched. The server also sets CacheControl: max-age=600. I'm not cache specialist ...


4

I don't think this can be done. Gmail allows multiple accounts running at the same time whereas there is no such mechanism on GitHub.


4

Go to Github, select any project at random, and start clicking links until you get to a source file that is displayed directly in the browser. Conclusion: it is possible for your email address in a source file posted to Github to be picked up by a bot. Whether it's likely or not is another story. Note that the authors of jQuery UI are not squeamish ...


4

I have not tried this but here seems to say your answer is No/Yes in that order:


4

For your second app you are wanting to publish, create a new repo using any name (e.g. myapp). Then publish a branch named gh-pages to that repo. Your new app should then be available at http://USER.github.io/REPO. So, for our example, username.github.io/myapp. For a detailed guide on these steps, see the Creating Project Pages Manually guide. The ...


3

You can exclude search results on GitHub using a minus sign. So to search for all issues not labelled as bugs, you could put the following into a search: type:issue -label:bug Source.


3

Yes, by referring to the commit SHA that added that tag. Look up the tag via the Branches/Tags dropdown list or in the Releases (since on GitHub releases are tied to tags). When you load up the tag, you can grab the commit SHA from the top of the file list, where it says, latest commit XXX {clipboard-icon} And then reference it as you normally would ...


3

This is what they say officially: Popular repositories This lists your repositories with the most stars and watchers. Go you! But looking it over, the listing order/precedence comes out as: All repositories created by you All repositories you've forked Then it counts the contributors, stars and watchers in that order, on each of those to see ...


2

It's gonna be easier. Go to the Forked Repo (yours) and just click green button. It will show you "switching base" message button. click it. Now it will automatically lead to your original repo. write some commit message and Click Create Pull Request button. Now it will lead to your forked repo automatically, click Merge pull request and Confirm ...


2

You can delete a file using delete button but you cannot delete a folder via web-interface. Only way to delete a folder from GitHub.com is to delete every file inside it.


2

If the search engine crawlers honour the robots.txt then no, you won't be able to use external search engines to search for code hosted on GitHub. Here's the line from their robots.txt file disallowing that: Disallow: /*/*/blob/* If you go jumping about repos you'll see the path to the source code is something like this: ...


2

Rob at GitHub said the 'issues created by you' page is broken by design: Issues you've created in any other repository will only be available at the respective project's issues page. Our team is aware that this behavior can be confusing, so they are investigating possible changing this in the future.


2

To take a look at all issues created by you on GitHub (either in your own repositories or in other people's), take a look here: https://github.com/dashboard/issues/created_by


2

Try this: README.txt in:path (maybe you will need to click on "Code" on the left side of the search page)


2

Yes, this is quite possible but not necessarily in a way that will allow importing in to another product such as BitBucket. Where can you find this tool? On GitHub, ofcourse! It is called github-backup and the specifics of what gets back up and what doesn't are described here. Particularly of note though is that private repos aren't accessible through ...


2

This is an interesting question, because Github keeps a history of some activities you do each day, plus it has a "longest streak" record. I narrowed it down. I made a commit at 1am EST, and another at 6am EST. The 1am commit counted against the day before, and the 6am counted as the day of. This corresponds with the comment on this question, that Also, ...


2

I just wrote a simple script in Ruby just to do that, you can check it out here: https://github.com/siong1987/issues_importer


2

To change the list of repos showing in "Repositories you contribute to" you'll need to change your commit behaviour. The "Repositories you contribute to" side box lists repos you've forked or have push access to (that belong to other users or organisations) with these ordering factors (based on observation): Recent activity by you or other users Total ...


2

This is not possible. The Close and Re-open status of an issue will just remain part of its history. Accidents happen. So do reviews which necessitate reopening an issue. Do not worry about it. It happens.


2

You cannot convert a private gist to public. You can also not convert a public gist to private. In both cases you have to repost under the new visibility setting.


2

Click on the color bar in the screenshot below: FYI: How does github figure out a project's language? (answer: using the linguist library)


2

My team ran into similar problems: a bug tracking system is great for logging all bugs and new functionality to be built, but we needed something more to help us prioritize and work together. The process we developed and that works really well for us is a combination of a bug tracker (BugZilla in our case) and Trello. Trello is a superb piece of web software ...



Only top voted, non community-wiki answers of a minimum length are eligible