My First Post      My Facebook Profile      My MeOnShow Profile      W3LC Facebook Page      Learners Consortium Group      Job Portal      Shopping @Yeyhi.com

Pages










Showing posts with label amu aligarh. Show all posts
Showing posts with label amu aligarh. Show all posts

Wednesday, November 8, 2017

What is Chocolatey and how to install : Step by step guide from W3LC.com about the new and cool Windows Package Manager

To start with, Chocolatey is a package manager for Windows (like apt-get or yum but for Windows). You must have also heard in past about npm as a package manager for NodeJs.
It is much like similar thing - The package manager, to be specific!

Chocolatey is a decentralized framework for quickly installing applications and tools that you need. It is built on the NuGet infrastructure.

It includes all aspects of managing Windows software (installers, zip archives, runtime binaries, internal and 3rd party software) using a packaging framework that
understands both versioning and dependency requirements.



It is open source andyYou can host your own sources and add them to Chocolatey, you can extend Chocolatey's capabilities.

How to Install Chocolatey

It's easy, you know just like grabbing a Vodka Shot. But without a hole in pocket! It's free, in case you're wondering untill now.

Steps:

1. Ensure that you are using an administrative shell.

2. Copy the text specific to your command shell.
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

3. Paste in shell and press Enter

4. Wait for a few seconds and let the command execute.



5. [Optional] If you are using PowerShell.exe instead of Windows command prompt, there is an additional step. You must ensure Get-ExecutionPolicy is not Restricted.

a. Run Get-ExecutionPolicy. If it returns Restricted, then run Set-ExecutionPolicy AllSigned or Set-ExecutionPolicy Bypass -Scope Process.

b. Use following command istead of the earlier mentioned in point 2.
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))


And Voila! Its done!


References:
https://chocolatey.org/about
http://www.w3lc.com

Wednesday, September 27, 2017

Best IDE for PHP: Edit, code, Autocorrect, run & debug

Let me begin this time with a theoretical answer- Nothing is good or bad. What suits you best is best for you!

Amused! Now, let Anwar come to the real analysis and advice.

I have seen people settling with Aptana now a days. It's reasonably fast, but chokes on large files when syntax highlighting is on. Setting up PHP debugging is hard. But three good things about Aptana: easy plugin installations, very fast and intuitive Subversion plugins, lighting fast file search.

I tried Eclipse PDT and Zend for Eclipse, but they have nightmare interface when it comes to PHP code. Installing plugins is a living horror of version mismatches and cryptic error messages.

I also use Komodo. Komodo has a very intuitive interface, but is ridiculously slow, chokes on medium sized files with syntax highlighting. File search is intuitive, but rather slow. Subversion integration is not that great - slow and buggy. But trust me on this, if you are using 16 GB RAM laptop or computer, Komodo will beat up on any rivals.


There is again another good player in this field. Enters PhpDesigner!!
The main pro of this one is that it's NOT Java based. This keeps the whole thing quick. I am listing its features that i collected from an internet post (Why to type again if its listed. Thanks to that man!)

Intelligent Syntax Highlighter - automatic switch between PHP, HTML, CSS, and JavaScript depending on your position! Lets see the languages supported!

PHP (both version 4 and 5 are supported)
SQL (MySQL, MSSQL 2000, MSSQL 7, Ingres, Interbase 6, Oracle, Sybase)
HTML/XHTML
CSS (both version 1 and 2.1 are supported)
JavaScript
VBScript
Java
C#
Perl
Python
Ruby
Smarty


Support for both PHP 4 and PHP 5

Code Explorer for PHP (includes, classes, extended classes, interfaces, properties, functions, constants and variables)
Code Completion (IntelliSense) for PHP - code assist as you type
Code Tip (code hint) for PHP - code assist as you type
Work with any PHP frameworks (access classes, functions, variables, etc. on the fly)
PHP object oriented programming (OOP) including nested objects
Support for PHP heredoc
Enclose strings with single- or double quotes, linefeed, carriage return or tabs
PHP server variables
PHP statement templates (if, else, then, while…)
Powerful PHP Code Beautifier with many configurations and profile support
phpDocumentor wizard
Add phpDocumentor documentation to functions and classes with one click!
phpDocumentor tags
Comment or uncomment with one click!
Jump to any declaration with filtering by classes, interfaces, functions, variables or constants
Debug (PHP):


Debug with Xdebug

Breakpoints
Step by step debugging
Step into
Step over
Run to cursor
Run until return
Call stack
Watches
Context variables
Evaluate
Profiling
Multiple sessions
Evaluation tip
Catch errors



Please note that the above features are decision making attributes. I analysed all other IDEs as well, over these parameters and able to reach some conclusion. Atleast for me i know who the bride would be. Ah! Bridegroom for all those female readers ;)

Coming  to my final verdict. I find its the Komodo that wins!
It has the best debugging facilities of any PHP IDE I have tried, is a very mature product and has more useful features than you can shake a stick at. Of note, it has a fantastic HTTP inspector, Javascript debugger and Regular Expression Toolkit. You can get it so that it steps through your PHP, then you see your Javascript running, and then see your HTTP traffic going out over the wire!

It also comes in free (Komodo Edit) and open (OpenKomodo versions). And, remember, Komodo is best suited for many other languages as well like Python.

Cheers!
* Please note: I am having messed up times because of two sweet angels at ma home. The frequency of posts have decreased, but i promise to come up with more researched book that i promised. And guess what, the poetry book that i was working upon is almost complete now. My wife is so enthusiastic for it :)

Tuesday, August 23, 2016

Why is there no iPv5 after iPv4? Story of what happened between ipV4 and ipv6

It is really interesting to know Why is there no iPv5 after iPv4? When my brother asked this i retold him thr Story of what happened between ipV4 and ipv6. His knowledge did wonders to him at his college. Today I share it with my readers ;)

To start with, lets note that ipv5 actually doesn't exist. While this may seem confusing, version 5 was in fact intentionally skipped to avoid confusion, or at least to rectify it. The problem with version 5 relates to an experimental TCP/IP protocol called the Internet Stream Protocol, Version 2, originally defined in RFC 1190. 


IPv5 was used to define an experimental real-time streaming protocol. To avoid any confusion, it was decided to not use IPv5 and name the new IP protocol IPv6. Another thing is that IPv6 has a high span of IP adresses that is up to 340 trillion trillion trillions.


This protocol was originally seen by some as being a peer of IP at the Internet Layer in the TCP/IP architecture, and in its standard, these packets were assigned IP version 5 to differentiate them from “normal” IP packets (version 4). This protocol apparently never went anywhere, but to be absolutely sure that there would be no confusion, version 5 was skipped over in favor of version 6.


For academic geeks, IPv5 was used to define an experimental real-time streaming protocol. To avoid any confusion, it was decided to not use IPv5 and name the new IP protocol IPv6. Another thing is that IPv6 has a high span of IP adresses that is up to 340 trillion trillion trillions.