Skip to content

Instantly share code, notes, and snippets.

View psychenjg's full-sized avatar

Jiageng Chen psychenjg

View GitHub Profile
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Main.m
if prm.info.EEG == 1
%create an instance of the io64 object
prm.ioObj = io64;
%
% initialize the interface to the inpoutx64 system driver
prm.status = io64(prm.ioObj);
%
% if status = 0, you are now ready to write and read to a hardware port
@psychenjg
psychenjg / Update remote repo
Created October 12, 2016 18:10 — forked from mandiwise/Update remote repo
Transfer repo from Bitbucket to Github
// Reference: http://www.blackdogfoundry.com/blog/moving-repository-from-bitbucket-to-github/
// See also: http://www.paulund.co.uk/change-url-of-git-repository
$ cd $HOME/Code/repo-directory
$ git remote rename origin bitbucket
$ git remote add origin https://github.com/mandiwise/awesome-new-repo.git
$ git push origin master
$ git remote rm bitbucket