Skip to content

Instantly share code, notes, and snippets.

View Thermoflux's full-sized avatar
🏠
Working from home

Thermoflux Thermoflux

🏠
Working from home
  • Hyderabad, India
View GitHub Profile
@Thermoflux
Thermoflux / updateRepos.sh
Last active February 27, 2020 16:54 — forked from mnem/git_fetch_pull_all_subfolders.sh
Simple bash script for fetching and pulling all repos in the executed folder to the latest of the branch they are on
#!/bin/bash
################
# Use this script to update the repositories in directory 'REPOSITORIES'
################
# Uncomment if you want the script to always use the scripts
# directory as the folder to look through
#REPOSITORIES="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
REPOSITORIES="/home/rstudio/ForteAegis/Code/"
IFS=$'\n'
@Thermoflux
Thermoflux / tictactoe.m
Created January 3, 2017 07:11 — forked from leegao/tictactoe.m
TicTacToe matlab
function [] = tictactoe()
% Setup the figure/windows for the game
close all
figure('Name','Tic Tac Toe');
plot(-1. -1)
axis([0 3 0 3])
set(gca,'xTick',0:3)
set(gca,'yTick',0:3)
set(gca,'xTickLabel','')
set(gca,'yTickLabel','')
@Thermoflux
Thermoflux / mex_hello.c
Created January 3, 2017 07:08 — forked from tobbe11/mex_hello.c
Matlab
#include "mex.h"
void
mexFunction (int nlhs, mxArray *plhs[],
int nrhs, const mxArray *prhs[])
{
mexPrintf ("Hello, World!\n");
mexPrintf ("I have %d inputs and %d outputs\n", nrhs, nlhs);
}