Skip to content

Instantly share code, notes, and snippets.

@vofp
vofp / gist:33e69224aa2d86673b2a69ed2642dab1
Created January 16, 2020 01:28
superkylej mal rec list
Shingeki no Kyojin Season 3 Part 2
Gintama°
Gintama'
3-gatsu no Lion 2nd Season
Ginga Eiyuu Densetsu
Haikyuu!!: To the Top
Koe no Katachi
Clannad: After Story
Gintama': Enchousen
Gintama
ZSH=$HOME/.oh-my-zsh
plugins=(git ruby rails sublime web-search)
ZSH=$HOME/.oh-my-zsh
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
@vofp
vofp / hw4.hs
Last active December 17, 2015 14:59
-- CS 381 Spring 2013 - Homework 4 (Runtime Stack, Scoping, Parameter Passing)
-- Team Members:
-- Brandon West
-- Quintin Cummins
-- Francis Vo
--
-- Exercise 1. Runtime Stack
--
// 58.4 0.321 0.12 //Thermal Conductivity, Density, and Specific Heat
// 0.0 0.0 100.0 //Initial temp, and boundary conditions
// 30 30 //Length of wire and sections
// 50 .000335 //Time intervals and change in time
#include <stdio.h>
#include <stdlib.h>
int update(float **bob);
float k, p, c;
Parametric Polymorphism
a)
1) f :: [a] -> a -> [a]
g :: [a] -> b -> [b]
2) f: We know that [y] and x is the same type, so the type y is in x.
g: We know that [] and [y] are the same type, so we don't know anything about x other than it is an array.
3)
4)
b)
h x:xs (a,b):ys = b:xs
@vofp
vofp / lab3.c
Created May 3, 2013 20:31
Lab3 part 1 and 2 in one file
#include <stdio.h>
int main(int argc, char **argv)
{
short val;
char *p_val;
p_val = (char *) &val;
/*
The following two lines assume big-endian
Architecture to initialize the variable Val
@vofp
vofp / Chililistchange.TODO
Created May 2, 2013 17:48
Wiki documentation plan
About:
-- This is quick way for new user to understand the project
Homepage:
-- This is to help redirect people to where they want to know
Chiliproject:
-- Brief description of all features and redirect them to more information
Commercial Offerings
Differences Between Chiliproject and Redmine
FAQ
Objectives and Goals
-- Exercise 1. Mini Logo --
-- Part A
data Cmd = Pen Mode
| Moveto Coord
| Def [Char] Pars Cmd
| Call [Char] Vals
| C Cmd Cmd
deriving Show
@vofp
vofp / project1.cpp
Created April 15, 2013 01:51
test code for project 1
#include <unistd.h>
#include <sched.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#define SCHEDULER SCHED_FIFO
#define TIMESLICE 1
struct sched_param param;
#include "dialog.h"
#include "ui_dialog.h"
#include <linux/i2c-dev.h>
#include <stdio.h>
#include <fcntl.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <iostream>