FreeNas – Open Source Storage Operating System – Free

FreeNAS is an operating system that can be installed on virtually any hardware platform to share data over a network. FreeNAS is the simplest way to create a centralized and easily accessible place for your data. Use FreeNAS with ZFS to protect, store, backup, all of your data. FreeNAS is used everywhere, for the home, small business, and the enterprise. Freenas uses enterprise ready ZFS file system. What is ZFS? ZFS is an enterprise-ready open source file system, RAID controller, and volume manager with unprecedented flexibility and an uncompromising commitment to data integrity. It eliminates most, if not all of the shortcomings found in legacy file systems and hardware RAID devices. Once you go ZFS, you will never want to go back. Features of FreeNas File Sharing File sharing is what FreeNAS does best. Every major operating system is supported with SMB/CIFS (Windows file shares), NFS (Unix file shares) and AFP (Apple File Shares) as well as FTP, iSCSI (block sharing), WebDAV and other methods of sharing data over the network are available. iSCSI also supports VMware VAAI, Microsoft ODX and Microsoft Windows Server 2008 and 2012 R2 Clustering. Most operating systems, including Windows, Mac OS X, many Linux distributions, and […]

» Read more

Multi Language Site Creation Using MVC C# , ASP.NET Using Visual Studio 2013 – Kannada / Arabic / English

Scenario : You want to create an web application which supports multi language. Your site may contain models , form labels, hyper links which needs to be in the required language. We can also have a language switcher. Solution : Use Resource .resx xml file. Tools Required : Visual Studio 2013 Features: Extend as many number of Languages you want Form can be created with different language labels Link labels can be changed language switch option Easily editable Resource Files Create New Project Select Web ==> Asp.net MVC4 Web Application ==> Project Name :: Haneef Select Internet Application Right Click Project Name ==> Add New Folder ==> Name it as Resources Right Click Resources Folder which we created ==> Add New Item Select General Tab from left Hand Side  and Select Resources File from Right Side Name the new file as  LangText.Resx Now Enter the string Name and Value as shown below, Click Access Modifier as Public, Then Click Save All as shown Now Right Click LangText.Resx ==> Copy Paste to Same Folder Now Rename the Pasted File as LangText.Ar.Resx Now Edit the Content of Resx file to include Arabic Translations and Save. Now Again make a copy for Kannada […]

» Read more

Running Image Service from PHP

Scenario : Imagine that you want to run an image service and your clients will use these images in their static site developments. The moment you change these in the server it automatically reflect in the client designs. This is a POC design and can be used in KIOSKS, Web designs etc. Basically wherever you need the dynamic image you will use image src as a php destination. <img src=”http://servername.com/image.php” /> Whenever the server receives the request it will serves the image whichever is assigned to that. Concept: <?php header(“Content-type: text/xml”); $txt=”http://www.haneefputtur/xyx/138778535913.jpg”; $image=imagecreatefromjpeg($txt); imagejpeg($image); imagedestroy($image); ?> If you wish to make it dynamic then store the image data in a mysql database. Then select the image randomly or by sending query parameter so that you will get dynamic images.   Hereis the sample codes to get and display data from mysql database   <?php $servername = “localhost”; $username = “xxxxxxx”; $password = “xxxx”; $dbname = “haneee_2015”;   // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die(“Connection failed: ” . $conn->connect_error); }   $sql = “SELECT img_name FROM hanee_2015.tbl_banners WHERE active=1 AND img_name LIKE ‘%.jpg%’ LIMIT “.$_GET[“img”].”, 1;”; $result = $conn->query($sql);     […]

» Read more

Create Summary Report in Excel Using PivotTable and PivotChart

PIVOT Table Excel can help you by recommending and then automatically creating PivotTables, which are a great way to summarize, analyze, explore, and present your data. Make sure your data has column headings or table headers, and that there are no blank rows. Scenario : Create a line chart from the available data of a school where the performance of all students are available in excel sheet.  This will enable the school head to measure the department wise performance  and also the overall performance. Task 1: Create %ge performance of each department with category 1-5 View the complete video tutorial here in Youtube.   select the data range by highlighting rows and columns of the data and press OK Drag the columns as shown above Right click on any row -> Show Value as -> % of Row Total Click on any row and click Pivot chart as shown below.   Download the sample excel data file from here.      .

» Read more

Solar Powered Weather Station using Arduino and BME280

Requirement : Developing a solar powered weather station which will monitor Temperature. Pressure, Humidity and Altitude from Sea Level. Parts Required Arduino Uno LCD BM280 (https://www.sparkfun.com/products/13676) 10k ohm potentiometer (optional) Power Bank with Solar Panel   Parts images: LCD Potentiometer (To adjust brightness) Arduino Uno Powerbank with Solar Panel Connection Details :     BME280 — Connection  Connect 3.3V of BME 280  to 3.3V of Arduino. Connect GND of BME 280 to ground of Arduino. Connect the SCK pin of BME 280 to Digital #13 of Arduino. Connect the SDO pin  of BME 280 to Digital #12 of Arduino. Connect the SDI pin of BME 280 to Digital #11 of Arduino. Connect the CS pin  of BME 280 Digital #10 of Arduino. LCD Connection  LCD RS pin to digital pin 9 LCD Enable pin to digital pin 8 LCD D4 pin to digital pin 5 LCD D5 pin to digital pin 4 LCD D6 pin to digital pin 3 LCD D7 pin to digital pin 2 Connect potentiometer only if you need to adjust brightness. if not please connect the pin V0 to GND Library Required: Download BME280 Library and copy to Adrduino library folder from this link : https://github.com/sparkfun/SparkFun_BME280_Arduino_Library Download the zip file , extract to a […]

» Read more

How to Display Line Numbers in the Editor Visual Studio 2013

Line numbers aren’t added to your code; t hey’re just for reference. If you want line numbers to print, in the Print dialog box, select the Include line numbers check box. To display line numbers in code On the menu bar, choose Tools, Options. Expand the Text Editor node, and then select either the node for the language you are using, or All Languages to turn on line numbers in all languages. Or you can type line number in the Quick Launch box .

» Read more

Finding a Port which is already in use : Windows

Scenario: You want to find out a port which is used by another application. Step1: Open Command Prompt in elevated mode Step 2 : Enter following command : netstat -aon | findstr :80 This command is to find application which s using port 80. The command will show the process id of the application. Note that you will see the process id. Current case process id is : 3428 Step 3 : Open Windows Task Manager – > View -> Select Columns –> Click PID –> OK Step 4 : Open Process , Sort by Process ID, Select the desired process , Click End Process Tree   Select the Process which shows PID you found above , then right click End Process Tree This will close the application which is running on specified port.          .

» Read more

Batch creation of Batch PDF file from Multiple jpg files – Step By Step

Task : I want to create PDF files of 1000 students records. Each student record have 2 pages. Each page is named in the following format IDNUMBER_PageNo.jpg Example of one students : 20151101234.jpg 20151101234_001.jpg These are the records of one students scanned as jpg. The task is make them as pdf file with a file name : 20151101234.pdf Note that , I have 1000 student records with 2000 jpg files. I have to make 1000 PDF files out of these 2000 jpg files. Tools Required : Microsoft Excel Open Source Software : imagemagic Free Download : http://www.imagemagick.org/script/binary-releases.php For 64 Bit , Windows 7 , I downloaded this Version => http://www.imagemagick.org/download/binaries/ImageMagick-6.9.2-0-Q16-x64-dll.exe Theory: Using ImageMagick if you wish to combine multiple jpeg and create single pdf , then you should use following command convert file1.jpg file2.jpg file3.jpg file.pdf Steps Involved : Create a folder and put all jpg files inside it. Extract the file names , paste to Excel Sheet Create a batch script in the format required by Imagemagick Install Imagemagick Software and Test Enjooooooy Step1 : Create a folder in c Drive as Haneef and paste all the files there Step2 Open Command Prompt cd c:\haneef dir *.* /b >> haneef.txt This will create a […]

» Read more

Java Issue with Chrome Browser 42 and above in Bank Websites with Tokens

After the new upgrade of Chrome browser many Bank websites (Like Axis Bank) where Java Token used will not work unless you make following settings. If your site requires Java plugin , chrome will not support unless you enable the NAPI plugin manually. Enabling NPAPI in Chrome Version 42 and later As of Chrome Version 42, an additional configuration step is required to continue using NPAPI plugins. In your URL bar, enter: chrome://flags/#enable-npapi Click the Enable link for the Enable NPAPI configuration option. Click the Relaunch button that now appears at the bottom of the configuration page. If you still face issues , please leave me a comment . ********* More info on this issue: How do I use Java with the Google Chrome browser? This article applies to: Browser(s) Chrome Java version(s): 7.0, 8.0 NPAPI support by Chrome The Java plug-in for web browsers relies on the cross platform plugin architecture NPAPI, which has long been, and currently is, supported by all major web browsers. Google announced in September 2013 plans to remove NPAPI support from Chrome by “the end of 2014”, thus effectively dropping support for Silverlight, Java, Facebook Video and other similar NPAPI based plugins. Recently, Google […]

» Read more
1 2 3 4 33