>javac Substitution.java
>java Substitution < input.txt
Rules:
AA AB
AB BB
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
inkscape %1 --export-filename %1.emf | |
pause |
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
@echo off | |
:repeat | |
ping 1.1.1.1 -n 1 || goto :repeat | |
echo Success! | |
echo | |
pause |
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
javascript:window.location.href="https://myaccess.library.utoronto.ca/login?url=" + window.location.href; |
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
; RDP Wrapper Library configuration | |
; Do not modify without special knowledge | |
[Main] | |
Updated=2019-08-03 | |
LogFile=\rdplog.txt | |
SLPolicyHookNT60=1 | |
SLPolicyHookNT61=1 |
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
call conda activate | |
python mpl_deserialize.py %1 --preview |
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
from math import sqrt, erf, pi, exp, log | |
N = lambda x: (1.0 + erf(x / sqrt(2.0))) / 2.0 | |
phi = lambda x: exp(-0.5*x*x)/sqrt(2.0*pi) | |
class Option: | |
def __init__(self, St, K, t, s, r=0, q=0): | |
self.St = St # 0.90 | |
self.K = K # 1.00 | |
self.s = s # 0.20 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 struct | |
num = 0.5 | |
bits = [[c>>i & 1 for i in range(7, -1, -1)] for c in struct.pack("!d", num)] | |
bits_flatten = [i for l in bits for i in l] | |
bits_sign = bits_flatten[0] | |
bits_exponent = bits_flatten[1:12] | |
bits_fraction = bits_flatten[12:64] |
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
package com.example; | |
import com.itextpdf.html2pdf.HtmlConverter; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
/** |
NewerOlder