Skip to content

Instantly share code, notes, and snippets.

View bryangarza's full-sized avatar

Bryan Garza bryangarza

View GitHub Profile
public void getOff(String name)
{
for (int i = 0; i < names.length; i++)
{
if (name.equals(names[i]))
{
names[i] = null;
System.out.println(name + " left");
studentName = name;
activity = 2;
var myDataRef = new Firebase('https://icechat.firebaseio.com/');
var converter = new Showdown.converter();
var myBotRef = new Firebase('https://icechat-bot.firebaseio.com/');
var botName = 'guyatbooth';
var splittext = ''
botSayHello();
$('#messageInput').keypress(function (e) {
if (e.keyCode == 13) {
<html>
<head>
<script>
(function(d, t) {
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.src = 'http://assets.gfycat.com/js/gfyajax-0.517d.js';
s.parentNode.insertBefore(g, s);
}(document, 'script'));
</script>
public class Node
{
private int data;
private Node lp;
private Node rp;
public Node(int datax)
{
data = datax;
lp = null;
/**
* author: Bryan Garza
* assignment: hwk4; BSTRec
* date: 2014/04/30
*
* desc: Manipulate a binary search tree data structure
*
* compiles: yes
* works: yes
*
(require 'cl)
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.org/packages/") t)
(package-initialize)
(menu-bar-mode -1)
(global-linum-mode 1) ; display line numbers
(column-number-mode 1) ; display column and row of cursor in mode-line
import java.io.* ;
import java.util.*;
class TileMap {
/* Variables are static: there can only be one per class */
private static String initialQuestion =
"Would you like to tile an image in a file?\nIf yes, type a 'y', else type a 'n' ---------> ";
private static String fileQuestion = "Please enter the file name ---> ";
private static String askTilesAcross =
(ns array-program-clj.core)
(use 'clojure.java.io)
(defn repeat-line [n string]
(println (apply str (repeat n string))))
(defn read-image [rdr]
(next (line-seq rdr)))
Frank Cash 708
Jason Marmon 708
Bryan Garza 677
Dave Fontenot 618
Jason Liu 595
Krish Dholakiya 505
Ari VanIderstine 490
Iheanyi Ekechukwu 435
Chén Yè 407
Shane Wilton 396
Frank Cash 708
Jason Marmon 708
Bryan Garza 677
Dave Fontenot 618
Jason Liu 595
Krish Dholakiya 505
Ari VanIderstine 490
Iheanyi Ekechukwu 435
Chén Yè 407
Shane Wilton 396