Skip to content

Instantly share code, notes, and snippets.

@jsteinshouer
jsteinshouer / ArrowFunction.ipynb
Created April 8, 2023 12:17
Jupyter Notebook - Arrow Functions
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jsteinshouer
jsteinshouer / ComponentScopeDemo.ipynb
Created December 8, 2023 17:55
Variable Scope Demo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jsteinshouer
jsteinshouer / Example1.cfm
Last active January 5, 2024 15:02
Java / CF HTTP Stream
<cfscript>
fileURL = "https://raw.githubusercontent.com/jsteinshouer/data-science-foundations-python-scientific-stack-3084641/main/Ch04/challenge/track.csv";
uri = createObject("java", "java.net.URI").init( fileURL );
inputStream = uri.toURL().openStream();
sc = createObject("java", "java.util.Scanner").init(inputStream);
while ( sc.hasNextLine() ) {
line = sc.nextLine();
//Process data 1 line at a time
writeDump( listToArray(line) );
cfflush();