Skip to content

Instantly share code, notes, and snippets.

View nelsonni's full-sized avatar
🤓
Researching

Nicholas Nelson nelsonni

🤓
Researching
View GitHub Profile
@nelsonni
nelsonni / gitpullremote
Created January 23, 2017 23:52
Pulling OSU-CS361-W17/project1 updates into your local git repository
# add a new remote URL
git remote add course https://github.com/OSU-CS361-W17/project1.git
# pull down changes in the remote URL into your local repo
git pull course
@nelsonni
nelsonni / CallbackUtil.java
Created November 25, 2016 22:21
Java method for examining IntelliJ PsiClass object for Constant Integer Fields
/**
* @author Nicholas Nelson <nelsonni@oregonstate.edu> Created on on 7/28/16.
*/
public class CallbackUtil {
// ...
/**
* Examines all PsiFields within a target PsiClass and returns an array of Integer-type fields ordered by
* their numerical values.
*
@nelsonni
nelsonni / PKGBUILD
Created March 25, 2016 20:47
Fixes to ttf-montserrat PKGBUILD file to allow Makepkg to successfully build from AUR
# Contributor: scolobb <scolobb at colimite fr> #THX for the mirror
# Maintainer: EEva <eeva+aur at marvid fr>
pkgname=ttf-montserrat
provides=('ttf-montserrat')
pkgdesc="Gorgeous geometric font with extended latin support (Regular, Alternates, Subrayada)"
url="http://montserrat.zkysky.com.ar/en"
pkgver=1.0
pkgrel=1
arch=('i686' 'x86_64')
@nelsonni
nelsonni / HW5.pl
Last active August 29, 2015 14:22
HW5.pl
% Nicholas Nelson (931-242-585)
%
% CS 381: Homework 5
% 6.2.2015
%
% Here are a bunch of facts describing the Simpson's family tree.
% Don't change them!
female(mona).
female(jackie).
@nelsonni
nelsonni / HW4.hs
Created May 21, 2015 22:24
HW4.hs
-- Hugh McDonald (931-930-585)
-- Nick Nelson (931-242-585)
-- Faith Steltzer (931-811-544)
--
-- CS 381: Homework 4
-- 5.21.15
--
module HW4 where
import MiniMiniLogo
-- Hugh McDonald (931-930-585)
-- Nick Nelson (931-242-585)
--
-- CS 381: Homework 3
-- 5.5.2015
module HW3 where
import Data.Maybe
@nelsonni
nelsonni / HW2.hs
Last active August 29, 2015 14:19
CS381 Homework #2
-- Hugh McDonald (mcdonalh)
-- Faith Steltzer (steltzef)
-- Nick Nelson (nelsonni)
--
-- CS 381: Homework 2
-- 4.23.15
module HW2 where
import Prelude hiding (Num)