This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.BufferedWriter; | |
| import java.io.FileWriter; | |
| import java.io.IOException; | |
| import java.sql.*; | |
| import java.util.HashSet; | |
| import java.util.Iterator; | |
| import java.util.Set; | |
| import java.util.Stack; | |
| public class MySQLServerFetch { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #define GRAPH_SIZE 8 | |
| typedef struct { | |
| int noOfNodes; | |
| char *label; | |
| int **data; | |
| } adjMat; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $msisdn = substr($_REQUEST['msisdn'], -10); | |
| $msg = $_REQUEST['msg']; | |
| $userMessage=explode(" ",$msg); | |
| $keyword=$userMessage[0]; | |
| $merchantUserName=$userMessage[1]; | |
| $password=$userMessage[2]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://www.aku.vn/idea |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; 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. |
OlderNewer