Skip to content

Instantly share code, notes, and snippets.

View swaters86's full-sized avatar
🏠
Kicking ass and taking names

Steve Waters swaters86

🏠
Kicking ass and taking names
View GitHub Profile
@swaters86
swaters86 / markdown.pl
Created October 31, 2014 19:44
This is not mine... It was created by John Gruber.
#!/usr/bin/perl
#
# Markdown -- A text-to-HTML conversion tool for web writers
#
# Copyright (c) 2004 John Gruber
# <http://daringfireball.net/projects/markdown/>
#
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package summation;
import java.util.Scanner;
package summation;
import java.util.Scanner;
public class Summation {
public static void main(String[] args) {
Scanner input = new Scanner (System.in);
/*
* Steven Waters - COP2930.145F14
*
* U03048478
*
* The purpose of this program is to calculate the value of a CD (certificate of deposit) by adding the
* compound interest for each month to the priciple. The program should take the following input from the user:
* intial deposit amount, interest rate, and maturity period.
*
*/
//variance.cpp
#include <iostream>
#include <fstream>
#include <vector>
using namespace std;
float sum (float (*) (float, int), int*, int s);
float variance (float, int);
star d:\files\mn5web.txt site na getvar serverbindings
star d:\files\mn5web.txt site nb getvar serverbindings
star d:\files\mn5web.txt site nc getvar serverbindings
star d:\files\mn5web.txt site nd getvar serverbindings
star d:\files\mn5web.txt site ne getvar serverbindings
star d:\files\mn5web.txt site nf getdvar serverbindings
star d:\files\mn5web.txt site na appendvar serverbindings www.chicoer.com
\\jrcoweb001.newscycledfm.qts\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo\JRCRO = DBMSSOCN,JRCoDBS001,1433
\\jrcoweb002.newscycledfm.qts\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo\JRCRO = DBMSSOCN,JRCoDBS001,1433
\\jrcoweb003.newscycledfm.qts\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo\JRCRO = DBMSSOCN,JRCoDBS001,1433
\\jrcoweb004.newscycledfm.qts\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo\JRCRO = DBMSSOCN,JRcoDBS002,1433
\\jrcoweb005.newscycledfm.qts\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo\JRCRO = DBMSSOCN,JRcoDBS002,1433
\\jrcoweb006.newscycledfm.qts\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo\JRCRO = DBMSSOCN,JRcoDBS002,1433
\\jrcoweb007.newscycledfm.qts\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo\JRCRO = DBMSSOCN,JRcoDBS002,1433
\\jrcoweb008.newscycledfm.qts\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo\JRCRO = DBMSSOCN
/*web*/
exec custom.dbo.GetStoriesForTopPrio_zeta @Sites='LB,ZZ', @DataSite='LB', @Count=5, @Days=30, @ExcludeGUIDS = '{0719CCCC-3412-5DAC-E053-0100007F9B58},{0719CCCC-364C-5DAC-E053-0100007F9B58},{0719CD91-43E6-5DAE-E053-0100007FCA0E},{0719CD91-4415-5DAE-E053-0100007FCA0E},{0719CDE5-5491-5DB0-E053-0100007F05C3}', @Position='sectionothernews', @DynamicRootProfile = 1033652, @PublicationTaxonomy = 20812, @GeoTaxonomy = 'N/A', @Frontpage = 0;
/*dev*/
exec custom.dbo.GetStoriesForTop_beta @Sites='LB,ZZ', @DataSite='LB', @Count=5, @Days=30, @ExcludeGUIDS = '{0719CCCC-3412-5DAC-E053-0100007F9B58},{0719CCCC-364C-5DAC-E053-0100007F9B58},{0719CD91-43E6-5DAE-E053-0100007FCA0E},{0719CD91-4415-5DAE-E053-0100007FCA0E}', @Position='sectionothernews', @DynamicRootProfile = 1033652, @PublicationTaxonomy = 20812, @GeoTaxonomy = 'N/A', @Frontpage = 0;
exec custom.dbo.GetStoryMetaData '21', '20141031', 'NEWS', '141039999'
storyGuid,
canonical,
MainProfile,
FallbackProfile,
Storytitle,
summary,
TeaserPicture,
1. Created profile: 4005774 (Santa Cruz Warriors)
2. Went to profile 4004665 and updated it's profile ID reference value from 1032529 to 4005774
3. Created conveneince profiles:
4005775 (NorCal)
4005776 (Sports)