Skip to content

Instantly share code, notes, and snippets.

View brgnepal's full-sized avatar

Budh Ram Gurung (BRG) brgnepal

View GitHub Profile
@brgnepal
brgnepal / devices_screens.md
Created August 4, 2022 16:17
Devices Viewport Sizes
Device Viewport Size
iPhoneX 375x812
Galaxy Note 10 412x869
iPhone 8 Plus 414x736
Galaxy S9 Plus 412x740
iPhone SE 320x568
Pixel 3 XL 412x846
Galaxy S7 360x640
iPad Mini 768x1024
@brgnepal
brgnepal / emojis.json
Created September 8, 2021 02:14 — forked from oliveratgithub/emojis.json
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
{
"emojis": [
{"emoji": "👩‍👩‍👧‍👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "👩‍👩‍👧‍👧", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👧‍👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "👩‍👩‍👧‍👦", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👦‍👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "👩‍👩‍👦‍👦", "category": "People & Body (family)", "order": ""},
{"emoji": "👨‍👩‍👧‍👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "👨‍👩&z
@brgnepal
brgnepal / rails_setup.md
Created September 5, 2021 13:31 — forked from ryanflach/rails_setup.md
Common setup for a new Rails project
  1. rails new <project_name> -d postgresql --skip-turbolinks --skip-spring -T
  • -d postgresql sets up the project to use PostgreSQL
  • --skip-turbolinks & --skip-spring creates a project that does not use turbolinks or spring
  • -T skips the creation of the test directory and use of Test::Unit
  1. In the Gemfile:
  • Available to all environments:
    • gem 'figaro' - store environment variables securely across your app (docs)
    • Uncomment gem 'bcrypt', '~> 3.1.7' if you will be hosting your own user accounts with passwords (docs)
  • Inside of group :test:
    • gem 'rspec-rails' - user rspec in place of minitest (docs)
@brgnepal
brgnepal / sfd-meet-1.md
Last active August 28, 2021 15:40
Software Freedom Day (SFD) Meeting First Notes
@brgnepal
brgnepal / html-css-challenge-5.md
Last active June 20, 2021 13:25
HTML & CSS Challenge #5 Resources

HTML & CSS Challenge 5 Resources

Use the following image urls and content for the challenge.

Hints

  • Tags: div, h1, a, img, br, h3
  • CSS Properties: position, top, transform, display, text-align, padding, color, font-size, background-color, height, width

NOTE: The above tags and properties are used by author to create the challenge. You can use anything to create your own version.

@brgnepal
brgnepal / sinatra-videos.md
Created December 31, 2020 09:54
Nice Videos on Sinatra
@brgnepal
brgnepal / gist:1d1a9b1c1148e666377acacf0a6cb5da
Last active December 3, 2020 14:03
first-web-page.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>First Web page created on Aug 6, 1991</title>
</head>
<body>
<h1>World Wide Web</h1>
<p>
@brgnepal
brgnepal / table.md
Created October 3, 2020 06:20
auto numbering in table
first second third
1. name foo
1. age 15

Welcome to Nepal Online School

This repository powers the website of the Nepal Online School(NOS).

What is Nepal Online School

Nepal Online School(NOS) is a non-profit digital learning platform working for free education in Nepal. With dedicated and hardworking mentors, we have created quality videos from academics to yoga.

Getting Started

@brgnepal
brgnepal / ror-intro.md
Last active July 3, 2020 13:13
Ruby on Rails Intro App

Ruby on Rails - Build your appliation faster

  1. New app rails _5.2.4_ new actor-dialogues

  2. cd actor-dialogues

  3. rails s and open http://localhost:3000

  4. Create a dialogue scaffold