This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Lineplot v2.0 | |
by danko | |
Lineplot makes a plot of a CSV file | |
The CSV file (PlotFile) has three columns; | |
a timestamp and two values (between 0-255 for the channels of the | |
Velleman k8055 board) | |
Needs Grapher.ahk by jonny, hacked by me | |
to get ticmarks and renamed to grapher1.ahk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[final,t]{beamer} | |
\mode<presentation> | |
{ | |
% \usetheme{Warsaw} | |
% \usetheme{Aachen} | |
% \usetheme{Oldi6} | |
% \usetheme{I6td} | |
\usetheme{I6dv} | |
% \usetheme{I6pd} | |
% \usetheme{I6pd2} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\NeedsTeXFormat{LaTeX2e} | |
\ProvidesPackage{duck}[2012/18/07 Duck style for memoir] | |
\RequirePackage{graphicx} | |
\RequirePackage{xcolor} | |
\RequirePackage{tikz} | |
\RequirePackage{xspace} | |
\definecolor{cffffff}{RGB}{255,255,255} | |
\definecolor{cffcc00}{RGB}{255,204,0} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[article,a4paper,12pt,twoside]{memoir} | |
%% We require ``twoside'' in order for the left/right pages to have different headers | |
%% But this then requires us to solve some problems with margin pars not showing up | |
%% That | |
%% For double spacing | |
\DisemulatePackage{setspace} | |
\usepackage{setspace} | |
%% For turning off hyphenation globally |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[12pt,a4paper,svgnames]{article} | |
\usepackage{amsmath} | |
\usepackage{fullpage} | |
\usepackage{amsfonts} | |
\usepackage{amssymb,amsthm} | |
\usepackage{makeidx} | |
\usepackage{graphicx} | |
\usepackage{float} | |
\usepackage{wrapfig} | |
\usepackage{algorithm} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_SECTION_BEGIN("Time & Price Contour"); | |
// Milind and KAKA created the core of this code in 2009-10 | |
// Tweaks, Additonal Functions & Visual Design by Twitter.com/Uptickr in June 2015 | |
// Visit Uptickr's blog on Options Investing at http://www.uptickr.in | |
// For Nifty Futures DONT adjust Vertical Density above 2. For smaller stocks, | |
// Vertical Density will have to be adjusted lower. Eg. For Rs. 300 stock. set vertical desnity to 0.25. | |
// ADJUST SCALE FOR PROPER APPEARANCE BY SHIFT-CLICKING Y-AXIS | |
//********************** | |
//WORKS ONLY in 30 MINUTE TIMEFRAME |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_SECTION_BEGIN("RKR_AutoTrade1V00 "); | |
Title = " "; | |
EnableRealTimeControl = ParamList("Enable Controls", "No|Yes", 0); | |
EnableStrategy = ParamList("Enable Strategy", "No|Yes", 0); | |
StrategyType = ParamList("StrategyType", "Long/Short|Long|Short", 0); | |
EnableAutoTrade = ParamList("Enable Autotrade", "No|Yes", 0); | |
BuyPriceSelection = ParamList("Buy Price", "Bid Price|Ask Price|LTP", 0); | |
SellPriceSelection = ParamList("Sell Price", "Ask Price|Bid Price|LTP", 0); | |
ProductType = ParamList("Product Type", "MIS|NRML", 0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 2010.7.21) 7 NOV 2012 15:40 | |
entering extended mode | |
restricted \write18 enabled. | |
%&-line parsing enabled. | |
**CertifyingEdgeConnectivity.tex | |
(./CertifyingEdgeConnectivity.tex | |
LaTeX2e <2009/09/24> | |
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge | |
rman-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, arabic, armenian | |
, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutch, u |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//try to make a toy monte carlo | |
//waste calculation | |
void simpleProfitPrediction(){ | |
gBenchmark->Start("htrang"); | |
TH1 *hprofit = new TH1F("hprofit","hprofit",100,-2000,6000); | |
Int_t numUnit; | |
Float_t rentUnit=500; | |
Float_t monthlyExpense; | |
Float_t profit; |