Skip to content

Instantly share code, notes, and snippets.

View jbaum98's full-sized avatar

Jake Waksbaum jbaum98

  • Galois
  • United States
View GitHub Profile
@jbaum98
jbaum98 / 0_reuse_code.js
Last active August 29, 2015 14:09
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@jbaum98
jbaum98 / config.log
Created December 2, 2014 18:31
building gcc
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.64. Invocation command line was
$ ../configure --with-native-system-header-dir=/usr/local/linuxbrew/include --with-build-time-tools=/usr/local/linuxbrew/Cellar/binutils/2.24/x86_64-unknown-linux-gnu/bin --with-boot-ldflags=-static-libstdc++ -static-libgcc -L/usr/local/linuxbrew/lib -Wl,--dynamic-linker=/usr/local/linuxbrew/opt/glibc/lib/ld-linux-x86-64.so.2 -Wl,-rpath,/usr/local/linuxbrew/lib --prefix=/usr/local/linuxbrew/Cellar/gcc/4.9.2 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-4.9 --with-gmp=/usr/local/linuxbrew/opt/gmp --with-mpfr=/usr/local/linuxbrew/opt/mpfr --with-mpc=/usr/local/linuxbrew/opt/libmpc --with-cloog=/usr/local/linuxbrew/opt/cloog --with-isl=/usr/local/linuxbrew/opt/isl --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --disable-werr
@jbaum98
jbaum98 / 01.configure
Last active August 29, 2015 14:10
Install GCC Linuxbrew
2014-12-02 20:35:31 -0500
../configure
--with-native-system-header-dir=/usr/local/linuxbrew/include
--with-build-time-tools=/usr/local/linuxbrew/Cellar/binutils/2.24/x86_64-unknown-linux-gnu/bin
--with-boot-ldflags=-static-libstdc++ -static-libgcc -L/usr/local/linuxbrew/lib -Wl,--dynamic-linker=/usr/local/linuxbrew/opt/glibc/lib/ld-linux-x86-64.so.2 -Wl,-rpath,/usr/local/linuxbrew/lib
--prefix=/usr/local/linuxbrew/Cellar/gcc/4.9.2
--enable-languages=c,c++,objc,obj-c++,fortran
--program-suffix=-4.9
--with-gmp=/usr/local/linuxbrew/opt/gmp
---
tags: History
---
DBQ
=====
Before You Write
----------------------
1. Read the question carefully. Understand that you are to answer question, not simply discuss the documents. Approach it as an essay question for which you **don't** have documents.
2. Make certain you understand what the question asks you to look for in the document.
<h1 id="dbq">DBQ</h1>
<h2 id="before-you-write">Before You Write</h2>
<ol>
<li>Read the question carefully. Understand that you are to answer question, not simply discuss the documents. Approach it as an essay question for which you <strong>don’t</strong> have documents.</li>
<li>Make certain you understand what the question asks you to look for in the document.</li>
<li>Establish potential categories <strong>before</strong> you examine the documents. If the question gives you categories, use those categories.</li>
@jbaum98
jbaum98 / README.md
Last active September 5, 2015 01:31 — forked from smileart/README.md
My ZSH Theme — Agnoster Mod

My modified fork of agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

Compatibility

# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
@jbaum98
jbaum98 / fibonacci-fast.c
Last active March 11, 2016 14:12
Fibonacci in different languages
#include <stdio.h>
int fib(int n) {
int twoBack = 0,
oneBack = 1,
nSoFar;
for (nSoFar = 1; nSoFar < n; nSoFar++) {
int oldOneBack = oneBack;
oneBack += twoBack;
{-# LANGUAGE RankNTypes, BangPatterns #-}
module FYSHuffle (fyShuffle) where
import Control.Monad
import Control.Monad.Primitive
import Control.Monad.Random
import Control.Monad.ST
import qualified Data.Vector.Generic as V
@jbaum98
jbaum98 / pandoc.css
Created July 10, 2017 17:03 — forked from killercup/pandoc.css
Add this to your Pandoc HTML documents using `--css pandoc.css` to make them look more awesome. (Tested with Markdown and LaTeX.)
/*
* I add this to html files generated with pandoc.
*/
html {
font-size: 100%;
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}