{"id":19773952,"url":"https://github.com/badoo/techblog","last_synced_at":"2025-02-28T05:20:34.355Z","repository":{"id":10575652,"uuid":"12782896","full_name":"badoo/techblog","owner":"badoo","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-08T02:05:30.000Z","size":76419,"stargazers_count":16,"open_issues_count":0,"forks_count":47,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-01-11T01:24:09.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/badoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-09-12T12:24:57.000Z","updated_at":"2024-09-26T14:02:46.000Z","dependencies_parsed_at":"2024-11-12T05:11:45.236Z","dependency_job_id":"90b1db90-5e41-4546-9d8a-1c1a386375b8","html_url":"https://github.com/badoo/techblog","commit_stats":null,"previous_names":[],"tags_count":55,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoo%2Ftechblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoo%2Ftechblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoo%2Ftechblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoo%2Ftechblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badoo","download_url":"https://codeload.github.com/badoo/techblog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241104572,"owners_count":19910466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T05:11:36.663Z","updated_at":"2025-02-28T05:20:34.338Z","avatar_url":"https://github.com/badoo.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Badoo Tech Blog\n\nThis is the source code for the Badoo Tech Blog, it is built using [Jekyll](http://jekyllrb.com/).\n\n***\n\n### Getting Set Up\n\nFirst fork the [badoo/techblog](https://github.com/badoo/techblog) repository on GitHub.\n\nThen clone your fork of the project locally by running the following command, with `\u003cyourusername\u003e` replaced with your GitHub username:\n```sh\ngit clone git@github.com:\u003cyourusername\u003e/techblog.git techblog\n```\n\nThen move into the **techblog** directory and add the original repository as a remote:\n```sh\ncd techblog\ngit remote add upstream git@github.com:badoo/techblog.git\n```\n\n***\n\n### Contributing a Post\n\n#### Environment\n\nThe tech blog is built using [Jekyll](http://jekyllrb.com/). So you need to install the ruby gem if you don't have it in your computer:\n\n```bash\ngem install jekyll\n```\n\nFurthermore, we use [Less](http://lesscss.org/) preprocessor, so you will also need to install it. The easiest way:\n\n```bash\nnpm install -g less\n```\n\nThen make sure there is a nice picture of you in the **images/authors/** directory. If your name is \"Joe Bloggs\" then there should be a file called \"joe-bloggs.jpeg\". It **MUST** be a 200x200px **.jpeg** file.\n\n#### Your first post\n\nAssuming you want to write a new post with a title of \"I am awesome\", first make sure you are in branch **master** and have pulled from upstream, then create a new branch.\n```sh\ngit checkout master\ngit pull upstream master\ngit checkout -b i-am-awesome\n```\n\nCreate a file in the **_posts** directory in the format: **2013-06-13-i-am-awesome.markdown**\n\nAt the top of the file you need to include a YAML front-matter block like this:\n```\n---\nlayout: post\ntitle:  I Am Awesome\nauthor: Joe Bloggs\ndate:   2013-06-27\ncategories: javascript css\n---\n```\nThis post has two categories, **javascript** and **css**. Categories must be lowercase and a single word. A post **MUST** have at least one category. Also please note that these are categories, not hash tags.\n\nSo the rules for making new categories are as follows:\n* If the category is of a major technology or language (e.g. php, css, java)\n* If not then the category should have at least two articles written for it else it should go under miscellaneous\n\n\nThe body of a post is written in standard Markdown with the exception of code blocks, which should be included like this:\n```html\n{% highlight java %}\npublic static String getName () {\n    return \"Bob\";\n}\n{% endhighlight %}\n```\nYou must specify the language, any of the following are valid:\n* javascript\n* java\n* html\n* css\n* obj-c\n* sh (Bash scripts or terminal commands)\n\n\nWhen you are done and have committed all your work, push your branch to your forked repository.\n```sh\ngit push origin i-am-awesome\n```\n\nSubmit a pull request back to the origin repository and someone (or lots of people) will review it and maybe make some comments. When everybody is happy your pull request will be merged and will be live on the site when the next release is done.\n\n***\n\n### Running Locally\n\nTo run a local version of the blog you need to install Jekyll, which is a Ruby gem. If you are running Windows see this [blog post](http://www.madhur.co.in/blog/2011/09/01/runningjekyllwindows.html) for instructions on how to set it up.\n\nIf you are on Mac OSX then run the following command. It will take a few minutes to install.\n```sh\ngem install jekyll\n```\n\nThen from the root of the **techblog** directory run:\n```sh\njekyll serve --watch\n```\nNow go to **http://localhost:4000** in your browser. The `--watch` flag means that Jekyll will rebuild the project when you make a change to any file.\n\n\n***\n\n### Post Titles and Dates - Very Important!\n\nOnce a post has has gone live **DO NOT CHANGE THE TITLE OR DATE**. If you do the link will change and then the internets will have broken links and everyone will be sad.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadoo%2Ftechblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadoo%2Ftechblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadoo%2Ftechblog/lists"}