Skip to content

Instantly share code, notes, and snippets.

@monishnarwani
monishnarwani / CSVHelper.php
Created October 6, 2018 05:30
Simple php class to parse CSV file data into array with headers
<?php
class CSVHelper
{
// Build wonderful things
public static function parseCSV($fileName)
{
$extractData = [];
$csvArray = [];
@monishnarwani
monishnarwani / update_ubuntu_version.sh
Created June 24, 2018 07:58
This gist helps to update ubuntu version
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt-get autoremove
sudo apt install update-manager-core
sudo do-release-upgrade