add file
$ git add 'myFile.html'
$ git commit -m 'add myFile.html'
$ git push
delete file/folder
$ git rm 'myFile.html'
program test | |
integer :: i | |
open(1, file='test.dat', access='stream', form='unformatted') | |
do i = 1, 10 | |
write(1) i | |
write(1) dble(i)**2 | |
end do | |
close(1) | |
end program test |
program test | |
implicit none | |
character(len=40) :: infile ! length of file name should be <= 40 | |
character(len=1050) :: results ! assume the results text is no longer than 15 lines | |
real(8) :: eHF | |
integer :: idHF | |
infile="c2min-energy.log" ! log file for test | |
call g09results(infile, results) |
mkdir REPO | |
cd REPO | |
git init | |
git remote add origin git@github.com:USER/REPO.git | |
git add . | |
git commit | |
git push origin master |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#include <stdio.h> | |
#include <math.h> | |
#include <stdlib.h> | |
/* This is a C function to be called from Fortran | |
* input s: the size of the array | |
* output x: the array of float point numbers in double precision | |
*/ | |
void call_fc(double *(*x), int s) | |
{ |
add file
$ git add 'myFile.html'
$ git commit -m 'add myFile.html'
$ git push
delete file/folder
$ git rm 'myFile.html'