Skip to content

Instantly share code, notes, and snippets.


Joshua Arulsamy jarulsamy

Block or report user

Report or block jarulsamy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View smb.conf
# Sample configuration file for the Samba suite for Debian GNU/Linux.
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
# Some options that are often worth tuning have been included as
jarulsamy / makefile
Created Sep 30, 2019
Sample Makefile for C++
View makefile
# the compiler: gcc for C program, define as g++ for C++
CC = g++
CFLAGS = -g -Wall
# the build target executable:
all: $(TARGET)
jarulsamy / .vimrc
Created Sep 29, 2019
Josh's Custom Vim Config
View .vimrc
set nocompatible " required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
Plugin 'altercation/vim-colors-solarized'
jarulsamy / autoexec.cfg
Last active Aug 21, 2019
Custom Auto Exec for CSGO
View autoexec.cfg
// CS:GO config
// Updated 8/21/2019
// Rates
rate "786432" // max rate, lower if having network issues
cl_cmdrate "128"
cl_updaterate "128"
cl_interp "0.0"
cl_interp_ratio "1"
cl_interpolate "1"
jarulsamy / cloudSettings
Last active Nov 17, 2019
Visual Studio Code Settings Sync Gist
View cloudSettings
jarulsamy /
Created Dec 10, 2018
Essential movement portions of scribbler2 robot ported to python3.
import time
import serial
import threading
from past.utils import old_div
class commands(object):
GET_ALL = 65
jarulsamy / install.bat
Created May 14, 2018
Custom install script for myro and prereq
View install.bat
cd /d %0\..
msiexec /i python-2.4.4.msi
IF NOT EXIST %SystemRoot%\System32\mfc71.dll copy /Y mfc71.dll %SystemRoot%\System32\
copy /Y snack\ c:\Python24\Lib\
copy /Y misc\config-extensions.def c:\Python24\Lib\idlelib\
copy /Y misc\ c:\Python24\Lib\idlelib\
jarulsamy /
Created Mar 27, 2018
Always running script on a Raspberry pi to create a webserver with the Camera
import io
import picamera
import logging
import socketserver
from threading import Condition
from http import server
You can’t perform that action at this time.