Skip to content

Instantly share code, notes, and snippets.

View bishisht's full-sized avatar

Bishisht Bhatta bishisht

View GitHub Profile
@bishisht
bishisht / .txt
Last active May 4, 2017 08:36
Linux Kernel development path
http://eudyptula-challenge.org/
http://www.tldp.org/LDP/lkmpg/2.6/html/index.html
https://kernelnewbies.org/
https://www.youtube.com/playlist?list=PLD8F7759A8F75D841
http://pages.cs.wisc.edu/~remzi/OSTEP/
https://unix.stackexchange.com/questions/1003/linux-kernel-good-beginners-tutorial
https://psankar.blogspot.com/2014/09/kernel-development-beginner.html
https://lwn.net/Kernel/LDD3/
https://github.com/MichielDerhaeg/build-linux
@bishisht
bishisht / command-line.md
Created March 4, 2016 17:42 — forked from aviflombaum/command-line.md
A tutorial on the Command Line from the Flatiron School

Intro

BASH is a text-based shell for controlling your computer (or operating system). Bash is actually an acronym which stands for Bourne-again shell. It replaced the Bourne shell and "bashed together" the unix programs sh, csh and ksh. From it you can navigate the files on your computer and execute programs. You can also connect to other computers and basically do everything you can do in your GUI Operating System (like OS X or Windows).

When you open a terminal, you're basically within your file system, or in a directory, just like you are when you open a Finder window or an Explorer window.

@bishisht
bishisht / routes.rb
Created November 26, 2015 07:46
Cannot do sign up like this. Need to make localhost:3000/sign_up work. Now facing problem. Error: Unable to load application: ArgumentError: Invalid route name, already in use: 'new_user_registration' You may have defined two routes with the same name using the `:as` option, or you may be overriding a route already defined by a resource with the…
Rails.application.routes.draw do
devise_for :users
get 'home/index'
get 'home/about'
get 'home/services'
devise_scope :user do
get "sign_in", to: "devise/sessions#new"
get "/sign_up" => "users/sessions#new", as: "new_user_registration"
end
@bishisht
bishisht / production.rb
Created July 11, 2015 10:26
Spree production.rb
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# Code is not reloaded between requests.
config.cache_classes = true
# Eager load code on boot. This eager loads most of Rails and
# your application in memory, allowing both threaded web servers
# and those relying on copy on write to perform better.
# Rake tasks automatically ignore this option for performance.
@bishisht
bishisht / database.yml
Created July 9, 2015 18:03
A sample database.yml for Heroku
development:
adapter: postgresql
encoding: unicode
database: blog_development
pool: 5
username: bishisht
password:
test:
adapter: postgresql