Author: shubhangisinghblog

Making Web Citrix work on ubuntu (firefox)

The Citrix ICA Client (Citrix Receiver) allows access to remote Windows sessions that run on a Citrix server. Downlod and install Citrix: official website link By default, Citrix Receiver only trusts a few root CA certificates, which causes connections to many Citrix servers to fail with an SSL error. The 'ca-certificates' package (already installed on … Continue reading Making Web Citrix work on ubuntu (firefox)

Advertisements

Difference between Web server and Web application

Web server Web Application Designed to serve http content Can serve   HTTP content and can execute business logic It is a program that takes a request to your website from a user and does some processing on it. Then, it   gives the request to your Rails app. An app server is the thing that actually … Continue reading Difference between Web server and Web application

Difference between Classes and Modules [RUBY]

  Class Module Instantiation Can be instantiated (initialized) Can not be instantiated Usage To create object To create mixin facility, to provide namespace Superclass Module Object Inheritance Allowed Not allowed Inclusion Cannot be included Can be included in classes and modules by using the include command Extension Can be inherited not extended Module can extend … Continue reading Difference between Classes and Modules [RUBY]

Ruby On Rails Interview Questions

Here are few of the interview questions which have been recently asked by companies What is the difference between Ruby Select and Detect? Ans What is the difference between Ruby strings declared with  single quotes and the one declared with double quotes? Ans What is the difference between Classes and Modules? Ans What are different types … Continue reading Ruby On Rails Interview Questions

single quoted string VS Double quoted string [RUBY]

Single Quoted Double Quoted Does not allow string interpolatio foo = 'Hello' puts foo => Hello foo = 'Hello' bar =  'check #{foo}' => ##Error Allows string interpolation foo = “World” puts foo =>Hello foo = 'Hello' bar =  “check #{foo}” puts bar => check Hello Single quotes preserve escaped characters puts 'i \n love … Continue reading single quoted string VS Double quoted string [RUBY]

Select VS Detect [RUBY]

Ruby Select Ruby Detect Returns an array containing all elements of enum for which the given block returns a true value. If no block is given, an enumerator is returned instead.  Returns the first element for which block is not false. If no object matches returns nil . If no block is given, an enumerator is returned instead. items.select(...) returns all elements that meet criteria … Continue reading Select VS Detect [RUBY]

Getting started with Chrome extension development

In this tutorial we will be creating a basic chrome extension from scratch, this chrome extension will fetch some random inspirational quotes from an api, purpose is to give a basic idea of directory structure of extension and its working. What Is a Chrome Extension? A Chrome extension is a combination of HTML, CSS and … Continue reading Getting started with Chrome extension development