Skip to content

Instantly share code, notes, and snippets.

BRG coolbrg

Block or report user

Report or block coolbrg

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
coolbrg /
Last active Jul 26, 2019
Rails Girls App Dry Run
  1. Create Idea Scaffold and run server

    rails generate scaffold idea name:string description:text picture:string
    rails db:migrate
    rails server
  2. Add Bootstrap 4 CSS & JS

    <!-- CSS -->
coolbrg /
Last active Jul 24, 2019
Everest Hack Project Details post Ghumfir


Elevator Pitch: Click your trip

The problem it solves: Our website is focussed for wanderers willing to take up an adventure and explore new places. It provides a platform to connect with like minds and form an active travel community and share experiences. One can add their desired trips and others can voluntarily join in different trips of their choce and enjoy their travel. One can also add their home stays located at their local areas so that travellers find it easy to access lodging, and also learn about the locality they are travelling.

Team name: Team Stack

coolbrg /
Created Jul 15, 2019
Essential VSCode Extensions for Web Development
  1. Debugger for chrome

Chrome has features built in that make debugging a much better experience. This extension gives you all (or close to all) of those debugging features right inside of VS Code!

  1. Auto Rename Tag

Need to rename an element in HTML? Well, with Auto Rename Tag, you just need to rename either the opening or closing tag, and the other will be renamed automatically. Simple, but effective!

coolbrg / social-icon-colors.css
Last active Sep 1, 2019
Social Icon Color Code
View social-icon-colors.css
.fa-twitter-square {
color: #38A1F3;
.fa-facebook-square {
color: #4267b2;
.fa-github-square {
color: #333;
.fa-linkedin {
coolbrg /
Created Jun 4, 2019 — forked from squarism/
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
coolbrg /
Last active Apr 16, 2019
Internship - Full Stack Developer (4 Openings)

Internship as Full Stack Developer in Averon Media Pvt Ltd

About Averon Media

Averon Media Pvt Ltd is a company specialized in Web Design & Developement and Digital Marketing in Pune, Maharashtra. It's target is to become the India's #1 Web Development company in coming years. More details can be found in company website here.

About the Internship

Selected intern's day-to-day responsibilities include:

coolbrg / powershell.go
Last active Nov 19, 2018
Playing PowerShell command via Golang
View powershell.go
package main
import (
// PowerShell struct
coolbrg /
Created Sep 26, 2018 — forked from zulhfreelancer/
How to reset PG Database on Heroku?

How to reset PG Database on Heroku?

  • Step 1: heroku restart
  • Step 2: heroku pg:reset DATABASE (no need to change the DATABASE)
  • Step 3: heroku run rake db:migrate
  • Step 4: heroku run rake db:seed (if you have seed)

One liner

heroku restart; heroku pg:reset DATABASE --confirm APP-NAME; heroku run rake db:migrate

View monkey_patch.rb
# Concept is called Monkey Patch
class Integer
def +(n)
self * n
# Now try 10 + 4
coolbrg /
Last active Aug 13, 2018
Integration test results for Andy commits
# Failed only two steps
Feature: registry-route add-on
registry-route add-on exposes the route for the OpenShift integrated registry,
so that user can able to push their container images directly to registry and deploy it.
The bash instance has been started and will be used for testing.
Scenario: As a user, I can enable the registry-route add-on # features/addon-registry-route.feature:6
Given user starts shell instance on host machine # testsuite.go:778 -> /testsuite.startHostShellInstance
When executing "minishift addons enable registry-route" succeeds # testsuite.go:613 -> /testsuite.ExecutingMinishiftCommandSucceedsOrFails
You can’t perform that action at this time.