Rsync on windows os
Programming Blog | C Programming
by admin
4y ago
rsync: Failed to exec ssh: No such file or directory(2) on windows nstalling cwrsync, you are likely to get this error  when you try to run this sample command from the command line. rsync  -avz  -e  ssh ycsoftware@google.com:/home/ycsoftware /cygdrive/z/ycsoftware/ “rsync: Failed to exec ssh: No such file or directory(2)” cwrsync The reason you are getting this is because for some reason rsync is not able to find the path to the ssh.exe file. You should change it to something like this: C:/cygwin64/bin/rsync.exe -ar . /cygdrive/c/xampp/htdocs/test2/ Ref: http://ycsoftware.net/rsync-failed ..read more
Visit website
Angular 4 http post with php
Programming Blog | C Programming
by admin
4y ago
Component or Service: let data = {'title': 'foo', 'body': 'bar', 'userId': 1}; this.http.post('http://localhost/angular4/angcrud/add_student_action.php', data) .subscribe( (res:Response) => { console.log(res.json()); }, err => { console.log("Error occured"); } );   Php Script: <?php $postdata = file_get_contents("php://input"); $request = json_decode($postdata); header('Content-type: application/json'); header("Access-Control-Allow-Origin: *"); header('Access-Control-Allow-Headers: X-Requested-With ..read more
Visit website
Angular 4 JSON CRUD
Programming Blog | C Programming
by admin
4y ago
install json server on windows npm install -g json-server run json server json-server -p 5555 products.json https://www.youtube.com/watch?v=HCHvrbAd1QA https://www.youtube.com/watch?v=WVlNj_6_-uA https://www.youtube.com/watch?v=6T1TF7lgVSA Angular 4 POST Angular 4 Receive data in Php ..read more
Visit website
Installation
Programming Blog | C Programming
by admin
4y ago
git clone https://github.com/angular/quickstart.git quickstart ..read more
Visit website
Programs on pointers
Programming Blog | C Programming
by admin
4y ago
WAP to exchange values of 2 variables by calling a function exchange WAP to find length of a string by calling a function lenght WAP to copy contents of one string into another by calling a function copy. WAP to reverse contents of a string WAP to find sum of 10 int values by calling a function sum (passing array as an argument) WAP to find mean of 10 in values by calling a function MEAN (passing array as an argument) WAP to dynamically read n values and find their sum WAP to read information about n students and display them WAP to find area and circumference of a circle by calling a single f ..read more
Visit website
Hibernate Native SQL
Programming Blog | C Programming
by admin
4y ago
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package corehibernatedemo; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Map; import model.Person; import model.Student; import model.Users; import org.hibernate.Criteria; import org.hibernate.Query; import org.hibernate.SQLQuery; import org.hibernate.S ..read more
Visit website
Structure
Programming Blog | C Programming
by admin
4y ago
WAP to read Information about Student and Display it. (Information: Roll Number, Name, Age, Sex) WAP to read Information about an Employee and Display it. (Information: EmpNo, Name, Job, Sal) WAP to read Information about a Worker and Print Payment (Information: Name, Wages, WorkingDays) WAP to read information about 10 workers and print their Payment. Print Average Payment (Information: Name, Wages, WorkingDays) WAP to read co-ordinates of end point of a line and find its slope by using the structure struct Line{ int x1, y1, x2, y2; } WAP to read information about student (Roll No. N ..read more
Visit website
Arrays Programs (Multi Dimensional)
Programming Blog | C Programming
by admin
4y ago
WAP to read a matrix of size 3 X 5 and find their SUM WAP to read a matrix of size 3 X 5 and find sum of each ROW WAP to read a matrix of size 3 X 3 and check if it is NULL or NOT WAP to read a matrix of size 3 X 5 and count all EVEN and ODD numbers WAP to read matrix of size 3 X 3 and check if it is UNIT Matrix or NOT WAP to read 2 matrix of size 3 X 3 and find their Addition WAP to read 2 matrix of size 3 X 3 and find their Product WAP to read matrix of size 3 X 3 and find its Transpose WAP to read matrix of size 3 X 3 and find its Transpose without using second matrix WAP to read matrix of ..read more
Visit website
Arrays Programs (One Dimensional)
Programming Blog | C Programming
by admin
4y ago
WAP to read an array of 10 numbers and find their sum WAP to read temperature days of Week and find their Mean WAP to read an array of 10 numbers and find greatest of them WAP to read an array of 10 numbers and count all EVEN and ODD numbers WAP to rad an array of 10 numbers and find sum, mean, min, max WAP to read an array of 10 numbers and search a number in it WAP to read an array of 10 numbers and sort it in ascending order WAP to read an array of 10 numbers and sort it in descending order WAP to insert a number at given position in an array WAP to remove a number from given position from ..read more
Visit website
FUNCTIONS
Programming Blog | C Programming
by admin
4y ago
WAF repeat to display a char specified no of times. WAF intrest to calculate simple intrest. WAF to return Volume of Sphere WAF to return mean of 3 numbers WAF to return greatest of 2 numbers WAF to return Factorial of given Number WAF to return Sum of Given Number. WAF to return Greatest of 3 numbers. WAF to print all numbers from 1 to given numbers WAF to repeat a given char given number of timest. e.g. repeat(‘#’, 25) Design a recursive function factorial to return factorial of given number. Design a recursive function intrest to return compound intrest. Design a recursive function SOD to ..read more
Visit website

Follow Programming Blog | C Programming on FeedSpot

Continue with Google
Continue with Apple
OR