Skip to content

Vinod Ram Blog

Creative, Informative and Entertaining Stuff for everyone

Vinod Ram Blog

Creative, Informative and Entertaining Stuff for everyone

  • Home
  • Web Stories
  • Get in touch
  • About
    • Home
    • Uncategorized
    • Page 2
linux mac PHP Uncategorized web development

How do I gunzip all files .gz recursively in a target directory?

Vinod Ram November 24, 2018 0 Comments

The solution is very simple gunzip -r * This will extract all .gz file in the respective directory and sub directory and remove the .gz files as well. Vinod RamVinod…

htaccess Setting rewrite rule Uncategorized web development

How to Set Access-Control-Allow-Origin (CORS) Headers in .htaccess file

Vinod Ram October 8, 2018 0 Comments

<FilesMatch “\.(ttf|otf|eot|woff|js|css|woff2)$”> # Type all extenstion that you want to allow <IfModule mod_headers.c> Header Set Access-Control-Allow-Origin “*” </IfModule> </FilesMatch> Vinod RamVinod Ram has been in Software Industry since 2006 and…

linux Uncategorized web development

How to untar or uncompress tar or tar.gz file

Vinod Ram January 19, 2018 0 Comments

Untar files in Current Directory tar xvf whatevername_yougive.tar If you want to untar in specified directory tar xvf whatevername_yougive.tar -C /path/of/directory/to/un-archive Check how to compress or create tar file here…

Uncategorized

How to copy file from local machine to remote server in linux

May 22, 2009 0 Comments

scp fileName userName@remoteServerIP:remoteServerFolderPath Example : >scp abc.txt root@XXX.XXX.XXX.XXX:/home/xyzFolder/ once you type this command, system will ask for the remote server login password.once password is verified , file get copied to…

Uncategorized

How to add or condition in mysql query in symfony

April 25, 2009 1 Comments

$c->add(TblUsersPeer::USR_TYPE,array(2,3,6),Criteria::IN); $c1 = $c->getNewCriterion(TblUsersPeer::USR_PARENTID,$this->getUser()->getAttribute(‘userid’),Criteria::EQUAL); $c2 = $c->getNewCriterion(TblUsersPeer::USR_PARENTID,null, Criteria::ISNULL); $c1->addOr($c2); $c->add($c1);

Uncategorized

unicode issue in Perl CGI

August 29, 2008 0 Comments

When some special character(or other language data) is displayed as ‘? ? ? ? ?’ in browser, then you have to make the following change. 1.In your table set the…

Uncategorized

To calculate date difference between two given dates

March 26, 2008 0 Comments

function timeDifference(startDate,endDate) { date1 = startDate; date2 = endDate; laterdate = date1.split(“-“); laterY=laterdate; laterM=laterdate; laterD=laterdate; earlierdate = date2.split(“-“); earlierY=earlierdate; earlierM=earlierdate; earlierD=earlierdate; var laterdate = new Date(laterY,laterM,laterD); var earlierdate = new…

Posts navigation

1 2

« Previous Page

Tags

amazon amazon on strike 2024 Anita Bryant Australia bitcoin content Cricket date date validation David Dobrik Death in Paradise delivery Staff donald trumph form validation France gateway timeout Hollywood htaccess javascript jquery Karate laravel Melbourne Cricket Ground microsoft movie Muay Thai Murielle Hilaire netflix ninja form Notre-Dame fire online Shopping Paris php-fpm Singer squid game Stardom suspense Sydney Sweeney thriller usa politics validation website development wordpress yii2 youtuber

Archives

You Missed

General Knowledge International News

Microsoft Makes OpenAI’s $200/Month AI Free for All Copilot Users

General Knowledge International News

अमेरिका-चीन व्यापार युद्ध बढ़ा: नए टैरिफ और जवाबी उपायों से वैश्विक बाजार में उथल-पुथल

International News

Dick Button The Trailblazer Who Revolutionised Figure Skating

Hollywood International News

Selena Gomez was criticised for posting a tearful video on Instagram

Vinod Ram Blog

Creative, Informative and Entertaining Stuff for everyone

Copyright © All rights reserved | Blogus by Themeansar.

  • Terms and Condition
  • Disclaimer
  • Privacy Policy
  • Get in touch