Straight It solutions

My archive of working solutions of programming problems

2015/06/03

How to match GMT date using regular expression in PHP ?

Posted by mach2 at 6:47 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: php, regular expression

2015/05/25

How to list all errors in C# MVC 5 ?

Posted by mach2 at 12:27 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: asp mvc 5, C#

2015/04/24

How to zip unzip directory in Linux ?

Pack:
tar -zcvf archive.tar.gz directory/

c - create an archive from files in directory (recursive by default)
z - compress above archive with gzip
f - store the output as a file
v - list all the files

Unpack:
tar -zxvf archive.tar.gz
Posted by mach2 at 11:16 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Linux

2015/04/11

How to send mail from PHP using swiftmailer library ?

Download swiftmailer library from here
Posted by mach2 at 1:37 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: php

2015/04/10

How to select records that has unix_timestamp and differs in minutes in MySql ?

Posted by mach2 at 1:02 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: mysql, sql
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog archive

  • ▼  2021 (11)
    • ▼  November (1)
      • How to store constant strings in ASP MVC .Core ?
    • ►  October (1)
    • ►  September (1)
    • ►  June (1)
    • ►  April (4)
    • ►  March (3)
  • ►  2020 (9)
    • ►  December (1)
    • ►  November (2)
    • ►  October (1)
    • ►  September (2)
    • ►  May (3)
  • ►  2019 (4)
    • ►  December (3)
    • ►  October (1)
  • ►  2018 (1)
    • ►  September (1)
  • ►  2017 (6)
    • ►  August (1)
    • ►  July (3)
    • ►  April (1)
    • ►  January (1)
  • ►  2016 (37)
    • ►  August (2)
    • ►  July (9)
    • ►  June (3)
    • ►  May (7)
    • ►  March (3)
    • ►  February (12)
    • ►  January (1)
  • ►  2015 (32)
    • ►  December (5)
    • ►  October (1)
    • ►  September (4)
    • ►  July (5)
    • ►  June (8)
    • ►  May (1)
    • ►  April (3)
    • ►  March (1)
    • ►  February (3)
    • ►  January (1)
  • ►  2014 (49)
    • ►  December (5)
    • ►  October (2)
    • ►  September (1)
    • ►  August (23)
    • ►  July (18)
Simple theme. Theme images by gaffera. Powered by Blogger.