Monthly Archives: June 2012

Rate of Inflation of Gas

Raw Data: http://www.randomuseless.info/gasprice/gasprice.txt Model: where is the rate of inflation. This can also be written as: Given series of data points construct cost fn. Need to find and that minimize . Simplify above two equations to ….(1) and ….(2) where … Continue reading

Posted in Money | Leave a comment

Git Notes

Git notes:­git­config -­global core. Editor notepad++Git initCreate .gitignore file with following contents:gdata/atom/.idea/*.pycGit add .Git commit –m “your comment” $ git config –listcore.symlinks=falsecore.autocrlf=truecolor.diff=autocolor.status=autocolor.branch=autocolor.interactive=truepack.packsizelimit=2ghelp.format=htmlhttp.sslcainfo=/bin/curl-ca-bundle.crtsendemail.smtpserver=/bin/msmtp.exediff.astextplain.textconv=astextplainuser.name=morpheususer.email=siddjain@live.comcore.editor=notepad++core.repositoryformatversion=0core.filemode=falsecore.bare=falsecore.logallrefupdates=truecore.symlinks=falsecore.ignorecase=truecore.hidedotfiles=dotGitOnly If you modify a file after you run git add, you have to rungit add again to stage … Continue reading

Posted in Software | Leave a comment

Windows Scripting Basics

To iterate through files in a directory and modify attributes, create following bat file: echo off for %%1 in (*.txt) do attrib -r %%1

Posted in Software | Leave a comment