Topics

www.cloudlofty.com domain for sale. Contact @ sprakash26790@gmail.com

Tuesday, February 21, 2017

Smallest and Largest AWS Instance Type

  • AWS cloud provides lot of instance types based on different use cases.
  • Instance types comprise varying combinations of CPU, memory, storage, and networking capacity.
Below are the details of Smallest and Largest Instance types with price details(Values are based on US East (N. Virginia)) ↴↴↴

Smallest Instance Type ➟ t2.nano

  • The Smallest and cheapest Amazon EC2 Instance type is t2.nano.
  • The t2.nano is recommended for low-traffic website hosting, micro services and developer environments which have low memory needs and don’t need consistently high levels of CPU on average, but benefit significantly from having full access to very fast CPUs when they need them.
Instance Type vCPU Mem(GiB)
Pricing*
Reserved Instance(1 Year Upfront)*
Linux
Windows
Partial
Full
t2.nano 1 0.5 $0.0059/hr $0.0082/hr $0.004/hr $0.004
* indicates not appropriate values

Largest Instance Type ➟ x1.32xlarge

  • It is the Largest instance type and Lowest price per GiB of RAM
  • It is designed for running large-scale, in-memory applications and in-memory databases like SAP HANA, big data processing engines like Apache Spark or Presto, and high performance computing (HPC) applications.
Instance Type vCPU Mem(GiB)
Pricing*
Reserved Instance(1 Year Upfront)*
Linux
Windows
Partial
Full
x1.32xlarge 128 1952(2TB) $13.338/hr $19.226/hr $7.828 $7.671
* indicates not appropriate values

Saturday, September 19, 2015

cannot overwrite variable host because it is read-only or constant


Error message for the below script : cannot overwrite variable host because it is read-only or constant


Solution : 
In the above script the variable "host" is reserved for some purpose in windows/windows_powershell. So use unreserved variable.

Thursday, November 13, 2014

Configuring “Two-Factor Authentication in GitHub (2FA)”

We can set 2FA using multiple ways.
·        Using SMS,
·        Using Smartphone and Command Prompt.
Let’s see..,

First Login into https://github.com/
Once you logged into the GitHub
Navigate to "settings (top right corner) -> Security".
Here the status is in OFF (Here we going to enable 2FA).

Click on "Set up two factor authentication" and select "Set up using SMS"

Using SMS:
Ø  Provide the “Country Code” and “Phone Number” in separate text box and click “Send Code” button.
Ø  Enter the 6-digit code which is received in your phone. Then click “Enable”.
<Now you almost done>

But don’t forget to download the Recovery codes, because it is very useful for future reference.
Because the recovery codes can be used to access your account in the event you lose access to your device and cannot receive two-factor authentication codes.
You can’t use the codes once you used (Better to store in your personal mail).

Using Smartphone and Command Prompt:
Ø  Click "Set up two factor authentication" and select "Set up using an app"
Ø  Now you can configure in two ways
·        Using Smartphone
·        Using Command Prompt

Using Smartphone:
If you have Smartphone with you, then you are eligible for this.

Here are the steps.
Ø  Go to "Play store" in your mobile then download the Authenticator.jar file
Ø  Then run that Authenticator.jar file.
Ø  Now there is an option for scanning the QR code say "Scan QR code" in your mobile. Just scan the QR code which is in Github two-factor authentication page.
Ø  Now Authenticator.jar app will give you a 6-digit code.
Ø  Enter that code in “2. Enter the 6-digit code that the application generates” text box which is in Github two-factor authentication page.
<Now you almost done>

(Remember) But don’t forget to download the Recovery codes, because it is very useful for future reference.
Because the recovery codes can be used to access your account in the event you lose access to your device and cannot receive two-factor authentication codes.
You can’t use the code once you used (Better to store in your personal mail).

Using Command Prompt:
Ø  Now Click "enter this text code" and it will show you two-factor secret code.
Ø  Now save it as secret.txt in a folder for example say GitAuth.
Ø  Then click below links to download the Authenticator file.
·        For Windows (Download)
·        For Ubuntu (Download)
Ø  Save it in GitAuth folder.
Ø  Open the Command Prompt (Win+R -> cmd -> enter) and go to the GitAuth folder path.
Ø  Now enter the below command without quote

For Windows : 
Run : "java -cp Authenticator.jar Authenticator.Main secret.txt"
For Ubuntu : 
Compile : "javac -cp ./Authendicator/*.java"
Run : "java -classpath ./ Authenticator.Main /home/prakash/secret.txt"

Ø  Command Prompt will give you 6-digit secret code.
Ø  Enter that code in "2. Enter the 6-digit code that the application generates" which is in github two-factor authentication page.
<Now you almost done>

(Remember)But don’t forget to download the Recovery codes, because it is very useful for future reference.
Because the recovery codes can be used to access your account in the event you lose access to your device and cannot receive two-factor authentication codes.

You can’t use the code once you used (Better to store in your personal mail).


Wednesday, September 17, 2014

Top Programming Languages with Niche Languages


Always, Java remains one of the most dominant languages in use and also some-more languages are still remains solidly in top tier of languages list like JavaScript, C++, C#, PHP, Python.Other-than usual languages, sometimes more niche languages also needed, such as R and Go. Here are the some Index ranks programming languages monthly based on web searches, some raw data, and etc..,

TIOBE made the measurement by using the web searches across a number of search engines. Moreover 25 search engines are used to calculate the TIOBE index. The selected search engines are the 25 highest ranked websites of Alexa. Popular search engines such as GoogleBingYahoo!, WikipediaAmazonYouTube and Baidu are used to calculate the ratings. It is important to note that the TIOBE index is not about the best programming language or the language in which most lines of code have been written.

PYPL(PopularitY of Programming Language) also ranked the programming languages based on web searches. Mostly it looks at raw data comes from Google Trends i.e Google searches for tutorials about a language, rather than just any search for a language name. PYPL tells that Java is still the number one language, since 2004, with a 27.2% share, slightly got increased from last year(2013). PHP and Python are in respective 2nd and 3rd places with more than 10% share. C++ is in #5 place on the PYPL list, same as it was last year, with the smaller share of 8.8% share. Anyhow C++ is losing its measurement in 2004.
Because of the share loss in C++, C# went one step upwards to #4.

RedMonk takes a different approach to make the ranking table i.e RedMonk looks at the combination of GitHub data and Stack Exchange popularity. From June onwards, Java and JavaScript were tied at #1 position.Respectively PHP, Python, C# are in #3, #4, #5th positions. For 6th position C++ is tied with Ruby. The RedMonk index haven’t changed much at the top of the list. Sometime more niche languages also in best list, however, are showing strong growth in this measure. R has shown gains in the last four rankings, driven mainly by growth in GitHub activity, and is currently ranked #13 (21st on TIOBE, not ranked by PYPL). Go is also on the way up, currently at #21 on Redmonk (#38 on TIOBE) and is expected to crack the top 20 soon.

Tuesday, April 29, 2014

Skype Loves Bringing Groups Together – With FREE Group Video Calling

Skype group video calling is available to everyone with free of charge.

Click HERE to see more details about Free Group Video Call.

Click HERE to see How to Make a Group Video Call