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
| #!/usr/bin/env python3 | |
| """ | |
| LangSmith Trace Exporter | |
| ======================== | |
| Export LangSmith traces to CSV format with comprehensive metadata. | |
| This script exports LLM call data from a LangSmith project to a CSV file with | |
| 21 columns including: messages (OpenAI format), tokens, costs, latency, and more. |
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
| swagger: '2.0' | |
| info: | |
| description: >- | |
| Welcome to the DigitalOcean Spaces object storage API documentation. | |
| Spaces provides a RESTful XML API for programatically managing the data you | |
| store through the use of standard HTTP requests. The API is interoperable | |
| with Amazon's AWS S3 API allowing you to interact with the service while | |
| using the tools you already know. |
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
| ''' | |
| 620031587 | |
| Net-Centric Computing Assignment | |
| Part A - RSA Encryption | |
| ''' | |
| import random | |
| ''' |
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
| Largest 1000 Cities in America | |
| 2013 popuation data - Biggest US Cities By Population | |
| rank,city,state,population,2000-2013 growth | |
| 1,New York,New York,8405837,4.8% | |
| 2,Los Angeles,California,3884307,4.8% | |
| 3,Chicago,Illinois,2718782,-6.1% | |
| 4,Houston,Texas,2195914,11.0% | |
| 5,Philadelphia,Pennsylvania,1553165,2.6% |
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
| function origin (c, num) { | |
| for (let i = 0; i < num; i++) { | |
| console.log(c); | |
| } | |
| } | |
| function rapidWrap() { | |
| console.log('rW'); | |
| //return false; | |
| } |
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
| // Declare a function, take functions as arguments | |
| const pipe = function(...funcs){ | |
| // Return a new function which takes a value | |
| return function(value){ | |
| // Reduce & iterate the initial argument spread (an array of functions) | |
| return funcs.reduce(function(val, function){ | |
| // Take the function, call it, passing in the value and return the output |