Skip to content

Instantly share code, notes, and snippets.

View Teino1978-Corp's full-sized avatar

Teino Boswell Teino1978-Corp

  • Ocho Rios, Jamaica
View GitHub Profile
@Teino1978-Corp
Teino1978-Corp / Time-Price Contour for Amibroker
Created November 1, 2015 21:59
Time and Price Contour for Amibroker
_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
@Teino1978-Corp
Teino1978-Corp / IP.tex
Created November 1, 2015 22:06 — forked from leegao/IP.tex
Integer programming
\documentclass[12pt,a4paper,svgnames]{article}
\usepackage{amsmath}
\usepackage{fullpage}
\usepackage{amsfonts}
\usepackage{amssymb,amsthm}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{algorithm}
\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
@Teino1978-Corp
Teino1978-Corp / duck.sty
Created November 1, 2015 22:18 — forked from cereda/duck.sty
Sample duck package
\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}
\documentclass[final,t]{beamer}
\mode<presentation>
{
% \usetheme{Warsaw}
% \usetheme{Aachen}
% \usetheme{Oldi6}
% \usetheme{I6td}
\usetheme{I6dv}
% \usetheme{I6pd}
% \usetheme{I6pd2}
@Teino1978-Corp
Teino1978-Corp / LinePlot.ahk
Created November 1, 2015 22:32 — forked from danko3/LinePlot.ahk
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
/*
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
@Teino1978-Corp
Teino1978-Corp / eprime-cheatsheet.tex
Created November 1, 2015 22:35 — forked from jfdm/eprime-cheatsheet.tex
An EMACS derived mode for constraint problems written in Essence', and a cheatsheet for same language.
\RequirePackage[l2tabu,orthodox]{nag}
\documentclass[a4paper,british,10pt,landscape,final]{article}
\usepackage{fixltx2e}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage[strict=true]{csquotes}
\usepackage[iso]{isodate}
\usepackage{microtype}
\usepackage{xspace}
\usepackage[colorlinks]{hyperref}
@Teino1978-Corp
Teino1978-Corp / header.tex
Created November 1, 2015 22:38 — forked from daringer/header.tex
Header for LaTeX with short descriptions of packages - for scientific publications/dissertations/books/articles in natural sciences (computer science, electrical engineering, physics, math, ...)
%%
%% Header file including short descriptions of packages
%% preferably to be used for natural sciences and such:
%% computer science, electrical engineering, physics, maths
%%
%% Author: Markus Meissner <coder@safemailbox.de>
%% License: BSD
%%
\documentclass[a4paper,11pt]{book}
@Teino1978-Corp
Teino1978-Corp / gist:fdd3a7aca96d623c8d5c
Created November 1, 2015 22:42 — forked from cboettig/gist:1387759
Sweave template using pretty syntax highlighting and elsarticle class
\documentclass{elsarticle}
%% Redefines the elsarticle footer
\makeatletter
\def\ps@pprintTitle{%
\let\@oddhead\@empty
\let\@evenhead\@empty
\def\@oddfoot{\it \hfill\today}%
\let\@evenfoot\@oddfoot}
\makeatother
@Teino1978-Corp
Teino1978-Corp / calc_exams.sty
Created November 1, 2015 22:47 — forked from ericabell/calc_exams.sty
Latex Style File for Calculus Exams
%
% advanced_calc.sty
%
% This is the LaTex style file for Calculus Exams and Handouts.
%
\RequirePackage{amssymb, amsfonts, amsmath, latexsym, verbatim, xspace, setspace}
\RequirePackage{tikz}
\usetikzlibrary{plotmarks}
\RequirePackage{pgfplots}