Skip to content

Instantly share code, notes, and snippets.

View cmdr-rohit-bang's full-sized avatar
🎯
Focusing

Rohit cmdr-rohit-bang

🎯
Focusing
View GitHub Profile
# frozen_string_literal: true
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause
# this file to always be loaded, without a need to explicitly require it in any
# files.
#
# Given that it is always loaded, you are encouraged to keep this file as
# light-weight as possible. Requiring heavyweight dependencies from this file
@cmdr-rohit-bang
cmdr-rohit-bang / ci.yml
Last active July 19, 2021 12:45
GitHub Actions Ruby On Rails CI config file
# .github/workflows/ci.yml
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:11
ports:
@cmdr-rohit-bang
cmdr-rohit-bang / robots.txt
Created December 26, 2020 06:20
Sample robots.txt file
# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
#
# To ban all spiders from the entire site uncomment the next two lines:
User-agent: *
Disallow: /
@cmdr-rohit-bang
cmdr-rohit-bang / sitemap.xml
Created December 26, 2020 06:16
Sitemap Sample
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://example.com</loc>
<lastmod>2020-12-06T17:38:21+00:00</lastmod>
<priority>0.5</priority>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>http://example.com/about</loc>