Skip to content

Instantly share code, notes, and snippets.

View allvee's full-sized avatar

Md Al Amin Bhuyiyan allvee

View GitHub Profile
git reset --mixed origin/master
git add .
git commit -m "This is a new commit for what I originally planned to be amended"
git push origin master
; How many GET/POST/COOKIE input variables may be accepted
; max_input_vars = 1000
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = 512M
; Maximum size of POST data that PHP will accept.
; Its value may be 0 to disable the limit. It is ignored if POST data reading
; is disabled through enable_post_data_reading.
1. Edit the (/etc/my.cnf file for CentOS) or (my.ini file for Windows)
2. Add secure-file-priv = "" line at the end
3. Stop mysql service using systemctl stop mysqld
4. Restart it using systemctl start mysqld
It will now allow you to import and export the data.
$ npm install express --save
$ npm install body-parser --save
$ npm install cookie-parser --save
$ npm install multer --save
$ npm install ajax-request --save
GET - This is used to provide a read only access to a resource.
PUT - This is used to create a new resource.
http://www.aku.vn/idea
LOAD DATA LOCAL INFILE 'E:/SDP_Status_Response_2017_10_07_PM.txt' INTO TABLE getsubscriptionstatus
FIELDS TERMINATED BY '|'
LINES TERMINATED BY '\n'
(ActionTime, recordSum, msisdn, ShortCode, serviceID,productID,toState,channelID,SubscriptionTime);
<?php
$msisdn = substr($_REQUEST['msisdn'], -10);
$msg = $_REQUEST['msg'];
$userMessage=explode(" ",$msg);
$keyword=$userMessage[0];
$merchantUserName=$userMessage[1];
$password=$userMessage[2];
SELECT DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,GETDATE()),0))
LastDay_PreviousMonth
----Last Day of Current Month
SELECT DATEPART(DD, DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,GETDATE())+1,0)))
LastDay_CurrentMonth
----Last Day of Next Month
SELECT DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,GETDATE())+2,0))
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
char insID[20],insName[20],insDept[20],sID[20],sName[20],sDept[20], year[10]="2016",semester[20]="Fall",grad[10]="NA",csID[20];
char st_File[200]="student.txt";
char ins_File[200]="instructor.txt";
char st_crs_File[200]="student_course.txt";
char ins_crs_File[200]="instructor_course.txt";
typedef struct