Skip to content

Instantly share code, notes, and snippets.

Avatar

Evan Limanto evanlimanto

View GitHub Profile
View product-servers.yml
apiVersion: v1
kind: Service
metadata:
name: {{ service_name }}
spec:
ports:
- name: http
port: 80
selector:
app: {{ service_name }}
View plar-benchmark-clean.ts
import * as b64 from 'b64';
import * as bfj from 'bfj';
import * as P from 'bluebird';
import * as bench from 'fastbench';
import * as fs from 'fs';
import * as jsonstream from 'JSONStream';
import * as zlib from 'zlib';
import {
streamToString,
View binary_expression_parsing.py
def is_number(character):
return character.isdigit()
def is_operator(character):
return character == '+' or character == '*'
def handle_operation(operand_one, operator, operand_two):
if operator == '+':
return operand_one + operand_two
elif operator == '*':
View .vimrc
execute pathogen#infect()
imap jj <Esc>
nnoremap gh gT
nnoremap gl gt
nnoremap 0 ^
let mapleader=","
nmap <Leader>w :w<nl>
filetype plugin indent on
View .zshrc
# If you come from bash you might have to change your $PATH.
export PATH=/anaconda/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/evanlimanto/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="robbyrussell"
View gist:a4cd3002c230c7b2ea80157af279ceec
const pg = require('pg');
const _ = require('lodash');
const fs = require('fs');
const http = require('http');
const async = require('async');
const request = require('request');
const config = {
user: 'evanlimanto',
database: 'mavenform',
View gist:e753a0a00e515fa8f712b13dd6c9ae44
const _ = require('lodash');
const fs = require('fs');
const http = require('http');
const courses = [
"ACTSC",
"AFM",
"AMATH",
"BIOL",
"CHEM",
View sample2-math.txt
# Section 1: Straightforward Questions (80 + 10) pts
Unless told otherwise, you must show work to get credit. There will be less partial credit given in this section. There are 90 points available, but we consider 10 of them as bonus. So skip ahead instead of getting stuck.
# 3. Matching Question (9 pts)
Consider the 2-dimensional differential equation
$$ \frac{d}{dx} \vec{x}(t) = A\vec{x}(t) $$
where $A$ is a $2$ by $2$ real matrix.
View sample2.txt
# Section 1: Straightforward Questions (80 + 10) pts
*Unless told otherwise, you must show work to get credit. There will be less partial credit given in this section. There are 90 points available, but we consider 10 of them as bonus. So skip ahead instead of getting stuck.*
# 3. Matching Question (9 pts)
Consider the 2-dimensional differential equation
[https://drive.google.com/open?id=0ByJJoFjQNbyRX2ltTG5VR01nRE0]
where A is a 2 by 2 real matrix.
View sample1.txt
# MT1-1: Potpourri – Good for the beginning... (8 points)
a. **True/False:**
i. The compiler turns C code into instructions ready to be run by a processor **True** **False**
ii. The instruction addiu $t0 $t1 100000 is a TAL instruction **True** **False**
iii. The linker computes the offset of all branch instructions **True** **False**
b. **Memory Management**
int global = 0;
int* func() {
You can’t perform that action at this time.