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
<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" }, |
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
display name: Screenshot 2019-04-28 16.33.08.png | |
edit name: Screenshot 2019-04-28 16.33.08.png | |
name: Screenshot 2019-04-28 16.33.08.png | |
type: regular | |
size: 207376 | |
uri: file:///Users/calebjasik/Dropbox/Screenshots/Screenshot%202019-04-28%2016.33.08.png | |
attributes: | |
standard::type: 1 | |
standard::name: Screenshot 2019-04-28 16.33.08.png | |
standard::display-name: Screenshot 2019-04-28 16.33.08.png |
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
Compiling pest_meta v2.1.0 | |
Compiling rand_os v0.1.2 | |
error: failed to run custom build command for `gettext-sys v0.19.8 (https://github.com/danigm/gettext-rs?branch=no-gettext#c514bbe5)` | |
process didn't exit successfully: `/Users/calebjasik/Desktop/Github/fractal/_build/target/release/build/gettext-sys-bdfa2747f4c72222/build-script-build` (exit code: 101) | |
--- stdout | |
cargo:rustc-link-lib=framework=CoreFoundation | |
cargo:rustc-link-lib=dylib=iconv | |
cargo:rerun-if-env-changed=X86_64_APPLE_DARWIN_GETTEXT_DIR | |
cargo:rerun-if-env-changed=GETTEXT_DIR | |
cargo:rerun-if-env-changed=X86_64_APPLE_DARWIN_GETTEXT_BIN_DIR |
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
struct User { | |
name: &'static str, | |
email: &'static str, | |
} | |
let caleb_jasik = User { | |
name: "Caleb Jasik", | |
email: concat!("calebjasik", "at", "jasik.xyz"), | |
}; |
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
use std::collections::HashMap; | |
#[aoc_generator(day2)] | |
pub fn input_generator(input: &'static str) -> Vec<&str> { | |
input.lines().collect() | |
} | |
#[aoc(day2, part1)] | |
pub fn solve_part1(input: Vec<&str>) -> i32 { | |
let chars_count_iter = input |
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
day_02::part2_simd: | |
push rbp | |
push r15 | |
push r14 | |
push r13 | |
push r12 | |
push rsi | |
push rdi | |
push rbx | |
mov eax, 8312 |
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
" 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 |
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
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] |
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
#include <iostream> | |
using namespace std; | |
int main() { | |
cout << "hello world"; | |
} |
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
#!/bin/bash | |
sudo pip install virtualenv pipenv | |
# clone | |
git clone https://github.com/xSke/Garlium | |
cd Garlium | |
# install | |
pipenv install PyQt5 |