Skip to content

Instantly share code, notes, and snippets.

View jasikpark's full-sized avatar
🏳️‍🌈
happy pride month

Caleb Jasik jasikpark

🏳️‍🌈
happy pride month
View GitHub Profile
what if long-term memory is stored as something spacial?
if dreams are our way of storing our memories of the day.
is this why the method of loci is so effective?
our brain takes all of the pertinent facts about our day and creates a more
compact version of our day for us to live while we dream that will keep for
a longer time.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Tic Tac Toe</title>
<meta name="description" content="Tic Tac Toe">
<meta name="author" content="Caleb Jasik">
Chapter 7
Problem 2
Description
r = @(theta) 3.*sin(3.*cos(0.5.*theta))
r(pi/6)
r(5*pi/6)
theta = 0:0.01:(4*pi);
polarplot(theta,r(theta))
Problem 11
Problem 11
Description
f = @(x)(2.+(x-1.45).^2)./(3+3.5.*(0.8.*x.^2-0.6.*x+2));
x1 = fminbnd(f,-9^9,9^9);
g = @(x)(-1).*f(x);
x2 = fminbnd(g,-9^9,9^9);
a = linspace(-3,3);
b = f(a);
plot(x1,f(x1),'--o',x2,f(x2),'--o',a,b)

Keybase proof

I hereby claim:

  • I am jasikpark on github.
  • I am jasikpark (https://keybase.io/jasikpark) on keybase.
  • I have a public key ASBt4nh0DjxNhnyCEspcYMubFwEbvgaUqwr0_5xSccx0IAo

To claim this, I am signing this object:

@jasikpark
jasikpark / installing_garlium
Created February 5, 2018 22:29
Alternative for installing garlium
#!/bin/bash
sudo pip install virtualenv pipenv
# clone
git clone https://github.com/xSke/Garlium
cd Garlium
# install
pipenv install PyQt5
@jasikpark
jasikpark / helloworld.cpp
Created September 3, 2018 13:39
a little hello world program
#include <iostream>
using namespace std;
int main() {
cout << "hello world";
}
@jasikpark
jasikpark / Minmax2
Created September 3, 2018 15:34
Minmax2 code
Algorithm minMax2(A,n)
Input: Array A of n elements
Output: [min,max]
min <- A[0]
max <- A[0]
for i <- 1 to n-1 do
if A[i] < min then
min <- A[i]
@jasikpark
jasikpark / mathjax-script-for-hugo.js
Created September 3, 2018 18:37
MathJax config for Hugo
<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$'], ['\\(','\\)']],
displayMath: [['$$','$$']],
processEscapes: true,
processEnvironments: true,
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre'],
TeX: { equationNumbers: { autoNumber: "AMS" },
@jasikpark
jasikpark / .vimrc
Created December 2, 2018 03:50
my .vimrc currently
" Example ~/.vimrc
" 2015.10
" Required for vim to be iMproved
set nocompatible
" Determines filetype from name to allow intelligent auto-indenting, etc.
filetype indent plugin on
" Enable syntax highlighting