This file contains 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
#Follow @Krose_TDA on twitter for updates to this and other custom columns | |
#TD Ameritrade IP Company, Inc. (c) 2008-2019 | |
#Follow @Krose_TDA on twitter for updates to this and other custom columns | |
#Input desired parameters using the input statements below | |
input price = close; | |
input length = 20; | |
input WithinBars = 1; | |
def hma = HullMovingAvg(price,length); |
This file contains 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
<?php | |
$delimiter=","; | |
$src_file = $argv[1]; | |
$tmpl_file = $argv[2]; | |
if (file_exists($src_file)) { | |
if (file_exists($tmpl_file)) { | |
$src_handle = fopen($src_file,"r"); | |
$tmpl_handle = fopen($tmpl_file,"r"); |
This file contains 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
# Import the client | |
from td.client import TDClient | |
import pprint | |
from datetime import datetime | |
from datetime import timedelta | |
pp = pprint.PrettyPrinter(indent=4) | |
# Create a new session, credentials path is optional. | |
TDSession = TDClient( |
This file contains 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
echo "Creating host entry..." | tee -a $LOG_OUTPUT | |
HOST_NAME=`hostname` | |
IP_ADDR=`ip addr | grep -Po '(?!(inet 127.\d.\d.1))(inet \K(\d{1,3}\.){3}\d{1,3})' | head -n 1` | |
HOST_PRESENT=`grep $HOST_NAME /etc/hosts` | |
if [ -z "$HOST_PRESENT" ] | |
then | |
echo -e "$IP_ADDR\t$HOST_NAME\t$HOST_NAME" >> /etc/hosts | |
fi |
This file contains 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
package com.novacoast.nam.authentication; | |
import com.novell.nidp.NIDPConstants; | |
import com.novell.nidp.NIDPContext; | |
import com.novell.nidp.authentication.AuthnConstants; | |
import com.novell.nidp.authentication.local.LocalAuthenticationClass; | |
import com.novell.nidp.common.authority.PasswordExpiredException; | |
import com.novell.nidp.common.authority.PasswordExpiringException; | |
import com.novell.nidp.common.authority.UserAuthority; | |
import com.novell.nidp.logging.NIDPLog; |
This file contains 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
from __future__ import print_function | |
import logging | |
import boto3 | |
logger = logging.getLogger() | |
logger.setLevel(logging.INFO) | |
# print(response['Reservations'][0]['Instances'][0]['InstanceId']) |
This file contains 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
from __future__ import print_function | |
import boto3 | |
import botocore | |
import os | |
import shutil | |
import tarfile | |
import subprocess | |
import sys | |
import argparse | |
import io |
This file contains 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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/jjennings/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
#ZSH_THEME="robbyrussell" |
This file contains 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
_loadResourcesAsync = async () => { | |
return Promise.all([ | |
Asset.loadAsync([ | |
require('./assets/images/robot-dev.png'), | |
require('./assets/images/robot-prod.png'), | |
]), | |
Font.loadAsync({ | |
// This is the font that we are using for our tab bar | |
...Ionicons.font, | |
// We include SpaceMono because we use it in HomeScreen.js. Feel free |
This file contains 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
<Container> | |
<Content> | |
<Card> | |
<CardItem cardBody> | |
<Image source={{uri: 'https://images.unsplash.com/photo-1445052520430-32c8ebc92fe3?crop=entropy&dpr=2&fit=crop&fm=jpg&h=825&ixjsv=2.1.0&ixlib=rb-0.3.5&q=50&w=1450'}} style={{height: 200, width: null, flex: 1}}/> | |
</CardItem> | |
<CardItem> | |
<Title>{user.firstName + " " + user.lastName}</Title> | |
</CardItem> | |
<CardItem> |
NewerOlder