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 os | |
import shutil | |
import time | |
source = "C:\\Users\\juliu\\OneDrive\\Pictures\\Screenshots\\" | |
dest = "C:\\Users\\juliu\\Picture\\iCloud Photos\\Photos" | |
source_list = [] | |
os.chdir(os.path(source)) |
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
P4MNetC( | |
(conv1): P4MConvZ2() | |
(conv2): P4MConvP4M() | |
(conv3): P4MConvP4M() | |
(fc1): Linear(in_features=48, out_features=32, bias=True) | |
(fc2): Linear(in_features=32, out_features=10, bias=True) | |
) | |
P4NetC( | |
(conv1): P4ConvZ2() | |
(conv2): P4ConvP4() |
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
--- | |
title: "370 Work" | |
author: "Ryan Grossman" | |
date: "4/20/2021" | |
output: html_document | |
--- | |
```{r setup, include=FALSE} | |
knitr::opts_chunk$set(echo = TRUE) | |
``` |
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
def rulesTrue(m, p ,s, k, b, c): | |
c1 = (c <= (k and m)) | |
c2 = (not p or s) <= (b or c) | |
c3 = (p and c) <= (not m) | |
c4 = (not s) <= (p or not k) | |
c5 = b <= (not k and not p) | |
c6 = (not s or not k) <= c | |
return (c1 and c2 and c3 and c4 and c5 and c6) | |
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
#! python | |
import smtplib | |
import pyperclip as clip | |
import sys | |
import os | |
def send_msg(message): | |
print("Sending %s" % (message)) | |
message = "\r\n".join([ |
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
--- | |
layout: post # Do not change | |
current: post # Do not change | |
cover: assets/path/to/cover/photo.png # Path to cover photo in assets folder | |
navigation: True # Do not change | |
title: My Title! # Title of post | |
date: 2099-00-00 01:00:00 # Date of post | |
tags: [articles] # Post tag (This will not be changed often) | |
class: post-template # Do not change | |
subclass: 'post tag-articles' # Do not change |