| Ticker | Price | Currency | Amount | Val |
| SBUX | 84.64 | USD | 500 | 42320 |
| SPY | 681.2 | USD | 200 | 136240 |
| QQQ | 622.95 | USD | 100 | 62295 |
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
| (setq fixed--text (string-to-list " | |
| $QQQ\t100\t*\t? | |
| $SCHD\t260\t*\t? | |
| $SBUX\t400\t*\t? | |
| $SPY\t600\t*\t? | |
| $SPG\t160\t*\t? | |
| SUM . | |
| ")) | |
| (defun type--fixed (&rest _args) |
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
| 1 | |
| [ DUP 15 <= ] | |
| [ | |
| [ DUP 15 MOD 0 = ] | |
| [ "FIZZBUZZ" MESSAGE ] | |
| [ ( else ) | |
| [ DUP 3 MOD 0 = ] | |
| [ "FIZZ" MESSAGE ] | |
| [ ( else ) | |
| [ DUP 5 MOD 0 = ] |
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
| (in-package :cl-user) | |
| ;;(ql:quickload '(:dexador :plump)) | |
| (defpackage :stocks | |
| (:use :cl) | |
| (:import-from :dexador) | |
| (:import-from :plump)) | |
| (in-package :stocks) |
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
| import javax.crypto.SecretKey; | |
| import java.io.FileInputStream; | |
| import java.nio.channels.FileChannel; | |
| import java.nio.file.Paths; | |
| import java.nio.file.StandardOpenOption; | |
| import java.security.KeyStore; | |
| public class ShowKey { | |
| public static void main(String[] args) throws Exception { | |
| if (args.length != 3) { |
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
| ;; title: game title | |
| ;; author: game developer, email, etc. | |
| ;; desc: short description | |
| ;; site: website link | |
| ;; license: MIT License (change this to your license of choice) | |
| ;; version: 0.1 | |
| ;; script: fennel | |
| (fn player [px py] | |
| (var x px) |
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
| : hexchr>n ( chr -- n ) | |
| 48 over 57 between? if 48 - exit then | |
| 65 over 70 between? if 55 - exit then | |
| 97 over 102 between? if 87 - exit then | |
| -1 ; | |
| : hexstr>n ( adr len -- n ) | |
| 0 >r | |
| begin | |
| dup 0 > |
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
| ExpensePlot new | |
| x: #key ; | |
| y: #value; | |
| data: ((self firstMonth to: self lastMonth) collect: [:i | i -> (self month: i) sum ]); | |
| plot. | |
| ((self firstMonth to: self lastMonth) collect: [:i | (self month: i) totalFood ]) average. |
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
| Object>>chain | |
| ^ ChainProxy new setTarget: self | |
| ChainProxy>>doesNotUnderstand: aMessage | |
| target := aMessage sendTo: target. | |
| ^ target | |
| ChainProxy>>setTarget: anObject | |
| target := anObject. | |
| ^ self |
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
| import sys | |
| from operator import add | |
| from pyspark.sql import SparkSession | |
| import time | |
| if __name__ == "__main__": | |
| #if len(sys.argv) != 2: | |
| # print("Usage: wordcount <file>", file=sys.stderr) | |
| # sys.exit(-1) |
NewerOlder